I use the Dehaka unit as a hero in my map. I give all heroes the Valerian-Hero Death Prevention so that they will go Incapacitated for a duration when they would otherwise die. For some reason, once in awhile Dehaka will die without triggering the Valerian-Hero Death Prevention. This does not happen with any other of the heroes on my map, which leads me to believe there might be something built into Dehaka that might, under certain circumstances, override the hero death prevention.
I've spent roughly 16 hours now working on this bug and am turning to you guys hopefully you might know something that I don't about Dehaka.
I know for sure that when Dehaka does occassionally die he dies "with" the Hero death prevention still on (I made the hero death prevention visible and watched slow motion replay and setup some trigger tests to see if something was removing the hero death prevention behavior) but Dehaka does in fact die with Hero death prevention on.
To clarify: Dehaka does trigger the Hero death prevention and goes incapacitated about 95% of the time when receiving a fatal blow, but there is about a 5% chance that he does permanently die.
Yes it is set to 100%. The same behavior is used for all heroes and no one else has the problem. i have nothing disabling behaviors. That is what is weird about this Dehaka is actually dieing while having hero death prevention active
The death prevention is handled by the first buff with the damage response when damage would be fatal. Unless that is disabled it will prevent death. Sure the modify fraction is still 0?
I use the Dehaka unit as a hero in my map. I give all heroes the Valerian-Hero Death Prevention so that they will go Incapacitated for a duration when they would otherwise die. For some reason, once in awhile Dehaka will die without triggering the Valerian-Hero Death Prevention. This does not happen with any other of the heroes on my map, which leads me to believe there might be something built into Dehaka that might, under certain circumstances, override the hero death prevention.
I've spent roughly 16 hours now working on this bug and am turning to you guys hopefully you might know something that I don't about Dehaka.
I know for sure that when Dehaka does occassionally die he dies "with" the Hero death prevention still on (I made the hero death prevention visible and watched slow motion replay and setup some trigger tests to see if something was removing the hero death prevention behavior) but Dehaka does in fact die with Hero death prevention on.
To clarify: Dehaka does trigger the Hero death prevention and goes incapacitated about 95% of the time when receiving a fatal blow, but there is about a 5% chance that he does permanently die.
Sure the chance of your buff is set to 100%. Does anything you have for him disable behaviours?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Yes it is set to 100%. The same behavior is used for all heroes and no one else has the problem. i have nothing disabling behaviors. That is what is weird about this Dehaka is actually dieing while having hero death prevention active
The death prevention is handled by the first buff with the damage response when damage would be fatal. Unless that is disabled it will prevent death. Sure the modify fraction is still 0?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Yes modify fraction is 0.
Is there any other behavior that you giving to him, passive or something ?
use CustomScript UnitRevive (LocalVariable of HeroUnit);
then edit Stats: Death Time Field
if you want revive, Maintain the category into Unit, and set Flags to Hero/Heroic :)