foundryvtt / dnd5e

An implementation of the 5th Edition game system for Foundry Virtual Tabletop (http://foundryvtt.com).
MIT License
332 stars 221 forks source link

[Bug] Disabling an active effect that has a status effect attached to it, still highlights those status effects on the token hud #3338

Closed maxobremer closed 6 months ago

maxobremer commented 7 months ago

When you apply an effect that has a status effect on it, like the hold person spell effect from the srd spell compendium, the status effect is still highlighted on the token hud, even when the active effect that they came from is disabled. image

arbron commented 7 months ago

Hmm, as far as I can tell this is actually a core issue. Core sets the active status of these statuses by iterating over an actor's active effects and grabbing any statuses defined on them, ignoring the disabled status of the active effect.

Checked V12 and looks like this issue is fixed, but in that instance it simply doesn't highlight any status effects that are applied through unrelated AEs.