From 2f2d3ced8657dc9b8e79a32799cc84e680c3478c Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Mon, 14 Dec 2020 02:06:55 +0100 Subject: [PATCH] fix jets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ajustement astrologique sur appel à la chance - une entité de cauchemar peut avoir à faire une significative --- module/rdd-roll.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/module/rdd-roll.js b/module/rdd-roll.js index 8b57c191..f4d0a520 100644 --- a/module/rdd-roll.js +++ b/module/rdd-roll.js @@ -44,16 +44,10 @@ export class RdDRoll extends Dialog { surencMalusApply: false, isNatation: rollData.competence ? rollData.competence.name.toLowerCase().includes("natation") : false, useEncForNatation: false, - encValueForNatation: actor.encombrementTotal ? Math.floor(actor.encombrementTotal) : 0 - // , - // ajustementAstrologique: actor.ajustementAstrologique() + encValueForNatation: actor.encombrementTotal ? Math.floor(actor.encombrementTotal) : 0, + ajustementAstrologique: actor.ajustementAstrologique() }, { overwrite: false }); - - if (actor.isEntiteCauchemar()) - { - rollData.needSignificative = false; - } } /* -------------------------------------------- */