Sante et autrs

This commit is contained in:
2022-06-06 18:49:39 +02:00
parent 665feac605
commit fb6463aba5
15 changed files with 654 additions and 127 deletions

View File

@ -318,7 +318,10 @@ export class MournbladeUtility {
} else {
rollData.diceFormula += `+${rollData.attr.value}*2+${rollData.modificateur}`
}
if (rollData.arme) {
rollData.diceFormula += `+${rollData.arme.data.bonusmaniementoff}`
}
let myRoll = new Roll(rollData.diceFormula).roll({ async: false })
await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode"));
rollData.roll = myRoll