Looks like a character with a mode active can die and end up stuck with the effect permanently.
Report from Julian:
- My warrior (him again !!) has a perma 'Rage exhaust' ... -25 action points. When i use Rage again, i get another Rage Exhaust, so i end at -50 ap. With my buff on boots, let's deal at 58 ! I was looking how to remove it from the code but i have an hard time :)
I looked in the code, class Entity, line 434, methode applyEffect, you apply the Effect bonus (so my rage exhaust) before adding the effect in the list. I suggest to test if the effects already exists, if yes, renew the duration / reactivate, else apply the bonus. Or do a clean up script to remove orphelin Aura / effect while switching zone.
I think this appened to me in the Haunted House. I engaged the first fight just after the entrance. My warrior used Rage, my rogue died (hit at 90 by a wraith). So just after i moved my mage to the exit portal to test if i could escape.