I want my main unit to gain X energy for every enemy unit I kill with him. Is this possible?
I'm going this approach instead of regeneration because it's kind of fast paced, wave assaults and waiting for Energy is not very fun to use the abilities, but I don't want insane regeneration to just completely rely on abilities. I guess I could rely on an optimized regeneration mechanic if this isn't possible.
But on a serious note: I want a Unit with a ranged attack to gain Energy whenever it kills another Unit with a spell or his weapon. I tried the solution above with the behavior, but I suppose this behavior has to be applied to the dying unit (not the killer)? Is there a way to make it work on the killing unit only instead of adding this behavior to every other unit?
Hi, got a predicament here.
I want my main unit to gain X energy for every enemy unit I kill with him. Is this possible?
I'm going this approach instead of regeneration because it's kind of fast paced, wave assaults and waiting for Energy is not very fun to use the abilities, but I don't want insane regeneration to just completely rely on abilities. I guess I could rely on an optimized regeneration mechanic if this isn't possible.
Thanks
Based on damage done: Leech Vitals in the Damage Effect.
Set amount per kill: Behavior for the unit, Damage Response chance 1, check Fatal, location Attacker, Handled effect Modify Unit to add the energy.
@RileyStarcraft: Go
Thanks a bunch. It seems to work :D
Holy necro!
But on a serious note: I want a Unit with a ranged attack to gain Energy whenever it kills another Unit with a spell or his weapon. I tried the solution above with the behavior, but I suppose this behavior has to be applied to the dying unit (not the killer)? Is there a way to make it work on the killing unit only instead of adding this behavior to every other unit?