Update to v11

This commit is contained in:
2023-09-30 08:22:45 +02:00
parent 5477e2be4b
commit 79333f8b14
2 changed files with 5 additions and 6 deletions

View File

@ -293,7 +293,7 @@ export class DarkStarsUtility {
myRoll = new Roll(rollData.diceFormula).roll({ async: false })
await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode"))
}
rollData.roll = myRoll
rollData.roll = duplicate(myRoll)
rollData.diceResult = myRoll.total
rollData.isCriticalSuccess = rollData.diceResult <= rollData.skill.derivated.value
rollData.isCriticalFailure = rollData.diceResult == 100