ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Sun Jul 22, 2018 12:37 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Dec 05, 2013 4:12 am 
Offline
Thalore

Joined: Mon Mar 25, 2013 10:09 pm
Posts: 153
While playtesting my module, something similar to the following happened.

Code:
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?

_________________
Qi Daozei (QDZ) - an Oriental-themed fantasy game for T-Engine. ToME Tips - auto-generated spoilers for ToME.


Top
 Profile  
 
PostPosted: Thu Dec 05, 2013 1:08 pm 
Offline
Uruivellas

Joined: Fri May 24, 2013 4:27 pm
Posts: 716
Arcane vortex, for one, explodes when it ends on a dead creature.


Top
 Profile  
 
PostPosted: Sun Dec 08, 2013 4:31 am 
Offline
Thalore

Joined: Mon Mar 25, 2013 10:09 pm
Posts: 153
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?

_________________
Qi Daozei (QDZ) - an Oriental-themed fantasy game for T-Engine. ToME Tips - auto-generated spoilers for ToME.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group