Warcraft III resources & community, 2003–2006 · archived

Channeling Spell

5 posts
#1

Channeling Spell

Alright I have been trying to make a Mental Domination skill for my map and I hit a bit of an impasse. It is supposed to have a permanent effect on creeps and channel against heroes. But the problem is that once I change their ownership the spell craps out because it can't target allies.

Now I have tried about 30 combinations of allowed targets and I can't make it work. So does anyone know how I can make this damned spell function properly?
#2
Perhaps if you turn the non-agression between the target and the caster off with the action:
Player - Set Aspect of Alliance
[i]For owner of casting unit, turn alliance (non-agression) Off toward owner of target unit of ability being cast.


I don't know if it works perfectly for what you want, is only an idea, but I think that would help u! :wink:
#3
Use channel. Have targets valid as both enemies and allies, and trigger the spell so that it cannot be cast directly over allies. That should do it!

~Daelin
#4
What spell did you base it on?

Some spells have to do something, like life drain need to drain for example 0.01 life every 9999999999 seconds or something, it's the same with other spells, they have to do something, else they'll bug out.
#5
It is currently based on Drain Life, but its the fact that it is hardcoded to not hit allies, no matter if you change the damned targets.

Hmm channel you say? I'll give that a try.