- changed status to resolved
AC bonuses are not being applied
Issue #275
resolved
Setup
dnd5e: 1.4.1
obsidian: 5.0.8
Steps To Reproduce
- Create player sheet
- Create custom feature on sheet
- Create Effect block and add Bonus and Filter effects
- Set Bonus effect to Formula with a value of 1
- Set Filter effect to Score->AC
Expected:
Player AC is 11 when the effect is enabled and 10 when the effect is disabled
Observed:
Player AC is 10 regardless of whether the effect is enabled or disabled
Notes:
This appears to be a regression caused by patch e099babe8450d6689d781d2444457247867526aa in dnd5e which removed the ‘value' property from data.attributes.ac. The function applyACBonuses in js/data/bonuses.js assumes this value exists and tries to both load the current ac value and then write the modified ac value to it (which sounds like a recipe for the same problem as Issue #274).
Comments (1)
-
repo owner - Log in to comment
Fixed in 5.0.9