Closed trey-kirk-sp closed 3 years ago
"DeathSave" is a derived campaign property that's part of the family of:
StrengthSave, DexteritySave, ConstitutionSave, IntelligenceSave, WisdomSave, CharismaSave, DeathSave
with a formula of
{floor(bonus.deathSave + (Proficiency * max (proficiency.deathSave, proficiency.allSave)) + bonus.allSave)}
Unfortunately, ddn5e_applyHealth.command clashes with that property name:
[h: deathSave = if (visible == 1 && (bar == "DSPass" || bar == "DSFail"), 1, 0)]
Which effectively overwrites the token's DeathSave property to 0 or 1. Just need to go into applyHealth and refactor that variable name.
Fixed in hash ea060ac0f
"DeathSave" is a derived campaign property that's part of the family of:
with a formula of
Unfortunately, ddn5e_applyHealth.command clashes with that property name:
Which effectively overwrites the token's DeathSave property to 0 or 1. Just need to go into applyHealth and refactor that variable name.