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:
commit
e3b281f195
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user