Long story short, doing a TD and one of my towers applies a DoT behavior to units. I was running into a bug where if this tower shot the last enemy in a wave and the unit died by the DoT effect the next wave never came. (Have a trigger that runs a check whenever a unit dies and if it's the last unit of the wave it will proceed to next wave. Come to find out that my DoT behavior actually isn't killing the unit even though the unit explodes.
Here is the damage over time behavior that is applied "Modifications+ life regeneration bonus -2" so every second that goes by the unit degenerates 2 health for the duration of the behavior. But like I said when a unit dies this way the game doesn't recognize this as a death. The player who built the tower that applied the buff also doesn't get any bounty reward when the unit dies.
So my question is simple: How are you guys setting up DoT effects? I want to make sure when a player that applies the DoT effect to the unit gets credit for killing it when the unit kills over down the road. Also that the game picks it up as a legitimate kill (and that my trigger recongizes it as a death). Thank you in advance.
Long story short, doing a TD and one of my towers applies a DoT behavior to units. I was running into a bug where if this tower shot the last enemy in a wave and the unit died by the DoT effect the next wave never came. (Have a trigger that runs a check whenever a unit dies and if it's the last unit of the wave it will proceed to next wave. Come to find out that my DoT behavior actually isn't killing the unit even though the unit explodes.
Here is the damage over time behavior that is applied "Modifications+ life regeneration bonus -2" so every second that goes by the unit degenerates 2 health for the duration of the behavior. But like I said when a unit dies this way the game doesn't recognize this as a death. The player who built the tower that applied the buff also doesn't get any bounty reward when the unit dies.
So my question is simple: How are you guys setting up DoT effects? I want to make sure when a player that applies the DoT effect to the unit gets credit for killing it when the unit kills over down the road. Also that the game picks it up as a legitimate kill (and that my trigger recongizes it as a death). Thank you in advance.
Periodic damage effect.
@RileyStarcraft: Go
Thank you!