I'm making a passive ability that causes poisonous gases to spread when the hero dies. That's ok, I can do that, but i need a cooldown to it(like reincarnation). I could only make the ability by a "trigger-run" timer (if we can call that), but this way the passive icon doesn't have a cooldown timer... is there any possible way to do that? what ability should i base it on?
i tried the spell shield that you suggested, but it's not what i need, cause it can be activated manually too by clicking on it. or it would be good if i could detect if the reincarnation is active when a hero dies. if i could manage to do that, than i would kill the reincarnated unit instantly with a dummy or something. any suggestions?
well if a unit reincarnates, it casts reincarnate4 right? so just make a trigger with the event: unit casts an ability. conditon: ability = the reincarnation based spell actions: ........
try using 'a unit starts the effect of an ability' or if hat doesnt work, check if a unit has the reincarnate buff (a unit has the buff till it comes back to life again right?)
well wut if u made a trigg when he is at X% life he cast a modifed norm war stomp that targets nothing so he will have a cd but u would have to play around with the event a bit