So I'm working on this hero. One of his abilities does the following: On killing a creep (non hero) he gains some health and health regneration for a few seconds. This is supposed to be stackable and stacks refresh the previous stacks duration. On killing a hero, this amount is increased. Honestly, I have no idea where to start with this, and I'm pretty new to the editor. I would greatly appreciate any help.
Give the enemy units a buff with a damage response on Defender when damage is fatal that applies the buff stack to the killing unit. Heroes just have a different one that adds more stacks.
If you want only that hero to have the benefit, just create an aura like ability that applies the buff to the enemies and set the damage response to only work for the damage effect of the weapons on your hero like the massive void ray vulnerability buff.
Contribute to the wiki (Wiki button at top of page)
Considered easy altering of the unit textures?
For my public assets look here!
Thanks for the response, but I'm still not sure what to do. The only "response" I see is "Death Response." So I was thinking that I would use that to link the effect that applies a buff with the health + health regen.
Look how the campaign does it for the valerian02b hero ko buffs.
I know, wrong forum, but you may actually find this easier with triggers. There's an event that is "Unit Dies" and then a condition that's "Killing unit is [x]" and then just make the action add the behavior. Evil's advice is spot on though, too (as usual).
Hey, thanks that was easier. I was shying away from triggers, but I suppose I will start using them now.
Depends on what best fits the requirements. Triggers can do some stuff data cannot and data can do stuff more efficiently than some triggers.
I have one more question in order to finish this ability. How do I make the actor work so that it is always on when the behavior is active?
actors tabyour actor events +behavior.(name of behavior).on -createbehavior.(name of behavior).off -destroy
I'm watching you
Need Help with dialogs? Use Dialogception
Thank you sir.
You must login to post a comment. Don't have an account? Register to get one!