diff --git a/module/controllers/bol-rolls.js b/module/controllers/bol-rolls.js index a6e1b74..0e7e421 100644 --- a/module/controllers/bol-rolls.js +++ b/module/controllers/bol-rolls.js @@ -465,10 +465,10 @@ export class BoLRoll { ui.notifications.warn("Pas assez de Points de Pouvoir !") return } - console.log("ROLLMALUS", rollData) + //console.log("ROLLMALUS", rollData) rollData.registerInit = (rollData.aptitude && rollData.aptitude.key == 'init') ? $('#register-init').is(":checked") : false; - + const isMalus = rollData.nbFlaws > rollData.nbBoons rollData.nbDice += (rollData.attackBonusDice) ? 1 : 0