fix: utilisation d’une variable non définie #24

Merged
uberwald merged 1 commits from DjLeChuck/bol:fix-damage-without-armor-apply into v10 2023-10-15 16:28:24 +02:00

View File

@ -472,7 +472,7 @@ export class BoLUtility {
console.log("Armor roll -> result ", rollData) console.log("Armor roll -> result ", rollData)
} }
if (defenseMode == 'damage-without-armor') { if (defenseMode == 'damage-without-armor') {
rollData.finalDamage = atrollDatatackDef.damageTotal rollData.finalDamage = rollData.damageTotal
defender.sufferDamage(rollData.finalDamage) defender.sufferDamage(rollData.finalDamage)
} }
if (defenseMode == 'hero-reduce-damage') { if (defenseMode == 'hero-reduce-damage') {