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.)
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.)