- Joined
- May 17, 2012
- Messages
- 15
Hello again. Is there a way to prevent a unit from casting instant abilities (e.g. berserk, channel no target)?
For solutions I've tried:
- ordering the unit to stop when it begins channeling. This does not interrupt instant abilities like berserk, so it does not work. I have attached a testmap which shows an example of this problem.
- removing the ability, then adding it again. This does interrupt instant abilities, but it also drains mana. I would prefer not having to store the mana cost of each level of every ability, so I do not want to do this if it is not necessary.
For solutions I've tried:
- ordering the unit to stop when it begins channeling. This does not interrupt instant abilities like berserk, so it does not work. I have attached a testmap which shows an example of this problem.
- removing the ability, then adding it again. This does interrupt instant abilities, but it also drains mana. I would prefer not having to store the mana cost of each level of every ability, so I do not want to do this if it is not necessary.