Amélirations des specialisations

This commit is contained in:
2023-10-10 20:02:13 +02:00
parent 6778a9aa0b
commit 81848155e5
37 changed files with 120 additions and 88 deletions

View File

@ -516,7 +516,7 @@ export class EcrymeUtility {
}
if (rollData.selectedSpecs && rollData.selectedSpecs.length > 0) {
rollData.spec = actor.getSpecialization(rollData.selectedSpecs[0])
diceFormula += "+2"
diceFormula += "+" + (String(rollData.spec.system?.bonus) || "2")
}
rollData.bonusMalusTraits = 0
if (rollData.traitsBonus && rollData.traitsBonus.length > 0) {