Manage weapons

This commit is contained in:
2023-01-22 20:27:22 +01:00
parent 17e8fb4aa6
commit 8f9ecff285
5 changed files with 81 additions and 43 deletions

View File

@@ -536,6 +536,9 @@ export class Avd12Utility {
if (rollData.skill && rollData.skill.good) {
diceFormula += "+1d4"
}
if (rollData.weapon ) {
diceFormula += "+" + rollData.weapon.attackBonus
}
rollData.diceFormula = diceFormula
// Performs roll