Page 1 of 1

Postmortem temporary effects

Posted: Thu Dec 05, 2013 4:12 am
by Castler
While playtesting my module, something similar to the following happened.

Code: Select all

Fire ant takes 3 bleeding damage.
Player killed fire ant!
Fire ant has regained its balance.
In other words, the bleeding temporary effect killed it, then the off balance temporary effect expired.

While I'm happy that the fire ant is well-balanced in the afterlife :), it seems like it would make sense for ActorTemporaryEffects:timedEffects to skip calling on_timeout if self.dead. Or would this cause problems for other temporary effects?

Re: Postmortem temporary effects

Posted: Thu Dec 05, 2013 1:08 pm
by 0player
Arcane vortex, for one, explodes when it ends on a dead creature.

Re: Postmortem temporary effects

Posted: Sun Dec 08, 2013 4:31 am
by Castler
But that's handled by a special on_die on EFF_ARCANE_VORTEX, not by the regular timeout.

I realized that I can easily avoid this by having Actor:die call self:removeAllEffects(), so while I still think it would be a useful change, it's easy enough to work around.

However, this workaround raises another request: Could ActorTemporaryEffects:removeAllEffects support silent and force parameters, just like ActorTempoaryEffects:removeEffect does?