diff --git a/module/item-meditation.js b/module/item-meditation.js index fb77f098..3aa6742a 100644 --- a/module/item-meditation.js +++ b/module/item-meditation.js @@ -3,7 +3,7 @@ export class RdDItemMeditation { static calculDifficulte(rollData) { if (rollData.meditation) { // Malus permanent éventuel - let diff = rollData.meditation.data.malus ?? 0; + let diff = rollData.meditation.system.malus ?? 0; if (!rollData.conditionMeditation.isHeure) diff -= 2; if (!rollData.conditionMeditation.isVeture) diff -= 2; if (!rollData.conditionMeditation.isComportement) diff -= 2; diff --git a/templates/dialog-roll-meditation.html b/templates/dialog-roll-meditation.html index 718ae819..f6ef1df4 100644 --- a/templates/dialog-roll-meditation.html +++ b/templates/dialog-roll-meditation.html @@ -4,14 +4,14 @@
{{competence.name}}
- +
- - + +
+ {{numberFormat carac.intellect.value decimals=0 sign=false}} / {{numberFormat competence.system.niveau decimals=0 sign=true}}
@@ -19,19 +19,19 @@
- +
- +
- +
- +