I'm making a project using the YEP_X_ExtDoT plugin, which works perfectly for custom DoT formulas and such, but there is one very glaring issue.
If an enemy dies to a DoT, all troop events that activate on the enemy's death are skipped entirely.
For example, one of the bosses in my game uses a battleback as their visual rather than an enemy sprite, so when they die, I want that battleback to fade to black.
The example above works when the enemy dies to any damage source, but if they die by damage over time, this event does not trigger, I'm guessing because the damage takes place on the player input phase?
This kind of breaks a lot of things in my game, so I'm wondering if there's a way to bypass that or some other way to have events trigger on an enemy dying.
Any help would be much appreciated!
If an enemy dies to a DoT, all troop events that activate on the enemy's death are skipped entirely.
For example, one of the bosses in my game uses a battleback as their visual rather than an enemy sprite, so when they die, I want that battleback to fade to black.
The example above works when the enemy dies to any damage source, but if they die by damage over time, this event does not trigger, I'm guessing because the damage takes place on the player input phase?
This kind of breaks a lot of things in my game, so I'm wondering if there's a way to bypass that or some other way to have events trigger on an enemy dying.
Any help would be much appreciated!