mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-24 08:23:38 +02:00
Restored damageReductionDialog armorScore.value
This commit is contained in:
parent
799bd91185
commit
6479f9d750
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ export default class DamageReductionDialog extends HandlebarsApplicationMixin(Ap
|
||||||
const stressReductions = this.availableStressReductions
|
const stressReductions = this.availableStressReductions
|
||||||
? Object.values(this.availableStressReductions).filter(red => red.selected)
|
? Object.values(this.availableStressReductions).filter(red => red.selected)
|
||||||
: [];
|
: [];
|
||||||
const currentMarks = this.actor.system.armorScore.current + selectedArmorMarks.length;
|
const currentMarks = this.actor.system.armorScore.value + selectedArmorMarks.length;
|
||||||
|
|
||||||
const maxArmorUsed = this.actor.system.rules.damageReduction.maxArmorMarked.value + selectedStressMarks.length;
|
const maxArmorUsed = this.actor.system.rules.damageReduction.maxArmorMarked.value + selectedStressMarks.length;
|
||||||
const availableArmor =
|
const availableArmor =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue