Fix malus dice (again) and scroll rendering

This commit is contained in:
2022-11-25 14:24:03 +01:00
parent 5e7dc3ad9d
commit e35187433e
4 changed files with 6 additions and 5 deletions

View File

@ -498,7 +498,7 @@ export class BoLRoll {
rollData.registerInit = (rollData.aptitude && rollData.aptitude.key == 'init') ? $('#register-init').is(":checked") : false;
const isMalus = rollData.nbFlaws > rollData.nbBoons
const isMalus = (rollData.bmDice < 0)
//rollData.nbDice += (rollData.attackBonusDice) ? 1 : 0
let rollbase = rollData.attrValue + rollData.aptValue