Goober4473
TH.net Regular
- Reaction score
- 7
I'm creating a custom ability based on Death Pact, which checks a unit classification and gives health or mana depending on the type. This is pretty easy and already coded up, but I've hit a problem. Death Pact works only on undead units, and there doesn't seem to be a way to change that.
This wouldn't be a problem at all, since I could just use a dummy ability and add one command in my trigger to kill the target, but I need the AI to use this ability in a melee game.
So, is there another spell that will be cast on an ally when health/mana is low that I can base this on, besides of course Dark Ritual, which also targets only undead? Or some other way around this?
This wouldn't be a problem at all, since I could just use a dummy ability and add one command in my trigger to kill the target, but I need the AI to use this ability in a melee game.
So, is there another spell that will be cast on an ally when health/mana is low that I can base this on, besides of course Dark Ritual, which also targets only undead? Or some other way around this?