diff --git a/module/actor.js b/module/actor.js index 9d7fade3..d2419f50 100644 --- a/module/actor.js +++ b/module/actor.js @@ -142,7 +142,7 @@ export class RdDActor extends Actor { /* -------------------------------------------- */ async performRoll(rollData, attacker = undefined) { // garder le résultat - rollData.rolled = await RdDResolutionTable.rollData(rollData); + await RdDResolutionTable.rollData(rollData); //console.log("performRoll", rollData) if ( !rollData.attackerRoll) {// Store in the registry if not a defense roll diff --git a/module/rdd-resolution-table.js b/module/rdd-resolution-table.js index 534667f3..66f3a8f6 100644 --- a/module/rdd-resolution-table.js +++ b/module/rdd-resolution-table.js @@ -100,7 +100,6 @@ export class RdDResolutionTable { /* -------------------------------------------- */ static async rollData(rollData ) { rollData.rolled = await this.roll(rollData.caracValue, rollData.finalLevel, rollData.bonus); - return rollData; } /* -------------------------------------------- */