MonsterBlocks
MonsterBlocks copied to clipboard
Resolves #215 Condition Immunities are not displayed
Fixes #215. The condition immunity display uses the damage.hbs template but didn't set trait.selected or trait.visible anywhere. As a result the condition immunities were never rendered because visible was always false. Resolved by adding a setup function specifically for the condition immunity text. (Alternatively you could add it to the array in updateDamageImmunityResistanceVulnerabilityText, but that introduces some redundant lookups.)
I'm not sure if this got superseded by one of the other PRs or not.