fix: utilisation d’une variable non définie

This commit is contained in:
Vivien DE BONA 2023-10-15 16:25:00 +02:00
parent ade88fb54b
commit 29ecb04ec3
No known key found for this signature in database

View File

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