This commit is contained in:
LeRatierBretonnien 2020-06-22 10:18:03 +02:00
parent 259a7577e8
commit 30a9f08f73
9 changed files with 259 additions and 53 deletions

View File

@ -27,18 +27,20 @@ long_line_behaviour=1
long_line_column=72 long_line_column=72
[files] [files]
current_page=7 current_page=4
FILE_NAME_0=3953;JSON;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplate.json;0;2 FILE_NAME_0=4422;JSON;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplate.json;0;2
FILE_NAME_1=2644;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Factor-sheet.js;0;2 FILE_NAME_1=2644;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Factor-sheet.js;0;2
FILE_NAME_2=17522;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Factor-sheet.html;0;2 FILE_NAME_2=19593;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Factor-sheet.html;0;2
FILE_NAME_3=1360;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-roll-dialog.js;0;2 FILE_NAME_3=1360;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-roll-dialog.js;0;2
FILE_NAME_4=13867;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Factor.js;0;2 FILE_NAME_4=13418;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Factor.js;0;2
FILE_NAME_5=416;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fdialog-roll-carac.html;0;2 FILE_NAME_5=416;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fdialog-roll-carac.html;0;2
FILE_NAME_6=20632;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-utility.js;0;2 FILE_NAME_6=20945;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-utility.js;0;2
FILE_NAME_7=975;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-main.js;0;2 FILE_NAME_7=135;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-main.js;0;2
FILE_NAME_8=1639;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-competence-sheet.html;0;2 FILE_NAME_8=1639;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-competence-sheet.html;0;2
FILE_NAME_9=2486;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-arme-sheet.html;0;2 FILE_NAME_9=2486;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-arme-sheet.html;0;2
FILE_NAME_10=0;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Ftoto_init_hook.js;0;2 FILE_NAME_10=0;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Ftoto_init_hook.js;0;2
FILE_NAME_11=1739;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2FWFRP-4th-Edition-FoundryVTT_SLADECRAVEN%2Fscripts%2Factor%2Factor-wfrp4e.js;0;2
FILE_NAME_12=23103;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2FWFRP-4th-Edition-FoundryVTT_SLADECRAVEN%2Fscripts%2Futility-wfrp4e.js;0;2
[VTE] [VTE]
last_dir=/home/sigmar last_dir=/home/sigmar

BIN
icons/armes/icon_fronde.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -25,8 +25,21 @@ export class RdDActor extends Actor {
if (data.items) { if (data.items) {
return super.create(data, options); return super.create(data, options);
} }
super.create(data, options);
data.items = [];
if (data.type == "personnage")
{
let competences = [];
const pack = game.packs.get("foundryvtt-reve-de-dragon.competences");
await pack.getIndex().then(index => competences = index);
for (let comp of competences)
{
let compItem = undefined;
await pack.getEntity(comp._id).then(skill => compItem = skill);
data.items.push(compItem);
}
}
super.create(data, options);
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@ -177,7 +190,7 @@ export class RdDActor extends Actor {
} }
// Get damages! // Get damages!
if ( encaisser ) { if ( encaisser ) {
this.encaisserDommages( rollData ); this.encaisserDommages( rollData.attackerRoll );
} }
} }
@ -283,36 +296,55 @@ export class RdDActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
manageBlessures( blessuresData ) manageBlessures( blessuresData )
{ {
if ( blessuresData.legeres > 0 || blessuresData.graves > 0 || blessuresData.critiques > 0 ) {
let blessures = duplicate(this.data.data.blessures); let blessures = duplicate(this.data.data.blessures);
if (blessuresData.legeres > 0 ) { while ( blessuresData.legeres > 0 ) {
blessures.legeres.nombre += 1; let nLegeres = 0;
if ( blessures.legeres.nombre > 5 ) { for (let k=0; k<blessures.legeres.liste.length; k++) {
blessures.legeres.nombre = 5; let bless = blessures.legeres.liste[k];
if ( !bless.active ) {
bless.active = true;
bless.loc = blessuresData.locName;
blessuresData.legeres--;
} else {
nLegeres++;
}
}
if ( nLegeres == 5) break;
}
if ( blessuresData.legeres > 0 )
blessuresData.graves += 1; blessuresData.graves += 1;
while ( blessuresData.graves > 0) {
let nGraves = 0;
for (let k=0; k<blessures.graves.liste.length; k++) {
let bless = blessures.graves.liste[k];
if ( !bless.active ) {
bless.active = true;
bless.loc = blessuresData.locName;
blessuresData.graves--;
} else { } else {
blessures.legeres.liste[blessures.legeres.nombre-1].etat = "active"; nGraves++;
blessures.legeres.liste[blessures.legeres.nombre-1].loc = blessuresData.locName;
} }
} }
if ( blessuresData.graves > 0 ) { if ( nLegeres == 2) break;
blessures.graves.nombre += 1;
if ( blessures.graves.nombre > 2 ) {
blessures.graves.nombre = 2;
blessuresData.critiques += 1;
} else {
blessures.graves.liste[blessures.graves.nombre-1].etat = "active";
blessures.graves.liste[blessures.graves.nombre-1].loc = blessuresData.locName;
}
} }
if ( blessuresData.graves > 0 )
blessuresData.critiques = 1;
if ( blessuresData.critiques > 0 ) { if ( blessuresData.critiques > 0 ) {
blessuresData.endurance = this.data.data.sante.endurance.value; // Patch with real endurance current value (ie end -> 0 when critique) blessuresData.endurance = this.data.data.sante.endurance.value; // Patch with real endurance current value (ie end -> 0 when critique)
blessures.critiques.nombre = 1; blessures.critiques.liste[0].active = true;
blessures.critiques.liste[0].etat = "active";
blessures.critiques.liste[0].loc = blessuresData.locName; blessures.critiques.liste[0].loc = blessuresData.locName;
} }
if ( blessuresData.legeres > 0 || blessuresData.graves > 0 || blessuresData.critiques > 0 )
this.update( { "data.blessures": blessures } ); this.update( { "data.blessures": blessures } );
} }
}
/* -------------------------------------------- */ /* -------------------------------------------- */
async rollCarac( caracName ) async rollCarac( caracName )
{ {
@ -370,14 +402,15 @@ export class RdDActor extends Actor {
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
encaisserDommages( rollData ) encaisserDommages( attackerRoll )
{ {
let attackerRoll = rollData.attackerRoll; //let attackerRoll = rollData.attackerRoll;
console.log("RollData from attacker!", rollData);
let degatsReel = attackerRoll.degats - this.computeArmure(attackerRoll.loc); let degatsReel = attackerRoll.degats - this.computeArmure(attackerRoll.loc);
console.log("RollData from attacker!", attackerRoll, degatsReel);
let result = RdDUtility.computeBlessuresSante(degatsReel); let result = RdDUtility.computeBlessuresSante(degatsReel);
this.santeIncDec("vie", result.vie); this.santeIncDec("vie", result.vie);
this.santeIncDec("endurance", result.vie); this.santeIncDec("endurance", result.endurance);
result.locName = attackerRoll.loc.label; // Add the localisation namme result.locName = attackerRoll.loc.label; // Add the localisation namme
this.manageBlessures( result ); // Will upate the result table this.manageBlessures( result ); // Will upate the result table

View File

@ -459,9 +459,16 @@ export class RdDUtility {
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
static performSocketMesssage( data ) static performSocketMesssage( sockmsg )
{ {
console.log(">>>>> MSG RECV", data); console.log(">>>>> MSG RECV", sockmsg);
if ( sockmsg.msg == "msg_encaisser" ) {
if ( game.user.isGM ) {
console.log("Encaisser ici !!!");
defenderActor = game.actors.get( sockmsg.data.defenderid );
defenderActor.encaisserDommages( sockmsg.data );
}
}
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@ -469,18 +476,20 @@ export class RdDUtility {
{ {
html.on("click", '#encaisser-button', event => { html.on("click", '#encaisser-button', event => {
event.preventDefault(); event.preventDefault();
console.log("Encaisser button", event);
let attackerActor = game.actors.get( event.currentTarget.attributes['data-attackerid'].value ); let attackerActor = game.actors.get( event.currentTarget.attributes['data-attackerid'].value );
//let defenderActor = game.actors.get(event.currentTarget.attributes['data-defenderid'].value );
let rollData = attackerActor.getFlag("foundryvtt-reve-de-dragon", "rollData"); let rollData = attackerActor.getFlag("foundryvtt-reve-de-dragon", "rollData");
rollData.attackerid = event.currentTarget.attributes['data-attackerid'].value; rollData.attackerid = event.currentTarget.attributes['data-attackerid'].value;
rollData.defenderid = event.currentTarget.attributes['data-defenderid'].value; rollData.defenderid = event.currentTarget.attributes['data-defenderid'].value;
let defenderActor = game.actors.get( rollData.defenderid );
if ( game.user.isGM ) { // Current user is the GM -> direct access
console.log("Encaissement direct", rollData);
defenderActor.encaisserDommages( rollData );
} else { // Emit message for GM
game.socket.emit("system.foundryvtt-reve-de-dragon", { game.socket.emit("system.foundryvtt-reve-de-dragon", {
msg: "msg_encaisser", msg: "msg_encaisser",
data: rollData data: rollData
} ); } );
console.log("-> MSG SENT"); }
//defenderActor.encaisserDommages( rollData );
}); });
html.on("click", '#parer-button', event => { html.on("click", '#parer-button', event => {

62
module/toto_init_hook.js Normal file
View File

@ -0,0 +1,62 @@
Combat.prototype.rollInitiative = async function (
ids,
formula = null,
messageOptions = {}
) {
console.log(
`${game.data.system.data.title} | Combat.rollInitiative()`,
ids,
formula,
messageOptions
);
// Structure input data
ids = typeof ids === "string" ? [ids] : ids;
const currentId = this.combatant._id;
// calculate initiative
if (ids.length == 1) {
const c = this.getCombatant(ids[0]);
if (!c) return results;
const cf = formula || this._getInitiativeFormula(c);
const roll = this._getInitiativeRoll(c, cf);
const updates = this.combatants
.filter(
(combatant) =>
!combatant.actor || combatant.actor.data.type == "character"
)
.map((combatant) => {
return { _id: combatant._id, initiative: roll.total };
});
if (!updates.length) return this;
// Update multiple combatants
await this.updateEmbeddedEntity("Combatant", updates);
// Ensure the turn order remains with the same combatant
await this.update({
turn: this.turns.findIndex((t) => t._id === currentId),
});
// Send a chat message
let rollMode =
messageOptions.rollMode || game.settings.get("core", "rollMode");
let messageData = mergeObject(
{
speaker: {
scene: canvas.scene._id,
actor: c.actor ? c.actor._id : null,
token: c.token._id,
alias: c.token.name,
sound: CONFIG.sounds.dice,
},
flavor: `${c.token.name} rolls for Party Initiative!`,
},
messageOptions
);
roll.toMessage(messageData, { rollMode, create: true });
return this;
}
};

65
packs/competences.db Normal file
View File

@ -0,0 +1,65 @@
{"name":"Comédie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Lart de paraître sur une scène : jouer un rôle, déclamer des vers, mimer, conter. Peut aussi servir à simuler, mystifier.</p>\n<p>&nbsp;</p>","defaut_carac":"apparence"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_comedie.png","_id":"2JLK5e97WbTM5WxX"}
{"name":"Jeu","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"specialisee","xp":0,"description":"<p>Jeux de tripot, manipuler les dés. Connaître les jeux et les meilleures stratégies, déceler un tricheur et tricher soi-même.</p>\n<p>&nbsp;</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_jeu.png","_id":"3VSMRwMYpOi83wgE"}
{"name":"Cuisine","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-4,"base":-4,"categorie":"generale","xp":0,"description":"<p>Identifier les saveurs culinaires, les épices et les aromates. Exécuter, inventer une recette. Faire griller un gibier sur un feu de&nbsp;camp nest généralement pas de la cuisine,&nbsp;mais de la simple survie.</p>\n<p>&nbsp;</p>","defaut_carac":"odoratgout"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_cuisine.png","_id":"3qRzl3nhLZNsoDsI"}
{"name":"Survie en Sous-Sol","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Par exemple pister un gibier en forêt demande lusage de Survie en forêt, trouver une grotte pour sabriter en montagne demande Survie en montagne. Survie en extérieur tient lieu de survie spécifique pour les plaines et collines non boisées.</p>\n<p>&nbsp;</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_sous_sol.png","_id":"6pXxEdeo7xcDvgx0"}
{"name":"Corps à corps","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-6,"base":-6,"categorie":"melee","xp":0,"description":"<p>Groupées en une seule jusquau niveau zéro, ces compétences sont les principes de base du combat de mêlée. Corps à&nbsp;corps permet de se battre sans armes ; Es-quive permet desquiver toutes les sortes&nbsp;de coup ; Dague de mêlée permet lutilisation de la dague au contact.</p>\n<p>&nbsp;</p>","defaut_carac":"melee"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_corps_a_corps.png","_id":"8Uj41cL5Qlxxy675"}
{"name":"Discrétion","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-4,"base":-4,"categorie":"generale","xp":0,"description":"<p>Se déplacer en silence, sans se faire remarquer, passer inaperçu, se fondre dans</p>\n<p>lanonymat, se cacher.</p>\n<p>&nbsp;</p>","defaut_carac":"agilite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_discretion.png","_id":"94P55yZfeipCGbsr"}
{"name":"Saut","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-4,"base":-4,"categorie":"generale","xp":0,"description":"<p>Sauter par-dessus un obstacle ou sauter en contrebas ; rattraper une chute en la transformant en saut.</p>\n<p>&nbsp;</p>","defaut_carac":"agilite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_saut.png","_id":"9ICvksiNG6Bhm8CE"}
{"name":"Navigation","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"specialisee","xp":0,"description":"<p>Connaissance des manœuvres à accomplir sur un voilier, connaissance de la mer, de ses courants (voir Navigation, p325).</p>\n<p>&nbsp;</p>","defaut_carac":"vue"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_navigation.png","_id":"AXeWswf2Dth9ysvy"}
{"name":"Séduction","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-4,"base":-4,"categorie":"generale","xp":0,"description":"<p>Lart dêtre galant, de paraître attirant. Permet les conquêtes amoureuses.</p>\n<p>&nbsp;</p>","defaut_carac":"apparence"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_seduction.png","_id":"AbM6lJ7DI2UAWLxj"}
{"name":"Masse à 2 mains","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-6,"base":-6,"categorie":"melee","xp":0,"description":"<p>Ces compétences permettent lutilisation des masses, gourdins, bâtons, pour attaquer, voire parer.</p>\n<p>&nbsp;</p>","defaut_carac":"melee"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_masse_2_mains.png","_id":"BMAloiSbDKOu3b4C"}
{"name":"Chirurgie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"specialisee","xp":0,"description":"<p>Lart de soigner les blessures, panser, recoudre ; savoir se servir dun rasoir. Chirurgie&nbsp;est utilisée pour accomplir premiers soins et soins complets sur toutes les blessures, et&nbsp;par extension, pour tous les actes de secourisme et de réanimation.</p>\n<p>&nbsp;</p>","defaut_carac":"dexterite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_chirurgie.png","_id":"BlG2YPATIbnY3m9P"}
{"name":"Survie en Montagne","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Par exemple pister un gibier en forêt demande lusage de Survie en forêt, trouver une grotte pour sabriter en montagne demande Survie en montagne. Survie en extérieur tient lieu de survie spécifique pour les plaines et collines non boisées.</p>\n<p>&nbsp;</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_montagne.png","_id":"BzqBOeqS6HvJhqey"}
{"name":"Métallurgie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"specialisee","xp":0,"description":"<p>Cest au sens large le travail du métal, et principalement du fer. Battre le fer, forger, tremper, limer, poncer, riveter. Évaluer la qualité, la solidité, dun objet de fer, une arme par exemple.</p>\n<p>&nbsp;</p>","defaut_carac":"force"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_metallurgie.png","_id":"CHyk96ypxMrg8VXh"}
{"name":"Equitation","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Monter à cheval, et, dune manière générale, connaissance des chevaux. Peut sappliquer aux autres montures de Rêve de&nbsp;Dragon : aligates, zyglutes, etc.</p>\n<p>&nbsp;</p>","defaut_carac":"agilite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_equitation.png","_id":"F5iQNrZSeJsfyTnV"}
{"name":"Charpenterie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Cest au sens large le travail du bois, charpenterie, menuiserie, ébénisterie. Évaluer&nbsp;la qualité, solidité, dune structure de bois.</p>\n<p>&nbsp;</p>","defaut_carac":"dexterite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_charpenterie.png","_id":"FqLWG6xjISKMLPiX"}
{"name":"Astrologie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"connaissance","xp":0,"description":"<p>Connaissance des étoiles et de leur signification symbolique. Calculer les nombres astraux gouvernant la chance de chaque&nbsp;individu. Sorienter aux étoiles (voir Astrologie, p155).</p>\n<p>&nbsp;</p>","defaut_carac":"vue"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_astrologie.png","_id":"GIIQm22Q4bBsmxpE"}
{"name":"Course","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-4,"base":-4,"categorie":"generale","xp":0,"description":"<p>Sprinter le plus vite possible, ou courir sur de longues distances en m&eacute;nageant son souffle.</p>\n<p>&nbsp;</p>","defaut_carac":"agilite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_course.png","_id":"Jz4AZdDlSjsyoUsm"}
{"name":"Chant","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-4,"base":-4,"categorie":"generale","xp":0,"description":"<p>Savoir chanter juste, se souvenir de mélodies, improviser.</p>\n<p>&nbsp;</p>","defaut_carac":"ouie"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_chant.png","_id":"LE4nA119la5cd0bC"}
{"name":"Danse","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-4,"base":-4,"categorie":"generale","xp":0,"description":"<p>Être capable de danser en mesure, de danser harmonieusement avec une personne</p>\n<p>ou un groupe, de charmer un public par&nbsp;une exhibition.</p>\n<p>&nbsp;</p>","defaut_carac":"agilite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_danse.png","_id":"LhP3Y0qCBHNp2atl"}
{"name":"Epée à 2 mains","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-6,"base":-6,"categorie":"melee","xp":0,"description":"<p>Ces compétences permettent lutilisation des sept types dépées de Rêve de Dragon pour attaquer ou parer.</p>\n<p>&nbsp;</p>\n<p>&nbsp;</p>","defaut_carac":"melee"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_epee_2_mains.png","_id":"MLIEbxSJHkY1m3No"}
{"name":"Dessin","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-4,"base":-4,"categorie":"generale","xp":0,"description":"<p>Avoir le sens des proportions. Savoir dessiner, faire le portrait de quelquun, mais</p>\n<p>également savoir faire un schéma, une carte, un plan, aux proportions exactes.</p>\n<p>&nbsp;</p>","defaut_carac":"tir"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_dessin.png","_id":"OVcZE4kfiPYEOzgm"}
{"name":"Orfèvrerie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"specialisee","xp":0,"description":"<p>Travail et connaissance des métaux précieux : or, argent, cuivre, étain, et par extension des pierres et perles précieuses.&nbsp;Évaluer la taille et la pureté dune gemme,&nbsp;le prix dun bijou.</p>\n<p>&nbsp;</p>","defaut_carac":"dexterite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_orfevrerie.png","_id":"PMOjO2CdedH1UTyi"}
{"name":"Serrurerie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"specialisee","xp":0,"description":"<p>Compréhension des mécaniques et mécanismes, et plus particulièrement des serrures. Comprendre un mécanisme, le faire fonctionner, le réparer, le désarmer, le crocheter.</p>\n<p>&nbsp;</p>","defaut_carac":"dexterite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_serrurerie.png","_id":"PMnsXDyeB8w8ZG2k"}
{"name":"Survie en Forêt","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Par exemple pister un gibier en forêt demande lusage de Survie en forêt, trouver une grotte pour sabriter en montagne demande Survie en montagne. Survie en extérieur tient lieu de survie spécifique pour les plaines et collines non boisées.</p>\n<p>&nbsp;</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_foret.png","_id":"PbvubzCxnOSnWLpG"}
{"name":"Botanique","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"connaissance","xp":0,"description":"<p>Identification des espèces végétales et de leurs propriétés. Permet de savoir si une plante connue pousse dans un milieu donné. Recherche de cette plante.</p>\n<p>&nbsp;</p>","defaut_carac":"vue"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_botanique.png","_id":"PmwXYvmutlyQEonB"}
{"name":"Bouclier","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-6,"base":-6,"categorie":"melee","xp":0,"description":"<p>Utilisation de toutes les sortes de bouclierpour parer.</p>\n<p>&nbsp;</p>","defaut_carac":"melee"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_bouclier.png","_id":"SJE3ghtswQwP1dIy"}
{"name":"Alchimie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"connaissance","xp":0,"description":"<p>Connaissance des recettes et préparations alchimiques. Identification, élaboration, des solutions diverses, breuvages, poudres, onguents, crèmes, etc. (voir Principes dalchimie, p357).</p>\n<p>&nbsp;</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_alchimie.png","_id":"TAKRb9CdMUhs9dd4"}
{"name":"Vigilance","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-4,"base":-4,"categorie":"generale","xp":0,"description":"<p>Le talent dêtre toujours sur ses gardes, prêt à déceler la moindre anomalie, de</p>\n<p>bruit, dodeur, de mouvement, etc. Permet de ne pas être surpris en combat, par</p>\n<p>exemple. Indispensable pour monter sérieusement la garde.</p>\n<p>&nbsp;</p>","defaut_carac":"volonte"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_vigilance.png","_id":"VyAJK54OPjiRt8oH"}
{"name":"Médecine","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"connaissance","xp":0,"description":"<p>Diagnostic et soin des maladies. Connaissance des remèdes.</p>\n<p>&nbsp;</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_medecine.png","_id":"XK2TlYnhR8FlDaEi"}
{"name":"Maroquinerie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"specialisee","xp":0,"description":"<p>Travail du cuir et de la peau. Dépecer correctement un animal en vue de conserver la peau, préparation au tannage, tannage. Évaluer la qualité, la solidité, dun travail de cuir.</p>\n<p>&nbsp;</p>","defaut_carac":"dexterite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_maroquinerie.png","_id":"XYMQBxFKSs2nPW0J"}
{"name":"Survie en Marais","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Par exemple pister un gibier en forêt demande lusage de Survie en forêt, trouver une grotte pour sabriter en montagne demande Survie en montagne. Survie en extérieur tient lieu de survie spécifique pour les plaines et collines non boisées.</p>\n<p>&nbsp;</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_marais.png","_id":"azn3Sm7XYKP78huL"}
{"name":"Voie d'Hypnos","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"draconic","xp":0,"description":"<p>Magie dillusion, suggestion, invocation.</p>\n<p>&nbsp;</p>","defaut_carac":"reve"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_hypnos.png","_id":"bt2cR4aE6lIOeg4F"}
{"name":"Zoologie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"connaissance","xp":0,"description":"<p>Connaissance des espèces animales, de leurs mœurs, leur des habitat.</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_zoologie.png","_id":"c5wursWW03ckpyqn"}
{"name":"Masse à 1 main","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-6,"base":-6,"categorie":"melee","xp":0,"description":"<p>Ces compétences permettent lutilisation des masses, gourdins, bâtons, pour attaquer, voire parer.</p>\n<p>&nbsp;</p>","defaut_carac":"melee"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_masse_1_main.png","_id":"cMHm3gQr9rUp4iPK"}
{"name":"Voie de Thanatos","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"draconic","xp":0,"description":"<p>Magie noire des forces du cauchemar.</p>\n<p>&nbsp;</p>","defaut_carac":"reve"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_thanatos.png","_id":"dPlTQzvU3CEg5qKc"}
{"name":"Pickpocket","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Art extrêmement dangereux du vol à la tire.</p>","defaut_carac":"dexterite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_pickpocket.png","_id":"dT5cvI7q1HcrLaT1"}
{"name":"Maçonnerie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Cest au sens large le travail de la pierre. Évaluer la qualité, la solidité dune struc-</p>\n<p>ture maçonnée.</p>\n<p>&nbsp;</p>","defaut_carac":"vue"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_maconnerie.png","_id":"dwGVDTUJYP9FcmWM"}
{"name":"Epée à 1 main","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-6,"base":-6,"categorie":"melee","xp":0,"description":"<p>Groupées en une seule jusquau niveau zéro, ces compétences sont les principes de base du combat de mêlée. Corps à&nbsp;corps permet de se battre sans armes ; Es-quive permet desquiver toutes les sortes&nbsp;de coup ; Dague de mêlée permet lutilisation de la dague au contact.</p>\n<p>&nbsp;</p>","defaut_carac":"melee"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_epee_1_main.png","_id":"fPhPcCP3sbS6mfbS"}
{"name":"Escalade","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-4,"base":-4,"categorie":"generale","xp":0,"description":"<p>Escalader des obstacles, grimper à la corde, à un arbre, le long dune paroi.</p>\n<p>&nbsp;</p>","defaut_carac":"force"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_escalade.png","_id":"gECPPcn6j3B3sWTS"}
{"name":"Légendes","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"connaissance","xp":0,"description":"<p>Connaissance des légendes et des faits du passé. Légendes tient lieu dhistoire.</p>\n<p>&nbsp;</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_legendes.png","_id":"i3wMVkXObzlDVZTG"}
{"name":"Fronde","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"tir","xp":0,"description":"<p>Utilisation de la fronde giratoire.</p>\n<p>&nbsp;</p>","defaut_carac":"tir"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_fronde.png","_id":"iNXKIfaETtgSGA0S"}
{"name":"Arbalète","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"tir","xp":0,"description":"<p>Utilisation de tous les types darbalètes.</p>","defaut_carac":"tir"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_arbalete.png","_id":"lt9VC7PkX4Faiduq"}
{"name":"Javelot","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"lancer","xp":0,"description":"<p>Utilisation de la lance courte ou de la javeline en lancer.</p>\n<p>&nbsp;</p>","defaut_carac":"lancer"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_javelot.png","_id":"neuzZG2C5C0IJ1yk"}
{"name":"Voie d'Oniros","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"draconic","xp":0,"description":"<p>Magie sappliquant au monde inanimé.</p>\n<p>&nbsp;</p>","defaut_carac":"reve"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_oniros.png","_id":"nnR2UHelUaF8dxYn"}
{"name":"Esquive","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-6,"base":-6,"categorie":"melee","xp":0,"description":"<p>Groupées en une seule jusquau niveau zéro, ces compétences sont les principes de base du combat de mêlée. Corps à&nbsp;corps permet de se battre sans armes ; Es-quive permet desquiver toutes les sortes&nbsp;de coup ; Dague de mêlée permet lutilisation de la dague au contact.</p>\n<p>&nbsp;</p>","defaut_carac":"derobee"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_esquive.png","_id":"oFje22fZF1FaCQhN"}
{"name":"Survie en Cité","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Se sentir à son aise dans un milieu urbain, dans une foule. Savoir sorienter intuitivement dans le dédale dune cité inconnue, et en déceler les dangers : coupeurs de bourse, escrocs, tout autant que patrouilles de gardes. Savoir à qui sadresser.</p>\n<p>&nbsp;</p>","defaut_carac":"derobee"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_cite.png","_id":"oHnSnCw1RAW5t15S"}
{"name":"Jonglerie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"specialisee","xp":0,"description":"<p>Balles, quilles, couteaux, torches enflammées : lart traditionnel du jongleur.</p>\n<p>&nbsp;</p>","defaut_carac":"dexterite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_jonglerie.png","_id":"owCW3nZDvlJy1kCT"}
{"name":"Natation","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"specialisee","xp":0,"description":"<p>Nager, plonger.</p>\n<p>&nbsp;</p>","defaut_carac":"force"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_natation.png","_id":"qBUtHhyjvrg1c34I"}
{"name":"Ecriture","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"connaissance","xp":0,"description":"<p>Lire et &eacute;crire. Savoir composer un texte, un po&egrave;me. Connaissance g&eacute;n&eacute;rale des langues anciennes.</p>\n<p>&nbsp;</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_ecriture.png","_id":"qmIpUeedvjC8nGF1"}
{"name":"Fléau","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-6,"base":-6,"categorie":"melee","xp":0,"description":"<p>Utilisation de tous les types de fléaux, pour attaquer.</p>\n<p>&nbsp;</p>","defaut_carac":"melee"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_fleau.png","_id":"r79VAGS1fRUm4oAd"}
{"name":"Armes d'hast","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-6,"base":-6,"categorie":"melee","xp":0,"description":"<p>Utilisation de toutes les piques, vouges, hallebardes, toujours maniées à deux mains, pour attaquer.</p>\n<p>&nbsp;</p>","defaut_carac":"melee"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_armes_hast.png","_id":"rwsHwIDszSIPBkrO"}
{"name":"Arc","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"tir","xp":0,"description":"<p>Utilisation de tous les types darcs.</p>\n<p>&nbsp;</p>","defaut_carac":"tir"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_arc.png","_id":"tVbFkKSN4n0RSrFU"}
{"name":"Dague de jet","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"lancer","xp":0,"description":"<p>Utilisation de la dague en lancer.</p>","defaut_carac":"lancer"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_dague_jet.png","_id":"thJy5AN0qePmfpJu"}
{"name":"Bricolage","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-4,"base":-4,"categorie":"generale","xp":0,"description":"<p>Lart dêtre inventif avec ses doigts, pour de&nbsp;petits aménagements ou réparations. Ne&nbsp;peut en aucun cas se substituer aux compétences dartisanat, Charpenterie, Maçonnerie, etc. Bricolage est utilisé quand lusage&nbsp;de ces compétences nest pas pertinent.</p>\n<p>&nbsp;</p>","defaut_carac":"dexterite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_bricolage.png","_id":"tvIGIPaEJZBaySil"}
{"name":"Voie de Narcos","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"draconic","xp":0,"description":"<p>Magie denchantement.</p>","defaut_carac":"reve"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_narcos.png","_id":"u1Peok1EYkBcVsmN"}
{"name":"Survie en Glaces","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Par exemple pister un gibier en forêt demande lusage de Survie en forêt, trouver une grotte pour sabriter en montagne demande Survie en montagne. Survie en extérieur tient lieu de survie spécifique pour les plaines et collines non boisées.</p>\n<p>&nbsp;</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_glace.png","_id":"uGPqmorAYxv1jboC"}
{"name":"Survie en Extérieur","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Se sentir à son aise dans la nature, hors de toute civilisation, sorienter. Construireun abri, allumer un feu en mauvaisesconditions, trouver de leau, pêcher, savoirExemplaire pour dépecer un gibier et laccommoder sur un feu de braise. Quand un milieu particulier devient déterminant, utiliser à la place une des 6 survies spécifiques.</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_exterieur.png","_id":"ue5iDSm2f4efQDWO"}
{"name":"Survie en Désert","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Par exemple pister un gibier en forêt demande lusage de Survie en forêt, trouver une grotte pour sabriter en montagne demande Survie en montagne. Survie en extérieur tient lieu de survie spécifique pour les plaines et collines non boisées.</p>\n<p>&nbsp;</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_desert.png","_id":"vDOAyWc2YnuhNnFF"}
{"name":"Fouet","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"lancer","xp":0,"description":"<p>Utilisation du fouet.</p>","defaut_carac":"lancer"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_fouet.png","_id":"vIQVQxUeiw36hztI"}
{"name":"Travestissement","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Lart de se déguiser, de se grimer, de se rendre méconnaissable.</p>\n<p>&nbsp;</p>","defaut_carac":"apparence"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_travestissement.png","_id":"w9QubIHdWEUorges"}
{"name":"Hache à 1 main","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-6,"base":-6,"categorie":"melee","xp":0,"description":"<p>Ces deux compétences permettent lutilisation des hachettes, cognées et haches de bataille, pour attaquer.</p>\n<p>&nbsp;</p>\n<p>&nbsp;</p>","defaut_carac":"melee"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_hache_a_1_main.png","_id":"wEfuLImdNX4BSXVi"}
{"name":"Musique","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Solfège et règles musicales, jeu dun instrument. Musique donne droit à la connaissance dun instrument de musique, un seul, à spécifier.</p>\n<p>&nbsp;</p>","defaut_carac":"ouie"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_musique.png","_id":"wefdYe0kvWKioPmk"}
{"name":"Commerce","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-8,"base":-8,"categorie":"particuliere","xp":0,"description":"<p>Évaluer le prix dune marchandise, la valeur dune monnaie locale. Savoir</p>\n<p>jusquoù lon peut marchander (lequel&nbsp;marchandage doit être fait en jeu de rôle</p>\n<p>par le joueur lui-même).</p>\n<p>&nbsp;</p>","defaut_carac":"intellect"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_defaut.png","_id":"zO7Av9hJ2vdJiPgI"}
{"name":"Lance","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-6,"base":-6,"categorie":"melee","xp":0,"description":"<p>Utilisation en mêlée de la lance courte et de la javeline, pour attaquer, voire parer. La lance nest toujours quà une main.</p>\n<p>&nbsp;</p>","defaut_carac":"melee"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_lance.png","_id":"zPTXua2Kq6TeBTTZ"}
{"name":"Acrobatie","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"competence","data":{"niveau":-11,"base":-11,"categorie":"specialisee","xp":0,"description":"<p>Pirouettes, sauts périlleux, art du funambule, et dune manière générale, toutes les performances dagilité spécialisées.</p>\n<p>&nbsp;</p>","defaut_carac":"agilite"},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_acrobatie.png","_id":"zyNYa3hYtrOcF2jA"}

View File

@ -9,7 +9,17 @@
"author": "LeRatierBretonnien", "author": "LeRatierBretonnien",
"esmodules": [ "module/rdd-main.js", "module/hook-renderChatLog.js" ], "esmodules": [ "module/rdd-main.js", "module/hook-renderChatLog.js" ],
"styles": ["styles/simple.css"], "styles": ["styles/simple.css"],
"packs": [], "packs": [
{
"name": "competences",
"label": "Compétences",
"system": "foundryvtt-reve-de-dragon",
"module": "foundryvtt-reve-de-dragon",
"path": "./packs/competences.db",
"entity": "Item",
"tag" : "item"
}
],
"languages": [], "languages": [],
"gridDistance": 5, "gridDistance": 5,
"gridUnits": "ft", "gridUnits": "ft",

View File

@ -285,7 +285,7 @@
<div> <div>
{{#each data.blessures.graves.liste as |bless key|}} {{#each data.blessures.graves.liste as |bless key|}}
<li class="item flexrow" data-attribute={{key}}> <li class="item flexrow" data-attribute={{key}}>
<span> <input type="checkbox" class='item-checkbox'/> Premiers soins : {{bless.premiers_soins}} - Soins complets : {{bless.soins_complets}} - Nombre de jours : {{bless.jours}} - Localisation : {{bless.localisation}}</span> <span> <input type="checkbox" class='item-checkbox' {{#if bless.active}}checked{{/if}}/> Premiers soins : {{bless.premiers_soins}} - Soins complets : {{bless.soins_complets}} - Nombre de jours : {{bless.jours}} - Localisation : {{bless.localisation}}</span>
</li> </li>
{{/each}} {{/each}}
</div> </div>
@ -293,7 +293,7 @@
<div> <div>
{{#each data.blessures.critiques.liste as |bless key|}} {{#each data.blessures.critiques.liste as |bless key|}}
<li class="item flexrow" data-attribute={{key}}> <li class="item flexrow" data-attribute={{key}}>
<span> <input type="checkbox" class='item-checkbox'/> Premiers soins : {{bless.premiers_soins}} - Soins complets : {{bless.soins_complets}} - Nombre de jours : {{bless.jours}} - Localisation : {{bless.localisation}}</span> <span> <input type="checkbox" class='item-checkbox' {{#if bless.active}}checked{{/if}}/> Premiers soins : {{bless.premiers_soins}} - Soins complets : {{bless.soins_complets}} - Nombre de jours : {{bless.jours}} - Localisation : {{bless.localisation}}</span>
</li> </li>
{{/each}} {{/each}}
</div> </div>

View File

@ -0,0 +1,25 @@
<form class="skill-roll-dialog">
<h2 class="compdialog" id="compdialogTitle"></h2>
<div class="form-group">
<label for="categorie">Bonus/Malus</label>
<select name="bonusmalus" id="bonusmalus" data-dtype="number">
{{#select bonusmalus}}
{{#each bonusmalusTable as |bmvalue key|}}
<option value={{bmvalue}}>{{numberFormat bmvalue decimals=0 sign=true}}</option>
{{/each}}
{{/select}}
</select>
</div>
<div class="form-group">
<label for="categorie">Etat général</label><label>{{numberFormat etat decimals=0 sign=true}}</label>
</div>
<div class="form-group">
<label>Ajustement final : </label><label id="roll-param">10 / 0</label>
</div>
<div id="resolutionTable">
</div>
</form>
<script>
</script>