So I've recently started playing with basic respawns for my heroes, yea I know only 4 months too late right, lol. Anyways, my understanding was that disabling the hero from ever dying, hiding the unit/moving to a location, then making them reappear was the best way to achieve this. I have achieved this copying kerrigan's never die ability (kerrigan(char)), and adding a handled effect that applies a behavior that hides the unit completely which self removes after 10 seconds.
This all works fine and dandy, but I still don't understand why the Damage Response I am using works the way it does. I understand that checking 'fatal' makes it so this damage response only happens if the resulting damage 'WOULD' have killed the unit, and makes handled effect only fire at this time, but why doesn't the unit die? What part of the behavior 'TValerian03 - Queen of Blades - Don't Die' is causing the unit to never in fact die?
Look at Combat - Damage Response - Modify Fraction, that and neighbouring fields can cap the amount or fraction of damage taken (think immortal shield). Basicly with the Valerian02a - Hero Death Prevention buffs it does the same while kerrigan has a passive one all the time that reduces spell damage by 60%.
So I've recently started playing with basic respawns for my heroes, yea I know only 4 months too late right, lol. Anyways, my understanding was that disabling the hero from ever dying, hiding the unit/moving to a location, then making them reappear was the best way to achieve this. I have achieved this copying kerrigan's never die ability (kerrigan(char)), and adding a handled effect that applies a behavior that hides the unit completely which self removes after 10 seconds.
This all works fine and dandy, but I still don't understand why the Damage Response I am using works the way it does. I understand that checking 'fatal' makes it so this damage response only happens if the resulting damage 'WOULD' have killed the unit, and makes handled effect only fire at this time, but why doesn't the unit die? What part of the behavior 'TValerian03 - Queen of Blades - Don't Die' is causing the unit to never in fact die?
Look at Combat - Damage Response - Modify Fraction, that and neighbouring fields can cap the amount or fraction of damage taken (think immortal shield). Basicly with the Valerian02a - Hero Death Prevention buffs it does the same while kerrigan has a passive one all the time that reduces spell damage by 60%.
http://www.sc2mapster.com/wiki/galaxy/data/behaviors/buff/
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
I see, so since the fraction is at 0, when this happens (what would have been a killing blow) it sets the resulting damage to absolutely nothing?
Yup, that is correct.
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