Compare commits
2 Commits
a27e3894a0
...
64e48dd3ce
Author | SHA1 | Date | |
---|---|---|---|
64e48dd3ce | |||
cbbd8ed4ba |
module
packs_src
competences-creatures
competencecreature_Attaque_18wcei5hlEInsBFO.ymlcompetencecreature_Bouclier_Lourd_QGULMUoC9JXFze0r.ymlcompetencecreature_Bras_Galet_WsYnwR8GcOxfuCI0.ymlcompetencecreature_Corps___Corps_c0I93Q53i4ZmxpyT.ymlcompetencecreature_Crocs_db8E8HwROw1ZcwRR.ymlcompetencecreature_Dague_qilRzXpVaGceNmQp.ymlcompetencecreature_Ep_e_B_tarde_gPOQd9NI7AFH0whX.ymlcompetencecreature_Esquive_CYpxxf1uTa78NWR9.ymlcompetencecreature_Parade_3Crwg8cx2JOb697T.ymlcompetencecreature_Possession_9u16zxXRurCtxuOX.ymlcompetencecreature_Possession_duVgxI3Cdko0KzAj.ymlcompetencecreature_Tentacules_D9cBJ3EJPYLnABiJ.ymlcompetencecreature_Tron_onneuse_h9ASt4vrvEgxfj7j.yml
competences-entites
competencecreature_Bec_d5SZ09sFaG3cL2Rg.ymlcompetencecreature_Esquive_0Ms9iKxqigNNpZEx.ymlcompetencecreature_Grande_morsure_lDZ3qUPKN35ob5TH.ymlcompetencecreature_Grandes_griffes_6eWCVDYLXXO1Z48D.ymlcompetencecreature_Griffes_9Y83OsQgeyR5oCdH.ymlcompetencecreature_Morsure_j1xHCzfIeYKgXxoH.ymlcompetencecreature_Possession_wDHR5UHWq568lfGa.yml
@ -4,6 +4,7 @@ import { SystemCompendiums } from "../settings/system-compendiums.js";
|
|||||||
import { RdDBaseActorReve } from "../actor/base-actor-reve.js";
|
import { RdDBaseActorReve } from "../actor/base-actor-reve.js";
|
||||||
import { Grammar } from "../grammar.js";
|
import { Grammar } from "../grammar.js";
|
||||||
import { Misc } from "../misc.js";
|
import { Misc } from "../misc.js";
|
||||||
|
import { ENTITE_INCARNE, ENTITE_NONINCARNE } from "../constants.js";
|
||||||
|
|
||||||
/************************************************************************************/
|
/************************************************************************************/
|
||||||
// Some internal test strings
|
// Some internal test strings
|
||||||
@ -291,17 +292,13 @@ export class RdDStatBlockParser {
|
|||||||
// Remove all leading and trailing spaces
|
// Remove all leading and trailing spaces
|
||||||
statString = statString.trim();
|
statString = statString.trim();
|
||||||
|
|
||||||
let actorType = "personnage";
|
|
||||||
// TODO: check for entite
|
// TODO: check for entite
|
||||||
let perception = XRegExp.exec(statString, XRegExp("perception\\s+(?<value>\\d+)", 'giu'))
|
let actorType = RdDStatBlockParser.parseActorType(statString);
|
||||||
if (perception?.value) {
|
|
||||||
actorType = "creature";
|
|
||||||
}
|
|
||||||
|
|
||||||
// Now start carac
|
// Now start carac
|
||||||
let actorData = foundry.utils.deepClone(game.model.Actor[actorType]);
|
let actorData = foundry.utils.deepClone(game.model.Actor[actorType]);
|
||||||
for (let key in game.model.Actor.personnage.carac) {
|
for (let key in actorData.carac) {
|
||||||
let caracDef = game.model.Actor.personnage.carac[key];
|
let caracDef = actorData.carac[key];
|
||||||
// Parse the stat string for each caracteristic
|
// Parse the stat string for each caracteristic
|
||||||
let carac = XRegExp.exec(statString, XRegExp(caracDef.label + "\\s+(?<value>\\d+)", 'giu'));
|
let carac = XRegExp.exec(statString, XRegExp(caracDef.label + "\\s+(?<value>\\d+)", 'giu'));
|
||||||
if (carac?.value) {
|
if (carac?.value) {
|
||||||
@ -310,29 +307,13 @@ export class RdDStatBlockParser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If creature we need to setup additionnal fields
|
// If creature we need to setup additionnal fields
|
||||||
if (actorType == "creature") {
|
switch (actorType) {
|
||||||
let plusDom = XRegExp.exec(statString, XRegExp("\\+dom\\s+(?<value>\\+\\d+)", 'giu'));
|
case "creature":
|
||||||
if (plusDom?.values) {
|
RdDStatBlockParser.parseCreature(statString, actorData)
|
||||||
actorData.attributs.plusdom.value = Number(plusDom.value);
|
break
|
||||||
}
|
case "entite":
|
||||||
let protection = XRegExp.exec(statString, XRegExp("protection\\s+(?<value>\\d+)", 'giu'));
|
RdDStatBlockParser.parseEntite(statString, actorData)
|
||||||
if (protection?.value) {
|
break
|
||||||
actorData.attributs.protection.value = Number(protection.value);
|
|
||||||
}
|
|
||||||
let endurance = XRegExp.exec(statString, XRegExp("endurance\\s+(?<value>\\d+)", 'giu'));
|
|
||||||
if (endurance?.value) {
|
|
||||||
actorData.sante.endurance.value = Number(endurance.value);
|
|
||||||
actorData.sante.endurance.max = Number(endurance.value);
|
|
||||||
}
|
|
||||||
let vie = XRegExp.exec(statString, XRegExp("vie\\s+(?<value>\\d+)", 'giu'));
|
|
||||||
if (vie.value) {
|
|
||||||
actorData.sante.vie.value = Number(vie.value);
|
|
||||||
actorData.sante.vie.max = Number(vie.value);
|
|
||||||
}
|
|
||||||
let vitesse = XRegExp.exec(statString, XRegExp("vitesse\\s+(?<value>[\\d\\/]+)", 'giu'));
|
|
||||||
if (vitesse?.value) {
|
|
||||||
actorData.attributs.vitesse.value = vitesse.value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let items = [];
|
let items = [];
|
||||||
@ -418,10 +399,10 @@ export class RdDStatBlockParser {
|
|||||||
items.push(sort);
|
items.push(sort);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (hautRevant) {
|
if (hautRevant) {
|
||||||
let tetes = await SystemCompendiums.getWorldOrCompendiumItems("tete", "tetes-de-dragon-pour-tous-personnages")
|
let tetes = await SystemCompendiums.getWorldOrCompendiumItems("tete", "tetes-de-dragon-pour-tous-personnages")
|
||||||
let donHR = tetes.find(t => Grammar.equalsInsensitive(t.name, "Don de Haut-Rêve"))
|
let donHR = tetes.find(t => Grammar.equalsInsensitive(t.name, "Don de Haut-Rêve"))
|
||||||
if (donHR) {
|
if (donHR) {
|
||||||
items.push(donHR.toObject());
|
items.push(donHR.toObject());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -474,6 +455,63 @@ export class RdDStatBlockParser {
|
|||||||
console.log(actorData);
|
console.log(actorData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static parseCreature(statString, actorData) {
|
||||||
|
let plusDom = XRegExp.exec(statString, XRegExp("\\+dom\\s+(?<value>\\+\\d+)", 'giu'));
|
||||||
|
if (plusDom?.values) {
|
||||||
|
actorData.attributs.plusdom.value = Number(plusDom.value);
|
||||||
|
}
|
||||||
|
let protection = XRegExp.exec(statString, XRegExp("protection\\s+(?<value>\\d+)", 'giu'));
|
||||||
|
if (protection?.value) {
|
||||||
|
actorData.attributs.protection.value = Number(protection.value);
|
||||||
|
}
|
||||||
|
let endurance = XRegExp.exec(statString, XRegExp("endurance\\s+(?<value>\\d+)", 'giu'));
|
||||||
|
if (endurance?.value) {
|
||||||
|
actorData.sante.endurance.value = Number(endurance.value);
|
||||||
|
actorData.sante.endurance.max = Number(endurance.value);
|
||||||
|
}
|
||||||
|
let vie = XRegExp.exec(statString, XRegExp("vie\\s+(?<value>\\d+)", 'giu'));
|
||||||
|
if (vie.value) {
|
||||||
|
actorData.sante.vie.value = Number(vie.value);
|
||||||
|
actorData.sante.vie.max = Number(vie.value);
|
||||||
|
}
|
||||||
|
let vitesse = XRegExp.exec(statString, XRegExp("vitesse\\s+(?<value>[\\d\\/]+)", 'giu'));
|
||||||
|
if (vitesse?.value) {
|
||||||
|
actorData.attributs.vitesse.value = vitesse.value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static parseEntite(statString, actorData) {
|
||||||
|
let plusDom = XRegExp.exec(statString, XRegExp("\\+dom\\s+(?<value>\\+\\d+)", 'giu'));
|
||||||
|
if (plusDom?.values) {
|
||||||
|
actorData.attributs.plusdom.value = Number(plusDom.value);
|
||||||
|
}
|
||||||
|
|
||||||
|
actorData.definition.categorieentite = 'cauchemar'
|
||||||
|
actorData.definition.typeentite = ENTITE_NONINCARNE
|
||||||
|
let endurance = XRegExp.exec(statString, XRegExp("endurance\\s+(?<value>\\d+)", 'giu'));
|
||||||
|
if (endurance?.value) {
|
||||||
|
actorData.sante.endurance.value = Number(endurance.value);
|
||||||
|
actorData.sante.endurance.max = Number(endurance.value);
|
||||||
|
actorData.definition.typeentite = ENTITE_INCARNE
|
||||||
|
}
|
||||||
|
let vitesse = XRegExp.exec(statString, XRegExp("vitesse\\s+(?<value>[\\d\\/]+)", 'giu'));
|
||||||
|
if (vitesse?.value) {
|
||||||
|
actorData.attributs.vitesse.value = vitesse.value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static parseActorType(statString) {
|
||||||
|
let niveau = XRegExp.exec(statString, XRegExp("Niveau\\s+(?<value>[\\+\\-]?\\d+)", 'giu'))
|
||||||
|
let perception = XRegExp.exec(statString, XRegExp("perception\\s+(?<value>\\d+)", 'giu'))
|
||||||
|
if (perception?.value) {
|
||||||
|
return "creature"
|
||||||
|
}
|
||||||
|
if (niveau?.value) {
|
||||||
|
return "entite"
|
||||||
|
}
|
||||||
|
return "personnage"
|
||||||
|
}
|
||||||
|
|
||||||
static extractName(actorType, statString) {
|
static extractName(actorType, statString) {
|
||||||
switch (actorType) {
|
switch (actorType) {
|
||||||
case "personnage": return RdDStatBlockParser.extractNamePersonnage(statString);
|
case "personnage": return RdDStatBlockParser.extractNamePersonnage(statString);
|
||||||
|
@ -32,7 +32,7 @@ export class SystemCompendiums extends FormApplication {
|
|||||||
compendium: compendium,
|
compendium: compendium,
|
||||||
default: SystemCompendiums._getDefaultCompendium(compendium),
|
default: SystemCompendiums._getDefaultCompendium(compendium),
|
||||||
setting: SystemCompendiums._getSettingCompendium(compendium)
|
setting: SystemCompendiums._getSettingCompendium(compendium)
|
||||||
});
|
})
|
||||||
|
|
||||||
game.settings.register(SYSTEM_RDD, definition.setting, {
|
game.settings.register(SYSTEM_RDD, definition.setting, {
|
||||||
name: definition.label,
|
name: definition.label,
|
||||||
@ -40,8 +40,8 @@ export class SystemCompendiums extends FormApplication {
|
|||||||
scope: "world",
|
scope: "world",
|
||||||
config: false,
|
config: false,
|
||||||
type: String
|
type: String
|
||||||
});
|
})
|
||||||
});
|
})
|
||||||
|
|
||||||
game.settings.registerMenu(SYSTEM_RDD, "compendium-settings", {
|
game.settings.registerMenu(SYSTEM_RDD, "compendium-settings", {
|
||||||
name: "Choisir les compendiums système",
|
name: "Choisir les compendiums système",
|
||||||
@ -71,16 +71,18 @@ export class SystemCompendiums extends FormApplication {
|
|||||||
|
|
||||||
static async getCompetences(actorType) {
|
static async getCompetences(actorType) {
|
||||||
switch (actorType ?? 'personnage') {
|
switch (actorType ?? 'personnage') {
|
||||||
case 'personnage': return await SystemCompendiums.getWorldOrCompendiumItems('competence', 'competences');
|
case 'personnage':
|
||||||
case 'creature': return await SystemCompendiums.getWorldOrCompendiumItems('competencecreature', 'competences-creatures');
|
return await SystemCompendiums.getWorldOrCompendiumItems('competence', 'competences')
|
||||||
case 'entite': return await SystemCompendiums.getWorldOrCompendiumItems('competencecreature', 'competences-entites');
|
case 'entite':
|
||||||
|
case 'creature':
|
||||||
|
return await SystemCompendiums.getWorldOrCompendiumItems('competencecreature', 'competences-creatures')
|
||||||
case 'vehicule': return [];
|
case 'vehicule': return [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
static async getWorldOrCompendiumItems(itemType, compendium) {
|
static async getWorldOrCompendiumItems(itemType, compendium) {
|
||||||
let items = game.items.filter(it => it.type == itemType);
|
let items = game.items.filter(it => it.type == itemType)
|
||||||
if (compendium) {
|
if (compendium) {
|
||||||
const ids = items.map(it => it.id);
|
const ids = items.map(it => it.id);
|
||||||
const names = items.map(it => it.name.toLowerCase());
|
const names = items.map(it => it.name.toLowerCase());
|
||||||
@ -284,7 +286,7 @@ export class CompendiumTableHelpers {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
static async tableRowToChatMessage(row, type, options = {showSource: true}) {
|
static async tableRowToChatMessage(row, type, options = { showSource: true }) {
|
||||||
if (!row) {
|
if (!row) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -6,17 +6,16 @@ effects: []
|
|||||||
system:
|
system:
|
||||||
description: ''
|
description: ''
|
||||||
descriptionmj: ''
|
descriptionmj: ''
|
||||||
carac_value: 0
|
carac_value: 10
|
||||||
niveau: 0
|
niveau: 1
|
||||||
default_diffLibre: 0
|
default_diffLibre: -2
|
||||||
categorie: generale
|
categorie: melee
|
||||||
categorie_parade: ''
|
categorie_parade: ''
|
||||||
iscombat: true
|
iscombat: true
|
||||||
isnaturelle: true
|
isnaturelle: true
|
||||||
ispossession: false
|
ispossession: false
|
||||||
dommages: 0
|
dommages: 0
|
||||||
mortalite: mortel
|
mortalite: mortel
|
||||||
carac-value: null
|
|
||||||
isparade: false
|
isparade: false
|
||||||
ownership:
|
ownership:
|
||||||
default: 0
|
default: 0
|
@ -6,17 +6,16 @@ effects: []
|
|||||||
system:
|
system:
|
||||||
description: ''
|
description: ''
|
||||||
descriptionmj: ''
|
descriptionmj: ''
|
||||||
carac_value: 0
|
carac_value: 10
|
||||||
niveau: 0
|
niveau: 1
|
||||||
default_diffLibre: 0
|
default_diffLibre: -2
|
||||||
categorie: ''
|
categorie: melee
|
||||||
categorie_parade: boucliers
|
categorie_parade: boucliers
|
||||||
iscombat: true
|
iscombat: true
|
||||||
isnaturelle: true
|
isnaturelle: true
|
||||||
ispossession: false
|
ispossession: false
|
||||||
dommages: 0
|
dommages: 0
|
||||||
mortalite: mortel
|
mortalite: mortel
|
||||||
carac-value: null
|
|
||||||
isparade: true
|
isparade: true
|
||||||
ownership:
|
ownership:
|
||||||
default: 0
|
default: 0
|
@ -1,22 +1,21 @@
|
|||||||
_id: WsYnwR8GcOxfuCI0
|
_id: WsYnwR8GcOxfuCI0
|
||||||
name: Bras-Galet
|
name: Bras-Galet
|
||||||
type: competencecreature
|
type: competencecreature
|
||||||
img: systems/foundryvtt-reve-de-dragon/icons/competence_course.webp
|
img: systems/foundryvtt-reve-de-dragon/icons/compcreature-pierretenue.webp
|
||||||
effects: []
|
effects: []
|
||||||
system:
|
system:
|
||||||
description: ''
|
description: ''
|
||||||
descriptionmj: ''
|
descriptionmj: ''
|
||||||
carac_value: 0
|
carac_value: 10
|
||||||
niveau: 0
|
niveau: 1
|
||||||
default_diffLibre: 0
|
default_diffLibre: -2
|
||||||
categorie: ''
|
categorie: melee
|
||||||
categorie_parade: ''
|
categorie_parade: ''
|
||||||
iscombat: true
|
iscombat: true
|
||||||
isnaturelle: true
|
isnaturelle: true
|
||||||
ispossession: false
|
ispossession: false
|
||||||
dommages: 1
|
dommages: 1
|
||||||
mortalite: mortel
|
mortalite: mortel
|
||||||
carac-value: null
|
|
||||||
isparade: false
|
isparade: false
|
||||||
ownership:
|
ownership:
|
||||||
default: 0
|
default: 0
|
@ -6,10 +6,10 @@ effects: []
|
|||||||
system:
|
system:
|
||||||
description: ''
|
description: ''
|
||||||
descriptionmj: ''
|
descriptionmj: ''
|
||||||
carac_value: 0
|
carac_value: 10
|
||||||
niveau: 0
|
niveau: 1
|
||||||
default_diffLibre: 0
|
default_diffLibre: -2
|
||||||
categorie: ''
|
categorie: melee
|
||||||
categorie_parade: sans-armes
|
categorie_parade: sans-armes
|
||||||
iscombat: true
|
iscombat: true
|
||||||
isnaturelle: true
|
isnaturelle: true
|
@ -6,17 +6,16 @@ effects: []
|
|||||||
system:
|
system:
|
||||||
description: ''
|
description: ''
|
||||||
descriptionmj: ''
|
descriptionmj: ''
|
||||||
carac_value: 0
|
carac_value: 10
|
||||||
niveau: 0
|
niveau: 1
|
||||||
default_diffLibre: 0
|
default_diffLibre: -2
|
||||||
categorie: ''
|
categorie: melee
|
||||||
categorie_parade: ''
|
categorie_parade: ''
|
||||||
iscombat: true
|
iscombat: true
|
||||||
isnaturelle: true
|
isnaturelle: true
|
||||||
ispossession: false
|
ispossession: false
|
||||||
dommages: 1
|
dommages: 1
|
||||||
mortalite: mortel
|
mortalite: mortel
|
||||||
carac-value: null
|
|
||||||
isparade: false
|
isparade: false
|
||||||
ownership:
|
ownership:
|
||||||
default: 0
|
default: 0
|
@ -6,9 +6,9 @@ effects: []
|
|||||||
system:
|
system:
|
||||||
description: ''
|
description: ''
|
||||||
descriptionmj: ''
|
descriptionmj: ''
|
||||||
carac_value: 0
|
carac_value: 10
|
||||||
niveau: 0
|
niveau: 1
|
||||||
default_diffLibre: 0
|
default_diffLibre: -2
|
||||||
categorie: melee
|
categorie: melee
|
||||||
categorie_parade: dagues
|
categorie_parade: dagues
|
||||||
iscombat: true
|
iscombat: true
|
||||||
|
@ -6,17 +6,16 @@ effects: []
|
|||||||
system:
|
system:
|
||||||
description: ''
|
description: ''
|
||||||
descriptionmj: ''
|
descriptionmj: ''
|
||||||
carac_value: 0
|
carac_value: 10
|
||||||
niveau: 0
|
niveau: 1
|
||||||
default_diffLibre: 0
|
default_diffLibre: -2
|
||||||
categorie: ''
|
categorie: melee
|
||||||
categorie_parade: epees-lourdes
|
categorie_parade: epees-lourdes
|
||||||
iscombat: true
|
iscombat: true
|
||||||
isnaturelle: true
|
isnaturelle: false
|
||||||
ispossession: false
|
ispossession: false
|
||||||
dommages: 4
|
dommages: 4
|
||||||
mortalite: mortel
|
mortalite: mortel
|
||||||
carac-value: null
|
|
||||||
isparade: true
|
isparade: true
|
||||||
ownership:
|
ownership:
|
||||||
default: 0
|
default: 0
|
@ -6,8 +6,8 @@ effects: []
|
|||||||
system:
|
system:
|
||||||
description: ''
|
description: ''
|
||||||
descriptionmj: ''
|
descriptionmj: ''
|
||||||
carac_value: 0
|
carac_value: 10
|
||||||
niveau: 0
|
niveau: 1
|
||||||
default_diffLibre: 0
|
default_diffLibre: 0
|
||||||
categorie: generale
|
categorie: generale
|
||||||
categorie_parade: ''
|
categorie_parade: ''
|
||||||
|
@ -6,17 +6,16 @@ effects: []
|
|||||||
system:
|
system:
|
||||||
description: ''
|
description: ''
|
||||||
descriptionmj: ''
|
descriptionmj: ''
|
||||||
carac_value: 0
|
carac_value: 10
|
||||||
niveau: 0
|
niveau: 1
|
||||||
default_diffLibre: 0
|
default_diffLibre: -2
|
||||||
categorie: ''
|
categorie: melee
|
||||||
categorie_parade: ''
|
categorie_parade: boucliers
|
||||||
iscombat: false
|
iscombat: true
|
||||||
isnaturelle: true
|
isnaturelle: true
|
||||||
ispossession: false
|
ispossession: false
|
||||||
dommages: 0
|
dommages: 0
|
||||||
mortalite: mortel
|
mortalite: mortel
|
||||||
carac-value: null
|
|
||||||
isparade: false
|
isparade: false
|
||||||
ownership:
|
ownership:
|
||||||
default: 0
|
default: 0
|
@ -7,7 +7,7 @@ system:
|
|||||||
descriptionmj: ''
|
descriptionmj: ''
|
||||||
carac_value: 14
|
carac_value: 14
|
||||||
niveau: 2
|
niveau: 2
|
||||||
default_diffLibre: 0
|
default_diffLibre: -4
|
||||||
categorie: draconic
|
categorie: draconic
|
||||||
categorie_parade: ''
|
categorie_parade: ''
|
||||||
iscombat: true
|
iscombat: true
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
name: Possession
|
|
||||||
type: competencecreature
|
|
||||||
img: systems/foundryvtt-reve-de-dragon/icons/entites/possession.webp
|
|
||||||
effects: []
|
|
||||||
system:
|
|
||||||
description: <p>L'entité tente de prendre possession du corps de sa victime.</p>
|
|
||||||
descriptionmj: ''
|
|
||||||
carac_value: 14
|
|
||||||
niveau: 2
|
|
||||||
default_diffLibre: 0
|
|
||||||
categorie: draconic
|
|
||||||
categorie_parade: ''
|
|
||||||
iscombat: true
|
|
||||||
isnaturelle: true
|
|
||||||
ispossession: true
|
|
||||||
dommages: 0
|
|
||||||
mortalite: mortel
|
|
||||||
isparade: false
|
|
||||||
_id: duVgxI3Cdko0KzAj
|
|
||||||
folder: null
|
|
||||||
sort: 0
|
|
||||||
ownership:
|
|
||||||
default: 0
|
|
||||||
_stats:
|
|
||||||
systemId: foundryvtt-reve-de-dragon
|
|
||||||
systemVersion: 12.0.22
|
|
||||||
coreVersion: '12.331'
|
|
||||||
_key: '!items!duVgxI3Cdko0KzAj'
|
|
||||||
|
|
@ -6,10 +6,10 @@ effects: []
|
|||||||
system:
|
system:
|
||||||
description: <p>Attaque ou parade avec un tentacule.</p>
|
description: <p>Attaque ou parade avec un tentacule.</p>
|
||||||
descriptionmj: ''
|
descriptionmj: ''
|
||||||
carac_value: 0
|
carac_value: 10
|
||||||
niveau: 0
|
niveau: 1
|
||||||
default_diffLibre: 0
|
default_diffLibre: -2
|
||||||
categorie: ''
|
categorie: melee
|
||||||
categorie_parade: boucliers
|
categorie_parade: boucliers
|
||||||
iscombat: true
|
iscombat: true
|
||||||
isnaturelle: true
|
isnaturelle: true
|
@ -6,9 +6,9 @@ effects: []
|
|||||||
system:
|
system:
|
||||||
description: ''
|
description: ''
|
||||||
descriptionmj: ''
|
descriptionmj: ''
|
||||||
carac_value: 0
|
carac_value: 10
|
||||||
niveau: 0
|
niveau: 1
|
||||||
default_diffLibre: 0
|
default_diffLibre: -2
|
||||||
categorie: melee
|
categorie: melee
|
||||||
categorie_parade: ''
|
categorie_parade: ''
|
||||||
iscombat: true
|
iscombat: true
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
_id: d5SZ09sFaG3cL2Rg
|
|
||||||
name: Bec
|
|
||||||
type: competencecreature
|
|
||||||
img: systems/foundryvtt-reve-de-dragon/icons/compcreature-beak.webp
|
|
||||||
effects: []
|
|
||||||
system:
|
|
||||||
description: ''
|
|
||||||
descriptionmj: ''
|
|
||||||
carac_value: 0
|
|
||||||
niveau: 0
|
|
||||||
default_diffLibre: 0
|
|
||||||
categorie: ''
|
|
||||||
categorie_parade: ''
|
|
||||||
iscombat: true
|
|
||||||
isnaturelle: true
|
|
||||||
ispossession: false
|
|
||||||
dommages: 0
|
|
||||||
mortalite: mortel
|
|
||||||
isparade: false
|
|
||||||
ownership:
|
|
||||||
default: 0
|
|
||||||
folder: null
|
|
||||||
sort: 0
|
|
||||||
_stats:
|
|
||||||
systemId: foundryvtt-reve-de-dragon
|
|
||||||
systemVersion: 12.0.22
|
|
||||||
coreVersion: '12.331'
|
|
||||||
_key: '!items!d5SZ09sFaG3cL2Rg'
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
|||||||
_id: 0Ms9iKxqigNNpZEx
|
|
||||||
name: Esquive
|
|
||||||
type: competencecreature
|
|
||||||
img: systems/foundryvtt-reve-de-dragon/icons/competence_esquive.webp
|
|
||||||
effects: []
|
|
||||||
system:
|
|
||||||
description: ''
|
|
||||||
descriptionmj: ''
|
|
||||||
carac_value: 0
|
|
||||||
niveau: 0
|
|
||||||
default_diffLibre: 0
|
|
||||||
categorie: ''
|
|
||||||
categorie_parade: ''
|
|
||||||
iscombat: false
|
|
||||||
isnaturelle: true
|
|
||||||
ispossession: false
|
|
||||||
dommages: 0
|
|
||||||
mortalite: mortel
|
|
||||||
isparade: false
|
|
||||||
ownership:
|
|
||||||
default: 0
|
|
||||||
folder: null
|
|
||||||
sort: 0
|
|
||||||
_stats:
|
|
||||||
systemId: foundryvtt-reve-de-dragon
|
|
||||||
systemVersion: 12.0.22
|
|
||||||
coreVersion: '12.331'
|
|
||||||
_key: '!items!0Ms9iKxqigNNpZEx'
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
|||||||
_id: lDZ3qUPKN35ob5TH
|
|
||||||
name: Grande morsure
|
|
||||||
type: competencecreature
|
|
||||||
img: systems/foundryvtt-reve-de-dragon/icons/compcreature-morsure.webp
|
|
||||||
effects: []
|
|
||||||
system:
|
|
||||||
description: ''
|
|
||||||
descriptionmj: ''
|
|
||||||
carac_value: 0
|
|
||||||
niveau: 0
|
|
||||||
default_diffLibre: 0
|
|
||||||
categorie: ''
|
|
||||||
categorie_parade: ''
|
|
||||||
iscombat: true
|
|
||||||
isnaturelle: true
|
|
||||||
ispossession: false
|
|
||||||
dommages: 2
|
|
||||||
mortalite: mortel
|
|
||||||
isparade: false
|
|
||||||
ownership:
|
|
||||||
default: 0
|
|
||||||
folder: null
|
|
||||||
sort: 0
|
|
||||||
_stats:
|
|
||||||
systemId: foundryvtt-reve-de-dragon
|
|
||||||
systemVersion: 12.0.22
|
|
||||||
coreVersion: '12.331'
|
|
||||||
_key: '!items!lDZ3qUPKN35ob5TH'
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
|||||||
_id: 6eWCVDYLXXO1Z48D
|
|
||||||
name: Grandes griffes
|
|
||||||
type: competencecreature
|
|
||||||
img: systems/foundryvtt-reve-de-dragon/icons/compcreature-griffes.webp
|
|
||||||
effects: []
|
|
||||||
system:
|
|
||||||
description: ''
|
|
||||||
descriptionmj: ''
|
|
||||||
carac_value: 0
|
|
||||||
niveau: 0
|
|
||||||
default_diffLibre: 0
|
|
||||||
categorie: ''
|
|
||||||
categorie_parade: sans-armes
|
|
||||||
iscombat: true
|
|
||||||
isnaturelle: true
|
|
||||||
ispossession: false
|
|
||||||
dommages: 2
|
|
||||||
mortalite: mortel
|
|
||||||
isparade: false
|
|
||||||
ownership:
|
|
||||||
default: 0
|
|
||||||
folder: null
|
|
||||||
sort: 0
|
|
||||||
_stats:
|
|
||||||
systemId: foundryvtt-reve-de-dragon
|
|
||||||
systemVersion: 12.0.22
|
|
||||||
coreVersion: '12.331'
|
|
||||||
_key: '!items!6eWCVDYLXXO1Z48D'
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
|||||||
_id: 9Y83OsQgeyR5oCdH
|
|
||||||
name: Griffes
|
|
||||||
type: competencecreature
|
|
||||||
img: systems/foundryvtt-reve-de-dragon/icons/compcreature-griffes.webp
|
|
||||||
effects: []
|
|
||||||
system:
|
|
||||||
description: ''
|
|
||||||
descriptionmj: ''
|
|
||||||
carac_value: 0
|
|
||||||
niveau: 0
|
|
||||||
default_diffLibre: 0
|
|
||||||
categorie: ''
|
|
||||||
categorie_parade: sans-armes
|
|
||||||
iscombat: true
|
|
||||||
isnaturelle: true
|
|
||||||
ispossession: false
|
|
||||||
dommages: 1
|
|
||||||
mortalite: mortel
|
|
||||||
carac-value: null
|
|
||||||
isparade: false
|
|
||||||
ownership:
|
|
||||||
default: 0
|
|
||||||
folder: null
|
|
||||||
sort: 0
|
|
||||||
_stats:
|
|
||||||
systemId: foundryvtt-reve-de-dragon
|
|
||||||
systemVersion: 12.0.22
|
|
||||||
coreVersion: '12.331'
|
|
||||||
_key: '!items!9Y83OsQgeyR5oCdH'
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
|||||||
_id: j1xHCzfIeYKgXxoH
|
|
||||||
name: Morsure
|
|
||||||
type: competencecreature
|
|
||||||
img: systems/foundryvtt-reve-de-dragon/icons/compcreature-morsure.webp
|
|
||||||
effects: []
|
|
||||||
system:
|
|
||||||
description: ''
|
|
||||||
descriptionmj: ''
|
|
||||||
carac_value: 0
|
|
||||||
niveau: 0
|
|
||||||
default_diffLibre: 0
|
|
||||||
categorie: ''
|
|
||||||
categorie_parade: ''
|
|
||||||
iscombat: true
|
|
||||||
isnaturelle: true
|
|
||||||
ispossession: false
|
|
||||||
dommages: 1
|
|
||||||
mortalite: mortel
|
|
||||||
isparade: false
|
|
||||||
ownership:
|
|
||||||
default: 0
|
|
||||||
folder: null
|
|
||||||
sort: 0
|
|
||||||
_stats:
|
|
||||||
systemId: foundryvtt-reve-de-dragon
|
|
||||||
systemVersion: 12.0.22
|
|
||||||
coreVersion: '12.331'
|
|
||||||
_key: '!items!j1xHCzfIeYKgXxoH'
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
|||||||
name: Possession
|
|
||||||
type: competencecreature
|
|
||||||
img: systems/foundryvtt-reve-de-dragon/icons/entites/possession.webp
|
|
||||||
effects: []
|
|
||||||
system:
|
|
||||||
description: <p>L'entité tente de prendre possession du corps de sa victime.</p>
|
|
||||||
descriptionmj: ''
|
|
||||||
carac_value: 14
|
|
||||||
niveau: 2
|
|
||||||
default_diffLibre: -4
|
|
||||||
categorie: melee
|
|
||||||
categorie_parade: ''
|
|
||||||
iscombat: true
|
|
||||||
isnaturelle: true
|
|
||||||
ispossession: true
|
|
||||||
dommages: 0
|
|
||||||
mortalite: mortel
|
|
||||||
isparade: false
|
|
||||||
ownership:
|
|
||||||
default: 0
|
|
||||||
folder: null
|
|
||||||
sort: 0
|
|
||||||
_id: wDHR5UHWq568lfGa
|
|
||||||
_stats:
|
|
||||||
systemId: foundryvtt-reve-de-dragon
|
|
||||||
systemVersion: 12.0.22
|
|
||||||
coreVersion: '12.331'
|
|
||||||
_key: '!items!wDHR5UHWq568lfGa'
|
|
||||||
|
|
14
system.json
14
system.json
@ -115,19 +115,6 @@
|
|||||||
},
|
},
|
||||||
"flags": {}
|
"flags": {}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "competences-entites",
|
|
||||||
"label": "Compétences des Entités",
|
|
||||||
"system": "foundryvtt-reve-de-dragon",
|
|
||||||
"path": "packs/competences-entites",
|
|
||||||
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
|
|
||||||
"type": "Item",
|
|
||||||
"ownership": {
|
|
||||||
"PLAYER": "NONE",
|
|
||||||
"ASSISTANT": "OWNER"
|
|
||||||
},
|
|
||||||
"flags": {}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "sorts-oniros",
|
"name": "sorts-oniros",
|
||||||
"label": "Sorts d'Oniros",
|
"label": "Sorts d'Oniros",
|
||||||
@ -541,7 +528,6 @@
|
|||||||
"entites",
|
"entites",
|
||||||
"faune-flore-mineraux",
|
"faune-flore-mineraux",
|
||||||
"competences-creatures",
|
"competences-creatures",
|
||||||
"competences-entites",
|
|
||||||
"maladies-et-poisons"
|
"maladies-et-poisons"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user