Merge pull request 'fix: utilisation d’une variable non définie' (#24) from DjLeChuck/bol:fix-damage-without-armor-apply into v10

Reviewed-on: #24
This commit is contained in:
uberwald 2023-10-15 16:28:23 +02:00
commit e3b281f195

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') {