From 2cb51e79994ae72472340aeaaa0e9ac2c155437b Mon Sep 17 00:00:00 2001 From: sladecraven Date: Thu, 23 Jul 2020 22:09:40 +0200 Subject: [PATCH] Ajour lancer de sort --- module/actor-sheet.js | 2 +- module/actor.js | 39 +++++++++++++++++++++++++------ module/rdd-roll-dialog.js | 22 +++++++++++++++++- module/rdd-tmr-dialog.js | 4 ++-- module/rdd-utility.js | 1 + packs/queues-de-dragon.db | 30 ++++++++++++------------ packs/tables-diverses.db | 1 + system.json | 2 +- templates/dialog-roll-sort.html | 41 +++++++++++++++++++++++++++++++++ templates/dialog-tmr.html | 2 +- 10 files changed, 116 insertions(+), 28 deletions(-) create mode 100644 templates/dialog-roll-sort.html diff --git a/module/actor-sheet.js b/module/actor-sheet.js index 723e5462..70ecffef 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -159,7 +159,7 @@ export class RdDActorSheet extends ActorSheet { // Roll spell html.find('.sort-label a').click((event) => { let sortID = event.currentTarget.attributes['data-id'].value; - this.actor.rollSort( sortID); + this.actor.displayTMR( sortID); }); // On carac change diff --git a/module/actor.js b/module/actor.js index 00e582fd..dc4a3f55 100644 --- a/module/actor.js +++ b/module/actor.js @@ -88,13 +88,11 @@ export class RdDActor extends Actor { /* -------------------------------------------- */ async performRoll( rollData ) { - let myroll = new Roll("d100"); - myroll.roll(); + let result = new Roll("d100").roll().total; let quality = "Echec"; let xpmsg = ""; let tache = 0; //console.log(">>> ROLL", rollData.selectedCarac.label, rollData.rollTarget.score, myroll.total ); - let result = myroll.total; if (result <= rollData.rollTarget.part) { quality = "Réussite Particulière!"; if ( rollData.finalLevel < 0 ) { @@ -195,9 +193,15 @@ export class RdDActor extends Actor { await this.setFlag( "foundryvtt-reve-de-dragon", "rollData", undefined ); await this.setFlag( "foundryvtt-reve-de-dragon", "rollData", rollData ); - let lvl = (rollData.competence) ? rollData.competence.name : rollData.bmValue; + let lvl = "" + if ( rollData.selectedSort) { + lvl = rollData.selectedDraconic.name +"/"+ rollData.selectedSort.name; + specialStr = ""; + } else { + lvl = (rollData.competence) ? rollData.competence.name : rollData.bmValue; + } let chatOptions = { content: "Test : " + rollData.selectedCarac.label + " / " + lvl + "
Jet : " + - rollData.selectedCarac.value + " / " + rollData.finalLevelStr + " -> " + rollData.rollTarget.score + "%
Résutat : " + myroll.total + "
" + + rollData.selectedCarac.value + " / " + rollData.finalLevelStr + " -> " + rollData.rollTarget.score + "%
Résutat : " + result + "
" + "" + quality + "" + specialStr + xpmsg, user: game.user._id, title: "Résultat du test" @@ -432,6 +436,27 @@ export class RdDActor extends Actor { } } + /* -------------------------------------------- */ + async rollUnSort( coord ) { + console.log("Lancer de sort !!!!!"); + let draconicList = this.getDraconicList(); + let sortList = this.getSortList(); + + let rollData = { + "selectedCarac": this.data.data.carac.reve, + "etat": this.data.data.compteurs.etat.value, + "draconicList": draconicList, + "sortList": sortList, + "selectedDraconic": draconicList[0], + "selectedSort": sortList[0], + "coord": coord, + "finalLevel": 0, + "bmValue": 0 + } + let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-roll-sort.html', rollData); + new RdDRollDialog("sort", html, rollData, this ).render(true); + } + /* -------------------------------------------- */ async rollCarac( caracName ) { @@ -468,9 +493,9 @@ export class RdDActor extends Actor { } /* -------------------------------------------- */ - async rollSort( sortID ) + async displayTMR( sortID ) { - if (this.data.data.carac.reve.value <= 1 ) { + if (this.data.data.reve.reve.value <= 1 ) { ChatMessage.create( { title: "Montée impossible !", content: "Vous n'avez plus assez de Points de Reve pour monter dans les Terres Médianes", whisper: ChatMessage.getWhisperRecipients(game.user.name) } ); return; diff --git a/module/rdd-roll-dialog.js b/module/rdd-roll-dialog.js index bf1a7a48..e886920b 100644 --- a/module/rdd-roll-dialog.js +++ b/module/rdd-roll-dialog.js @@ -36,6 +36,10 @@ export class RdDRollDialog extends Dialog { dialogConf.title = "Test de caractéristique", dialogOptions.width = 600; dialogOptions.height = 320; + } else if (mode == "sort") { + dialogConf.title = "Lancer un sort", + dialogOptions.width = 600; + dialogOptions.height = 360; } super(dialogConf, dialogOptions); @@ -60,7 +64,9 @@ export class RdDRollDialog extends Dialog { function updateRollResult( rollData ) { if ( rollData.competence ) rollData.finalLevel = parseInt(rollData.competence.data.niveau) + parseInt(rollData.bmValue) + parseInt(rollData.etat); - else + else if ( rollData.draconicList ) + rollData.finalLevel = parseInt(rollData.selectedDraconic.data.niveau) + parseInt(rollData.selectedSort.data.difficulte) + parseInt(rollData.etat); + else rollData.finalLevel = parseInt(rollData.bmValue) + parseInt(rollData.etat); rollData.finalLevelStr = (rollData.finalLevel >= 0 ) ? "+" + rollData.finalLevel : rollData.finalLevel; @@ -72,6 +78,8 @@ export class RdDRollDialog extends Dialog { if ( rollData.competence ) { niveauStr = (rollData.competence.data.niveau >= 0) ? "+" + rollData.competence.data.niveau : rollData.competence.data.niveau; $("#compdialogTitle").text( rollData.selectedCarac.label + "/" + rollData.competence.name + armeTitle + " " + niveauStr ); + } else if ( rollData.draconicList) { + $("#compdialogTitle").text( rollData.selectedDraconic.name + " - " + rollData.selectedSort.name ); } else { $("#compdialogTitle").text( rollData.selectedCarac.label ); } @@ -104,6 +112,18 @@ export class RdDRollDialog extends Dialog { //console.log("CARAC CLICKED !!!", rollData.selectedCarac, rollData.competence.data.niveau, rollData.bmValue); updateRollResult(rollData); }); + html.find('#draconic').click((event) => { + let draconicKey = event.currentTarget.value; + rollData.selectedDraconic = rollData.draconicList[draconicKey]; // Update the selectedCarac + //console.log("CARAC CLICKED !!!", rollData.selectedCarac, rollData.competence.data.niveau, rollData.bmValue); + updateRollResult(rollData); + }); + html.find('#sort').click((event) => { + let sortKey = event.currentTarget.value; + rollData.selectedSort = rollData.sortList[sortKey]; // Update the selectedCarac + //console.log("CARAC CLICKED !!!", rollData.selectedCarac, rollData.competence.data.niveau, rollData.bmValue); + updateRollResult(rollData); + }); } } diff --git a/module/rdd-tmr-dialog.js b/module/rdd-tmr-dialog.js index c8acb84a..11290938 100644 --- a/module/rdd-tmr-dialog.js +++ b/module/rdd-tmr-dialog.js @@ -282,8 +282,8 @@ export class RdDTMRDialog extends Dialog { } /* -------------------------------------------- */ - lancerSort () { - console.log("Lancer de sort !!!!!"); + lancerSort() { + this.actor.rollUnSort(this.actor.data.data.reve.tmrpos.coord); } /* -------------------------------------------- */ diff --git a/module/rdd-utility.js b/module/rdd-utility.js index 39db0e07..38fb11f7 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -101,6 +101,7 @@ export class RdDUtility { // Dialogs 'systems/foundryvtt-reve-de-dragon/templates/dialog-competence.html', 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-carac.html', + 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-sort.html', 'systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.html' ]; diff --git a/packs/queues-de-dragon.db b/packs/queues-de-dragon.db index d89ef29b..7c3495d7 100644 --- a/packs/queues-de-dragon.db +++ b/packs/queues-de-dragon.db @@ -1,16 +1,16 @@ -{"name":"Mauvaise rencontre en perspective","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Tirer la prochaine rencontre dans les TMR sur la @RollTable[52ymSWISvXPUhRyQ]{Table spéciale de rencontres}

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"0jrEZ62Q2Jz4kBGf"} -{"name":"Souvenir obsessionnel de l'archétype","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Les prochains points d’expérience dus au stress doivent être mis dans une compétence déterminée aléatoirement. TABLE ALÉATOIRE À CRÉER

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"1gGVlZM0UyifL6RK"} -{"name":"Coup de foudre fatal","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

On devient immédiatement amoureux fou de la première personne inconnue de sexe opposé et de même espèce rencontrée. Tant que satisfaction n’est pas obtenue, traiter comme un désir lancinant. 

","refoulement":2},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"32LbwxxokC9Tn370"} -{"name":"Montée laborieuse","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Pendant un jour, monter en TMR coûte 2 points de rêve au lieu d’un, et 3 points en déplacement accéléré.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"5knw1NcnBsLIjHpr"} -{"name":"Inertie draconique","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Pendant un jour, la fatigue en TMR est doublée. Chaque case ou round coûte 2 points au lieu d’un.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"EUrxQGd7FuW628NS"} -{"name":"Idée fixe","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Tirer 1d20 sur la table des @RollTable[FKXqN9FOJQHQXZ2L]{Idées fixes}. Les idées fixes prennent e!et immédiatement et durent jusqu’à l’extrême $n de l’heure du Château Dormant du lendemain. Si passé ce délai, l’occasion de les manifester ne s’est pas présentée, la queue prend $n néanmoins. Si elles entrent en contradiction avec une autre queue de Dragon, retirer.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"J3XtcVuQo846U1OT"} -{"name":"Désir lancinant","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Tirer 1d20 sur la table des@RollTable[wysZQFqioBqPijZM]{Désirs lancinants}. Les désirs lancinants durent jusqu’à ce qu’ils soient satisfaits ou refoulés. Tant que satisfaction n’est pas obtenue, aucun point d’expérience ne peut plus être gagné par l’exercice en cas de particulière et d’ajustement final négatif. Les points d’expérience dus au stress ne sont pas affectés.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"Ltgqj86rYQr8D8LW"} -{"name":"Pélerinage","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Avant de pouvoir à nouveau faire usage du haut-rêve, y compris déclencher volontairement un sort mis en réserve, le haut-rêvant doit se rendre dans une certaine case des TMR déterminée aléatoirement. Un Passeur peut l’y téléporter, mais un Messager ne peut s’y rendre à sa place. Dès que la case est atteinte, le pèlerinage est accompli.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"NF4E7jTty1QGjaNj"} -{"name":"Urgence draconique","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Le haut-rêvant est pris du besoin irrésistible de déclencher immédiatement son plus proche sort en réserve. À équidistance, prendre dans le sens des aiguilles d’une montre en commençant par le haut. En cas de rencontre dans les TMR, se dérober équivaut à refouler la queue de Dragon. Si aucun sort n’est en réserve, ou si il y a impossibilité de pratiquer la magie à cause d’une autre queue ou d’un souffle, tirer à la place une idée fixe.

","refoulement":2},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"OSV2b7bVWv2SCfUY"} -{"name":"Coup de barre","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Prise immédiate de 3d6 points de fatigue.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"Qgj5eSMpQ0IDHwZX"} -{"name":"Masque de Narcos","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Pendant 1d7 jours à compter du lendemain, la caractéristique APPARENCE baisse de 1d6 points, de même que la Beauté.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"TmEeikWOQt6NZGVY"} -{"name":"Réinsertion aléatoire","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Comme après une sortie de la carte, le gardien des rêves réintroduit secrètement le demi-rêve du haut-rêvant dans les TMR.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"iHuLw0I1Gc5mIucG"} +{"_id":"0jrEZ62Q2Jz4kBGf","name":"Mauvaise rencontre en perspective","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Tirer la prochaine rencontre dans les TMR sur la @RollTable[52ymSWISvXPUhRyQ]{Table spéciale de rencontres}

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"1gGVlZM0UyifL6RK","name":"Souvenir obsessionnel de l'archétype","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Les prochains points d’expérience dus au stress doivent être mis dans une compétence déterminée aléatoirement par la table de @Compendium[foundryvtt-reve-de-dragon.tables-diverses.E0WLgjn6LA9WsvKJ]{Détermination aléatoire de compétence}.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"32LbwxxokC9Tn370","name":"Coup de foudre fatal","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

On devient immédiatement amoureux fou de la première personne inconnue de sexe opposé et de même espèce rencontrée. Tant que satisfaction n’est pas obtenue, traiter comme un désir lancinant. 

","refoulement":2},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"5knw1NcnBsLIjHpr","name":"Montée laborieuse","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Pendant un jour, monter en TMR coûte 2 points de rêve au lieu d’un, et 3 points en déplacement accéléré.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"EUrxQGd7FuW628NS","name":"Inertie draconique","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Pendant un jour, la fatigue en TMR est doublée. Chaque case ou round coûte 2 points au lieu d’un.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"J3XtcVuQo846U1OT","name":"Idée fixe","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Tirer 1d20 sur la table des @RollTable[FKXqN9FOJQHQXZ2L]{Idées fixes}. Les idées fixes prennent e!et immédiatement et durent jusqu’à l’extrême $n de l’heure du Château Dormant du lendemain. Si passé ce délai, l’occasion de les manifester ne s’est pas présentée, la queue prend $n néanmoins. Si elles entrent en contradiction avec une autre queue de Dragon, retirer.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"Ltgqj86rYQr8D8LW","name":"Désir lancinant","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Tirer 1d20 sur la table des @RollTable[wysZQFqioBqPijZM]{Désirs lancinants}. Les désirs lancinants durent jusqu’à ce qu’ils soient satisfaits ou refoulés. Tant que satisfaction n’est pas obtenue, aucun point d’expérience ne peut plus être gagné par l’exercice en cas de particulière et d’ajustement final négatif. Les points d’expérience dus au stress ne sont pas affectés.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"NF4E7jTty1QGjaNj","name":"Pélerinage","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Avant de pouvoir à nouveau faire usage du haut-rêve, y compris déclencher volontairement un sort mis en réserve, le haut-rêvant doit se rendre dans une certaine case des TMR déterminée aléatoirement. Un Passeur peut l’y téléporter, mais un Messager ne peut s’y rendre à sa place. Dès que la case est atteinte, le pèlerinage est accompli.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"OSV2b7bVWv2SCfUY","name":"Urgence draconique","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Le haut-rêvant est pris du besoin irrésistible de déclencher immédiatement son plus proche sort en réserve. À équidistance, prendre dans le sens des aiguilles d’une montre en commençant par le haut. En cas de rencontre dans les TMR, se dérober équivaut à refouler la queue de Dragon. Si aucun sort n’est en réserve, ou si il y a impossibilité de pratiquer la magie à cause d’une autre queue ou d’un souffle, tirer à la place une idée fixe.

","refoulement":2},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"Qgj5eSMpQ0IDHwZX","name":"Coup de barre","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Prise immédiate de 3d6 points de fatigue.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"TmEeikWOQt6NZGVY","name":"Masque de Narcos","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Pendant 1d7 jours à compter du lendemain, la caractéristique APPARENCE baisse de 1d6 points, de même que la Beauté.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"iHuLw0I1Gc5mIucG","name":"Réinsertion aléatoire","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Comme après une sortie de la carte, le gardien des rêves réintroduit secrètement le demi-rêve du haut-rêvant dans les TMR.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} {"_id":"iJw6j7kuP1eAHIck","name":"Amnésie sélective","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Pendant un jour, perte totale d’une compétence, à l’exclusion du Draconic. Déterminer aléatoirement la compétence visée qui, pratiquement, retourne au niveau de base. Si elle est déjà au niveau de base, en choisir une autre.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} -{"name":"Insomnie","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Impossibilité totale de dormir, et donc de rêver, pendant un jour.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"kHWwwxA0alcpDYpf"} -{"name":"Conquête","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Avant de pouvoir à nouveau faire usage du haut-rêve, y compris déclencher volontairement un sort mis en réserve, le haut-rêvant doit se rendre dans une certaine case des TMR déterminée aléatoirement et la maîtriser, difficulté -7. Ce peut être n’importe quelle case, sauf une case humide. En cas d’échec, la concentration est rompue ; il n’y a pas de souffle de Dragon en cas d’échec total.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"lBkO8FvFqXoKNhvk"} -{"name":"Dépouillement","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Faire don de toute la monnaie actuellement possédée à la première personne inconnue rencontrée. En attendant, se garder d’aucune dépense.

","refoulement":2},"flags":{},"img":"icons/svg/mystery-man.svg","_id":"vft88ioHpGxMzdML"} +{"_id":"kHWwwxA0alcpDYpf","name":"Insomnie","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Impossibilité totale de dormir, et donc de rêver, pendant un jour.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"lBkO8FvFqXoKNhvk","name":"Conquête","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Avant de pouvoir à nouveau faire usage du haut-rêve, y compris déclencher volontairement un sort mis en réserve, le haut-rêvant doit se rendre dans une certaine case des TMR déterminée aléatoirement et la maîtriser, difficulté -7. Ce peut être n’importe quelle case, sauf une case humide. En cas d’échec, la concentration est rompue ; il n’y a pas de souffle de Dragon en cas d’échec total.

","refoulement":1},"flags":{},"img":"icons/svg/mystery-man.svg"} +{"_id":"vft88ioHpGxMzdML","name":"Dépouillement","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"queue","data":{"description":"

Faire don de toute la monnaie actuellement possédée à la première personne inconnue rencontrée. En attendant, se garder d’aucune dépense.

","refoulement":2},"flags":{},"img":"icons/svg/mystery-man.svg"} diff --git a/packs/tables-diverses.db b/packs/tables-diverses.db index ebbeae1c..2c7353bc 100644 --- a/packs/tables-diverses.db +++ b/packs/tables-diverses.db @@ -1,5 +1,6 @@ {"name":"Table spéciale de rencontres","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"flags":{},"description":"","results":[{"_id":"m1sOHvOsOlFRYgg1","flags":{},"type":0,"text":"Mangeur de rêve 1d6.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[1,1],"drawn":false},{"_id":"THgTJucYdosZixxL","flags":{},"type":0,"text":"Mangeur de rêve 2d6.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[2,2],"drawn":false},{"_id":"wpUaRAW4HVRM8eOs","flags":{},"type":0,"text":"Reflet d’ancien rêve 2d6+4.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[3,3],"drawn":false},{"_id":"tPwuPqShKzWo5jkG","flags":{},"type":0,"text":"Tourbillon blanc 2d6+4.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[4,4],"drawn":false},{"_id":"sfX1CrIT7avWnIQm","flags":{},"type":0,"text":"Tourbillon noir 2d8+4.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[5,5],"drawn":false},{"_id":"Wvh7Nv4QMhrQOP30","flags":{},"type":0,"text":"Passeur fou 2d8.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[6,6],"drawn":false},{"_id":"lJ24ZLMLxXscNqy2","flags":{},"type":0,"text":"Tourbillon rouge 2d8.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[7,7],"drawn":false}],"formula":"1d7","replacement":true,"displayRoll":true,"_id":"66ye0OOxBO9LEjdd"} {"name":"Maladresses non armé","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"flags":{},"description":"","results":[{"_id":"5ExNFCB8JNMT2535","flags":{},"type":0,"text":"Assomé net : Endurance tombe à 0 et -1 pt de vie.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[2,2],"drawn":false},{"_id":"SnLYEufd9JrYDXcX","flags":{},"type":0,"text":"Ami bousculé : Le compagnon bousculé doit réussir Empathie/Vigilance à -1d6 ou être en demi-surprise jusqu’à la fin du round suivant.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[3,3],"drawn":false},{"_id":"1DtaMqWygL8BjZjw","flags":{},"type":0,"text":"Chute : Encaissement à -1d6 sur la table des Coups non mortels.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[4,4],"drawn":false},{"_id":"Fkaf51J6FMuAqEAx","flags":{},"type":0,"text":"Déséquilibré : Réussir Agilité/Vigilance à -1d6 ou être en demi-surprise jusqu’à la fin du round suivant.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[5,7],"drawn":false},{"_id":"kyAKakRIPGKr6Gdy","flags":{},"type":0,"text":"Faux mouvement : Perte de 2d6 points d’endurance.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[8,14],"drawn":false},{"_id":"CEDYz7CYFfJIQRr0","flags":{},"type":0,"text":"Ami bousculé : Le compagnon bousculé doit réussir Empathie/Vigilance à -1d6 ou être en demi-surprise jusqu’à la fin du round suivant.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[19,19],"drawn":false},{"_id":"hTKkiPGPCTDIFh0Y","flags":{},"type":0,"text":"Déséquilibré : Réussir Agilité/Vigilance à -1d6 ou être en demi-surprise jusqu’à la fin du round suivant.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[15,17],"drawn":false},{"_id":"NY1uI3k3YbJKQddk","flags":{},"type":0,"text":"Chute : Encaissement à -1d6 sur la table des Coups non mortels.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[18,18],"drawn":false},{"_id":"dSKiqZe8cXO89HgH","flags":{},"type":0,"text":"Assomé net : Endurance tombe à 0 et -1 pt de vie.","img":"icons/svg/d20-black.svg","resultId":"","weight":1,"range":[20,20],"drawn":false}],"formula":"2d10","replacement":false,"displayRoll":true,"_id":"7Py520wVyrjAgS9j"} +{"name":"Détermination aléatoire de compétence","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"flags":{},"description":"","results":[{"_id":"9sBISZqs2DL0PG9W","flags":{},"type":2,"text":"Dague","img":"systems/foundryvtt-reve-de-dragon/icons/competence_dague.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"XZNm5W8nTe8aCG61","weight":1,"range":[1,2],"drawn":false},{"_id":"eBlqM8jwRJ5PB5gm","flags":{},"type":2,"text":"Epée à 1 main","img":"systems/foundryvtt-reve-de-dragon/icons/competence_epee_1_main.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"fPhPcCP3sbS6mfbS","weight":1,"range":[3,3],"drawn":false},{"_id":"tZBAPUjyjQy8EUHO","flags":{},"type":2,"text":"Epée à 2 mains","img":"systems/foundryvtt-reve-de-dragon/icons/competence_epee_2_mains.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"MLIEbxSJHkY1m3No","weight":1,"range":[4,4],"drawn":false},{"_id":"qvfMPJP3BkpcP5Fe","flags":{},"type":2,"text":"Hache à 1 main","img":"systems/foundryvtt-reve-de-dragon/icons/competence_hache_a_1_main.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"wEfuLImdNX4BSXVi","weight":1,"range":[5,5],"drawn":false},{"_id":"Z6JR5YWaA43j98tX","flags":{},"type":2,"text":"Hache à 2 mains","img":"systems/foundryvtt-reve-de-dragon/icons/competence_hache_a_2_mains.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"F97wHYDsQ5UyvJnb","weight":1,"range":[6,6],"drawn":false},{"_id":"r5JIcqBekKckdNQt","flags":{},"type":2,"text":"Lance","img":"systems/foundryvtt-reve-de-dragon/icons/competence_lance.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"zPTXua2Kq6TeBTTZ","weight":1,"range":[7,8],"drawn":false},{"_id":"vLY1W9u2uYuhPkQV","flags":{},"type":2,"text":"Masse à 1 main","img":"systems/foundryvtt-reve-de-dragon/icons/competence_masse_1_main.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"cMHm3gQr9rUp4iPK","weight":1,"range":[9,9],"drawn":false},{"_id":"HrHsJd2KcoKr9KTJ","flags":{},"type":2,"text":"Masse à 2 mains","img":"systems/foundryvtt-reve-de-dragon/icons/competence_masse_2_mains.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"BMAloiSbDKOu3b4C","weight":1,"range":[10,10],"drawn":false},{"_id":"X87jQ9IKmiDJSdVM","flags":{},"type":2,"text":"Fléau","img":"systems/foundryvtt-reve-de-dragon/icons/competence_fleau.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"r79VAGS1fRUm4oAd","weight":1,"range":[11,12],"drawn":false},{"_id":"X21M9ux2yL5eEP97","flags":{},"type":2,"text":"Armes d'hast","img":"systems/foundryvtt-reve-de-dragon/icons/competence_armes_hast.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"rwsHwIDszSIPBkrO","weight":1,"range":[13,16],"drawn":false},{"_id":"YgAGBkMD7xY1zZ73","flags":{},"type":2,"text":"Corps à corps","img":"systems/foundryvtt-reve-de-dragon/icons/competence_corps_a_corps.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"8Uj41cL5Qlxxy675","weight":1,"range":[17,18],"drawn":false},{"_id":"wz5G0AAKv3iv8mO5","flags":{},"type":2,"text":"Arbalète","img":"systems/foundryvtt-reve-de-dragon/icons/competence_arbalete.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"lt9VC7PkX4Faiduq","weight":1,"range":[19,20],"drawn":false},{"_id":"pHWfUuHd53tv75mk","flags":{},"type":2,"text":"Arc","img":"systems/foundryvtt-reve-de-dragon/icons/competence_arc.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"tVbFkKSN4n0RSrFU","weight":1,"range":[21,22],"drawn":false},{"_id":"uWULinOEr2zT9Afy","flags":{},"type":2,"text":"Dague de jet","img":"systems/foundryvtt-reve-de-dragon/icons/competence_dague_jet.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"thJy5AN0qePmfpJu","weight":1,"range":[23,24],"drawn":false},{"_id":"Q5gHNcgr8PAw5YKC","flags":{},"type":2,"text":"Javelot","img":"systems/foundryvtt-reve-de-dragon/icons/competence_javelot.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"neuzZG2C5C0IJ1yk","weight":1,"range":[25,26],"drawn":false},{"_id":"q2cdTOR6XFhX3m6z","flags":{},"type":2,"text":"Fronde","img":"systems/foundryvtt-reve-de-dragon/icons/competence_fronde.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"iNXKIfaETtgSGA0S","weight":1,"range":[27,28],"drawn":false},{"_id":"miq7pP6fjWbV38k6","flags":{},"type":2,"text":"Fouet","img":"systems/foundryvtt-reve-de-dragon/icons/competence_fouet.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"vIQVQxUeiw36hztI","weight":1,"range":[29,30],"drawn":false},{"_id":"UitlRjiMGmRYUvlU","flags":{},"type":2,"text":"Esquive","img":"systems/foundryvtt-reve-de-dragon/icons/competence_esquive.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"oFje22fZF1FaCQhN","weight":1,"range":[31,32],"drawn":false},{"_id":"KJGW2JDBVWtrztqn","flags":{},"type":2,"text":"Bouclier","img":"systems/foundryvtt-reve-de-dragon/icons/competence_bouclier.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"SJE3ghtswQwP1dIy","weight":1,"range":[33,34],"drawn":false},{"_id":"n2qjILAd4g1xrxaW","flags":{},"type":2,"text":"Chant","img":"systems/foundryvtt-reve-de-dragon/icons/competence_chant.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"LE4nA119la5cd0bC","weight":1,"range":[35,40],"drawn":false},{"_id":"MsDPOVPwFbEUIsy7","flags":{},"type":2,"text":"Danse","img":"systems/foundryvtt-reve-de-dragon/icons/competence_danse.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"LhP3Y0qCBHNp2atl","weight":1,"range":[41,46],"drawn":false},{"_id":"hlnKnwQNu29rmXNk","flags":{},"type":2,"text":"Discrétion","img":"systems/foundryvtt-reve-de-dragon/icons/competence_discretion.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"94P55yZfeipCGbsr","weight":1,"range":[47,48],"drawn":false},{"_id":"rDtXw3Q7JMWKrYaF","flags":{},"type":2,"text":"Escalade","img":"systems/foundryvtt-reve-de-dragon/icons/competence_escalade.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"gECPPcn6j3B3sWTS","weight":1,"range":[49,50],"drawn":false},{"_id":"Mdk3L6zOs99uxkq3","flags":{},"type":2,"text":"Saut","img":"systems/foundryvtt-reve-de-dragon/icons/competence_saut.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"9ICvksiNG6Bhm8CE","weight":1,"range":[51,52],"drawn":false},{"_id":"tRMYNJVd0tzJN39A","flags":{},"type":2,"text":"Cuisine","img":"systems/foundryvtt-reve-de-dragon/icons/competence_cuisine.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"3qRzl3nhLZNsoDsI","weight":1,"range":[53,58],"drawn":false},{"_id":"tZuba0mG2fjPhJ8g","flags":{},"type":2,"text":"Course","img":"systems/foundryvtt-reve-de-dragon/icons/competence_course.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"Jz4AZdDlSjsyoUsm","weight":1,"range":[59,60],"drawn":false},{"_id":"9NYb0ZFnIVJ8nKjv","flags":{},"type":2,"text":"Dessin","img":"systems/foundryvtt-reve-de-dragon/icons/competence_dessin.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"OVcZE4kfiPYEOzgm","weight":1,"range":[61,66],"drawn":false},{"_id":"PYpbLaUERUqrCZSM","flags":{},"type":2,"text":"Séduction","img":"systems/foundryvtt-reve-de-dragon/icons/competence_seduction.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"AbM6lJ7DI2UAWLxj","weight":1,"range":[67,70],"drawn":false},{"_id":"4GIFGmx6kBMFwy4o","flags":{},"type":2,"text":"Vigilance","img":"systems/foundryvtt-reve-de-dragon/icons/competence_vigilance.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"VyAJK54OPjiRt8oH","weight":1,"range":[71,72],"drawn":false},{"_id":"WibqvGxsQ1hhEmuB","flags":{},"type":2,"text":"Bricolage","img":"systems/foundryvtt-reve-de-dragon/icons/competence_bricolage.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"tvIGIPaEJZBaySil","weight":1,"range":[73,78],"drawn":false},{"_id":"gQogDfrwBKftnrNg","flags":{},"type":2,"text":"Charpenterie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_charpenterie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"FqLWG6xjISKMLPiX","weight":1,"range":[79,84],"drawn":false},{"_id":"AhRKxgdmYdql3iJv","flags":{},"type":2,"text":"Comédie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_comedie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"2JLK5e97WbTM5WxX","weight":1,"range":[85,90],"drawn":false},{"_id":"iWONUpMsZrIovrW6","flags":{},"type":2,"text":"Commerce","img":"systems/foundryvtt-reve-de-dragon/icons/competence_defaut.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"zO7Av9hJ2vdJiPgI","weight":1,"range":[91,96],"drawn":false},{"_id":"8p2nM9b9NKgXftC6","flags":{},"type":2,"text":"Equitation","img":"systems/foundryvtt-reve-de-dragon/icons/competence_equitation.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"F5iQNrZSeJsfyTnV","weight":1,"range":[97,102],"drawn":false},{"_id":"nTs5kJa2Y1PlsdR6","flags":{},"type":2,"text":"Maçonnerie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_maconnerie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"dwGVDTUJYP9FcmWM","weight":1,"range":[103,108],"drawn":false},{"_id":"SLGmlhYD3yIv9RTw","flags":{},"type":2,"text":"Musique","img":"systems/foundryvtt-reve-de-dragon/icons/competence_musique.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"wefdYe0kvWKioPmk","weight":1,"range":[109,114],"drawn":false},{"_id":"k3MQErJ6fhaXjy5Q","flags":{},"type":2,"text":"Pickpocket","img":"systems/foundryvtt-reve-de-dragon/icons/competence_pickpocket.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"dT5cvI7q1HcrLaT1","weight":1,"range":[115,120],"drawn":false},{"_id":"nPfyawbN49pUBjmN","flags":{},"type":2,"text":"Survie en Extérieur","img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_exterieur.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"ue5iDSm2f4efQDWO","weight":1,"range":[121,122],"drawn":false},{"_id":"iQXHhRe1yaxkoI9q","flags":{},"type":2,"text":"Survie en Cité","img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_cite.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"oHnSnCw1RAW5t15S","weight":1,"range":[123,124],"drawn":false},{"_id":"ZhPRAyUuEYcG9X5z","flags":{},"type":2,"text":"Survie en Désert","img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_desert.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"vDOAyWc2YnuhNnFF","weight":1,"range":[125,126],"drawn":false},{"_id":"xKmAbx1nMbRWRaUf","flags":{},"type":2,"text":"Survie en Forêt","img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_foret.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"PbvubzCxnOSnWLpG","weight":1,"range":[127,128],"drawn":false},{"_id":"adlAhNycLEPEEDKG","flags":{},"type":2,"text":"Survie en Glaces","img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_glace.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"uGPqmorAYxv1jboC","weight":1,"range":[129,130],"drawn":false},{"_id":"gpfI4rxYtxorstEt","flags":{},"type":2,"text":"Survie en Marais","img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_marais.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"azn3Sm7XYKP78huL","weight":1,"range":[131,132],"drawn":false},{"_id":"2LTUJ4WQuFHdbUCa","flags":{},"type":2,"text":"Survie en Montagne","img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_montagne.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"BzqBOeqS6HvJhqey","weight":1,"range":[133,134],"drawn":false},{"_id":"ZU0NR8n5OzQbqvOS","flags":{},"type":2,"text":"Survie en Sous-Sol","img":"systems/foundryvtt-reve-de-dragon/icons/competence_survie_sous_sol.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"6pXxEdeo7xcDvgx0","weight":1,"range":[135,136],"drawn":false},{"_id":"PTIrHz6GbGynuX5n","flags":{},"type":2,"text":"Travestissement","img":"systems/foundryvtt-reve-de-dragon/icons/competence_travestissement.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"w9QubIHdWEUorges","weight":1,"range":[137,142],"drawn":false},{"_id":"izWJA8NgUBQ7jvwB","flags":{},"type":2,"text":"Acrobatie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_acrobatie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"zyNYa3hYtrOcF2jA","weight":1,"range":[143,144],"drawn":false},{"_id":"lZevW2I6ujT6Dy03","flags":{},"type":2,"text":"Métallurgie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_metallurgie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"CHyk96ypxMrg8VXh","weight":1,"range":[145,148],"drawn":false},{"_id":"Lpxnhk9gR0Yj2G44","flags":{},"type":2,"text":"Jeu","img":"systems/foundryvtt-reve-de-dragon/icons/competence_jeu.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"3VSMRwMYpOi83wgE","weight":1,"range":[149,152],"drawn":false},{"_id":"tXD0hBXYivgfJDhs","flags":{},"type":2,"text":"Jonglerie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_jonglerie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"owCW3nZDvlJy1kCT","weight":1,"range":[153,158],"drawn":false},{"_id":"6ymG1y1FjO6JEG5q","flags":{},"type":2,"text":"Maroquinerie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_maroquinerie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"XYMQBxFKSs2nPW0J","weight":1,"range":[159,164],"drawn":false},{"_id":"N3sEj99PrwXKqCux","flags":{},"type":2,"text":"Natation","img":"systems/foundryvtt-reve-de-dragon/icons/competence_natation.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"qBUtHhyjvrg1c34I","weight":1,"range":[165,166],"drawn":false},{"_id":"nYjtV3JAOcn1GIrw","flags":{},"type":2,"text":"Navigation","img":"systems/foundryvtt-reve-de-dragon/icons/competence_navigation.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"AXeWswf2Dth9ysvy","weight":1,"range":[167,172],"drawn":false},{"_id":"ngj5LmOpQ8upunfY","flags":{},"type":2,"text":"Orfèvrerie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_orfevrerie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"PMOjO2CdedH1UTyi","weight":1,"range":[173,176],"drawn":false},{"_id":"br0H32GMbmv8IYsl","flags":{},"type":2,"text":"Serrurerie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_serrurerie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"PMnsXDyeB8w8ZG2k","weight":1,"range":[177,178],"drawn":false},{"_id":"NWkkbA5ifEZ3hclg","flags":{},"type":2,"text":"Alchimie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_alchimie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"TAKRb9CdMUhs9dd4","weight":1,"range":[179,180],"drawn":false},{"_id":"AYR0QpNd3HJVh5UL","flags":{},"type":2,"text":"Astrologie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_astrologie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"GIIQm22Q4bBsmxpE","weight":1,"range":[181,182],"drawn":false},{"_id":"BMOTHEAQWnjfxTtc","flags":{},"type":2,"text":"Botanique","img":"systems/foundryvtt-reve-de-dragon/icons/competence_botanique.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"PmwXYvmutlyQEonB","weight":1,"range":[183,184],"drawn":false},{"_id":"H6lZzKByCVhIUldD","flags":{},"type":2,"text":"Chirurgie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_chirurgie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"BlG2YPATIbnY3m9P","weight":1,"range":[185,186],"drawn":false},{"_id":"ZkXubH48o5I7ExvT","flags":{},"type":2,"text":"Légendes","img":"systems/foundryvtt-reve-de-dragon/icons/competence_legendes.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"i3wMVkXObzlDVZTG","weight":1,"range":[187,188],"drawn":false},{"_id":"nqtBe0jgDEtvm2Ob","flags":{},"type":2,"text":"Ecriture","img":"systems/foundryvtt-reve-de-dragon/icons/competence_ecriture.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"qmIpUeedvjC8nGF1","weight":1,"range":[189,190],"drawn":false},{"_id":"dfQg2QkE2O1NLdeh","flags":{},"type":2,"text":"Médecine","img":"systems/foundryvtt-reve-de-dragon/icons/competence_medecine.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"XK2TlYnhR8FlDaEi","weight":1,"range":[191,192],"drawn":false},{"_id":"374XHlzYK5azgOch","flags":{},"type":2,"text":"Zoologie","img":"systems/foundryvtt-reve-de-dragon/icons/competence_zoologie.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"c5wursWW03ckpyqn","weight":1,"range":[193,194],"drawn":false},{"_id":"85p5T2AdujHhCrgr","flags":{},"type":2,"text":"Voie d'Oniros","img":"systems/foundryvtt-reve-de-dragon/icons/competence_oniros.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"nnR2UHelUaF8dxYn","weight":1,"range":[195,196],"drawn":false},{"_id":"VT5HflXvc0kdHFV3","flags":{},"type":2,"text":"Voie d'Hypnos","img":"systems/foundryvtt-reve-de-dragon/icons/competence_hypnos.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"bt2cR4aE6lIOeg4F","weight":1,"range":[197,198],"drawn":false},{"_id":"cmxNBwfCdgMUDGJ9","flags":{},"type":2,"text":"Voie de Narcos","img":"systems/foundryvtt-reve-de-dragon/icons/competence_narcos.png","collection":"foundryvtt-reve-de-dragon.competences","resultId":"u1Peok1EYkBcVsmN","weight":1,"range":[199,200],"drawn":false}],"formula":"1d200","replacement":false,"displayRoll":true,"_id":"E0WLgjn6LA9WsvKJ"} {"name":"Ombre de Thanatos","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"flags":{},"description":"","results":[{"_id":"wpzuulK7z3G5qffV","flags":{},"type":2,"text":"Mauvaise rencontre en perspective","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"S7se7qPnL6WDg5U5","weight":1,"range":[1,3],"drawn":false},{"_id":"SoUADgjH4T8RvdxX","flags":{},"type":2,"text":"Pélerinage","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"PYDb8gvRWeCAdPEZ","weight":1,"range":[4,6],"drawn":false},{"_id":"4hb8cPu0biIIz8b5","flags":{},"type":2,"text":"Conquête","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"N9j8K6x89BdS7ZKN","weight":1,"range":[7,9],"drawn":false},{"_id":"RXDO4FsDh4jAsDLs","flags":{},"type":2,"text":"Inertie draconique","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"PmEjVox3Q6SPF730","weight":1,"range":[10,12],"drawn":false},{"_id":"CozTCNQrrfZ59sf1","flags":{},"type":2,"text":"Urgence draconique","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"3dnmi4Fyh5eUQcyP","weight":1,"range":[13,15],"drawn":false},{"_id":"QvG73iq6hBlenhEp","flags":{},"type":2,"text":"Réinsertion aléatoire","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"yEHdCabJYx0qvoL5","weight":1,"range":[16,18],"drawn":false},{"_id":"HMyr7XykkAPWmN8t","flags":{},"type":2,"text":"Montée laborieuse","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"uQ4PwcwplvZarfn1","weight":1,"range":[19,21],"drawn":false},{"_id":"ik7dIzDzJ1wAUkgf","flags":{},"type":2,"text":"Coup de barre","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"PMz7SaB6sRxhwrWw","weight":1,"range":[22,24],"drawn":false},{"_id":"aW9V5ygWHPdW1Jtf","flags":{},"type":2,"text":"Insomnie","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"6MUcjYfxfi45STvo","weight":1,"range":[25,27],"drawn":false},{"_id":"2FYKcBFesQzcXbUA","flags":{},"type":2,"text":"Dépouillement","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"UmvGxA4cFSoRE82Z","weight":1,"range":[28,30],"drawn":false},{"_id":"IyBmZMV61fY9UYA0","flags":{},"type":2,"text":"Amnésie sélective","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"aZWuRmi8lplZQcdM","weight":1,"range":[31,33],"drawn":false},{"_id":"1j3visYhg7NhqCDT","flags":{},"type":2,"text":"Souvenir morbide de l'archétype","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"RrPMV2HW2Rg8POK1","weight":1,"range":[34,38],"drawn":false},{"_id":"lpsX7oyzuuAd64h0","flags":{},"type":2,"text":"Désir de boire du sang chaud","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"DnhuuGUEbOF95JlN","weight":1,"range":[39,42],"drawn":false},{"_id":"YunZkN9eCnjZ1D8m","flags":{},"type":2,"text":"Désir de dormir dans un cercueil","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"fO1jjVlOb6faLv3T","weight":1,"range":[43,46],"drawn":false},{"_id":"tEj1NQTA0mhzM1p1","flags":{},"type":2,"text":"Désir d'assister à une pendaison","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"wqWkQQsAPVlFw4ft","weight":1,"range":[47,50],"drawn":false},{"_id":"dosUf11v2O51O6t3","flags":{},"type":2,"text":"Désir de parler à un crâne (humain)","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"lz3ghhJzkPRWJ2jz","weight":1,"range":[51,54],"drawn":false},{"_id":"PHka9Cubw22yZe8q","flags":{},"type":2,"text":"Désir d'entendre hurler de terreur","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"twUoR8ALYiabkfoE","weight":1,"range":[55,58],"drawn":false},{"_id":"UQNVsTqU0H8DNcKy","flags":{},"type":2,"text":"Désir de blesser une femme","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"gT0PQAxlYrtITyut","weight":1,"range":[59,62],"drawn":false},{"_id":"4LrCLY6tNKSY8Yuk","flags":{},"type":2,"text":"Désir de blesser un enfant","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"2KbzOC2aj98CiQbW","weight":1,"range":[63,66],"drawn":false},{"_id":"ZuLtoh6m8e2RHcx5","flags":{},"type":2,"text":"Désir d'escalade difficile","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"2KM1yiEOE0ZdT2oL","weight":1,"range":[67,70],"drawn":false},{"_id":"QwHAJQawRnx4Go3h","flags":{},"type":2,"text":"Injurier la première personne inconnue rencontrée","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"fUKNZ0uEG2y2PkOk","weight":1,"range":[71,73],"drawn":false},{"_id":"xxC1Kj1hWxyp06lG","flags":{},"type":2,"text":"Couardise irraisonnée","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"cUkRSRz5DJYb3WM8","weight":1,"range":[74,76],"drawn":false},{"_id":"5f78aQb3Yc34DXTs","flags":{},"type":2,"text":"Héroïsme forcené","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"spYuiInqbCoDsKvd","weight":1,"range":[77,85],"drawn":false},{"_id":"YK5vMX4fw2cmezYx","flags":{},"type":2,"text":"Haine fatale","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"dFf8jaC0RvidC1ZC","weight":1,"range":[86,95],"drawn":false},{"_id":"QMsLQ7UYnGgAHX6w","flags":{},"type":2,"text":"Infarctus","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.ombres-de-thanatos","resultId":"e67rXcuO236ioYAr","weight":1,"range":[96,100],"drawn":false}],"formula":"1d100","replacement":true,"displayRoll":true,"_id":"Q4OENe3IxeVk2emd"} {"name":"Queues de dragon","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"flags":{},"description":"","results":[{"_id":"DnmiOB1RpCmVLch9","flags":{},"type":2,"text":"Mauvaise rencontre en perspective","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"A0Y6xNJccqgusFu9","weight":1,"range":[1,4],"drawn":false},{"_id":"WOwIemPaKZHdCMvr","flags":{},"type":2,"text":"Pélerinage","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"RbIr2MDloYZvCU6V","weight":1,"range":[5,8],"drawn":false},{"_id":"gfYTSiUicNZwAjRo","flags":{},"type":2,"text":"Conquête","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"f7PdCead7TNj6fvr","weight":1,"range":[9,12],"drawn":false},{"_id":"naqhaGGmAJeluTY0","flags":{},"type":2,"text":"Inertie draconique","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"j1zMO4s8N28yPCrd","weight":1,"range":[13,16],"drawn":false},{"_id":"x2yKZ5M27TS3T1sz","flags":{},"type":2,"text":"Urgence draconique","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"2mJp0yWdMLmPrUZc","weight":1,"range":[17,20],"drawn":false},{"_id":"iioHGaPajVKNkstK","flags":{},"type":2,"text":"Réinsertion aléatoire","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"NpvjeohYYKLiVHkZ","weight":1,"range":[21,24],"drawn":false},{"_id":"JYmA9tItuZcMPOOV","flags":{},"type":2,"text":"Montée laborieuse","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"VCmHG6Wy5nVzc493","weight":1,"range":[25,28],"drawn":false},{"_id":"CiDHbsTLdHa3OH0P","flags":{},"type":2,"text":"Coup de barre","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"bHME3oW78W5KZWn3","weight":1,"range":[29,33],"drawn":false},{"_id":"zlA5O6YKgVhlau0g","flags":{},"type":2,"text":"Insomnie","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"6h5MR6YoLs5o3YzS","weight":1,"range":[34,38],"drawn":false},{"_id":"fG9uQ9ZczIsiAZiu","flags":{},"type":2,"text":"Dépouillement","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"3HpT9eiyLKBdnElw","weight":1,"range":[39,43],"drawn":false},{"_id":"0E9o8Ok7XGHQn9td","flags":{},"type":2,"text":"Amnésie sélective","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"HIDyAoMlKVdLhudE","weight":1,"range":[44,48],"drawn":false},{"_id":"tR0mP1r8vZkkIZCN","flags":{},"type":2,"text":"Souvenir obsessionnel de l'archétype","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"XqZsTLnHh0YKROS2","weight":1,"range":[49,60],"drawn":false},{"_id":"6I1yzi0EXNACViG7","flags":{},"type":2,"text":"Coup de foudre fatal","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"M53L7XBZMmSboOoN","weight":1,"range":[61,65],"drawn":false},{"_id":"56YHZq0lAtlzR4W8","flags":{},"type":2,"text":"Masque de Narcos","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"Pu97rz4q8uqadLII","weight":1,"range":[66,70],"drawn":false},{"_id":"0DrCevELHAHP1djk","flags":{},"type":2,"text":"Désir lancinant","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"jOnH7WIvIB7jTFPn","weight":1,"range":[71,85],"drawn":false},{"_id":"S4rUoU2hlj6EugD4","flags":{},"type":2,"text":"Idée fixe","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.queues-de-dragon","resultId":"cERqv4KQqc7nzzJE","weight":1,"range":[86,100],"drawn":false}],"formula":"1d100","replacement":true,"displayRoll":true,"_id":"U7lFRPBHeIH8u9J1"} {"name":"Têtes de Dragon pour tous personnages","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"flags":{},"description":"Quand une tête est dite unique, retirer si le personnage la possède déjà. Quand elle est dite cumulable, le jet de dés indiqué bénéficie d’un nouveau bonus de +1 chaque fois qu’elle est ré-obtenue. Par exemple un jet de Vue à zéro devient un jet de Vue à +1.","results":[{"_id":"dVS0FZiln8xbcDVW","flags":{},"type":2,"text":"Augmentation de caractéristique","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"OFWK2rZkh1S5Hbjh","weight":1,"range":[1,7],"drawn":false},{"_id":"bMN9j7EA6quRhcjQ","flags":{},"type":2,"text":"Don de haut-rêve","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"YwmmMSH52pNJsOn3","weight":1,"range":[35,40],"drawn":false},{"_id":"tHjCWtOXt9rZcxeE","flags":{},"type":2,"text":"Souvenir immédiat de l'archétype","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"FesXnBWChHcWfrBm","weight":1,"range":[8,14],"drawn":false},{"_id":"ik6qehStjGzSysdB","flags":{},"type":2,"text":"Don de sentir les haut-rêvants","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"aAIbDFQ0Pz6XrHh6","weight":1,"range":[41,46],"drawn":false},{"_id":"m7luEPB0qCczWfe1","flags":{},"type":2,"text":"Don de sentir le mensonge","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"OZZbiBiLlM6Y8lEY","weight":1,"range":[47,52],"drawn":false},{"_id":"IPB3m4ONBmaP4O3i","flags":{},"type":2,"text":"Don de résistance à la magie","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"6gcyt965GKvDgG02","weight":1,"range":[53,58],"drawn":false},{"_id":"aLxOqRKLiuzwdzfI","flags":{},"type":2,"text":"Don de non-résistance à la magie","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"egUb65MLFFKpLnkO","weight":1,"range":[59,64],"drawn":false},{"_id":"UuFHH4vl7mRH5MLu","flags":{},"type":2,"text":"Don de contrôler son sommeil","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"N6guZDGzzZjt9GrR","weight":1,"range":[65,70],"drawn":false},{"_id":"lrQLebx8ZhV6fQRO","flags":{},"type":2,"text":"Don limité de résistance au poison","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"THAUFNSNgSHfh06l","weight":1,"range":[71,76],"drawn":false},{"_id":"A3KZpG1yyL0pMMrQ","flags":{},"type":2,"text":"Don limité de résistance à la maladie","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"CoXzAjCwGSWVM4cY","weight":1,"range":[77,82],"drawn":false},{"_id":"dN3DyGXso0ySK56W","flags":{},"type":2,"text":"Don d'apprivoiser les animaux","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"wlbbh75GZWks3Ehb","weight":1,"range":[83,88],"drawn":false},{"_id":"vJxx7hRIgmVtBuU6","flags":{},"type":2,"text":"Don d'orientation","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"slnKVCfHbLwbXi4Z","weight":1,"range":[89,94],"drawn":false},{"_id":"ZM3uOMpEwdrmkPw9","flags":{},"type":2,"text":"Don limité de guérison","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"3EqDvQ0p4f73KZl5","weight":1,"range":[95,100],"drawn":false},{"_id":"D7A37IkCI5z2z1DV","flags":{},"type":2,"text":"Don limité de réussite","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"R6LxyzYwAMCjKIr5","weight":1,"range":[15,21],"drawn":false},{"_id":"NbEruiuFMhnUna2U","flags":{},"type":2,"text":"Don de double chance","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"zzD5wN03zwq0e5Cn","weight":1,"range":[22,28],"drawn":false},{"_id":"ZBVa1vrTaBrTE9p4","flags":{},"type":2,"text":"Don de voir la magie","img":"icons/svg/mystery-man.svg","collection":"foundryvtt-reve-de-dragon.tetes-de-dragon-pour-tous-personnages","resultId":"QWouooLkM7pE2yG1","weight":1,"range":[29,34],"drawn":false}],"formula":"1d100","replacement":true,"displayRoll":true,"_id":"VyoowwZ4vJJADDxR"} diff --git a/system.json b/system.json index 2e3f875a..a9562022 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "L'implémentation de Rêve de Dragon pour FoundryVTT", - "version": "0.7.20", + "version": "0.7.21", "minimumCoreVersion": "0.6.0", "compatibleCoreVersion": "0.6.2", "templateVersion": 20, diff --git a/templates/dialog-roll-sort.html b/templates/dialog-roll-sort.html new file mode 100644 index 00000000..f6e6d10c --- /dev/null +++ b/templates/dialog-roll-sort.html @@ -0,0 +1,41 @@ +
+

+
+
+ +
+ + +
+ +
+ + +
+ +
+ +
+
+ +
+
+ +
+
+ + diff --git a/templates/dialog-tmr.html b/templates/dialog-tmr.html index 861e68b1..4f053aa3 100644 --- a/templates/dialog-tmr.html +++ b/templates/dialog-tmr.html @@ -52,7 +52,7 @@
- + Lancer un Sort