forked from public/bol
fix flaws usage
This commit is contained in:
parent
1135e3aff2
commit
aa27168c2b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user