Warcraft III resources & community, 2003–2006 · archived

Problems with heal based spell

5 posts
#1

Problems with heal based spell

Basically, the spell is an anti heal. A hurt unit loses health when he uses this spell. When it comes gets anti-healed, it is slowed as well.

So my code
Excorcise
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Excorcise
Actions
Set ExPoint = (Position of (Triggering unit))
Set Ex_Target = (Target unit of ability being cast)
Unit - Create 1 ExDummy for (Owner of (Triggering unit)) at ExPoint facing ExPoint
Wait 0.01 seconds
Unit - Order (Last created unit) to Orc Shaman - Purge Ex_Target
Unit - Remove (Last created unit) from the game



Anyone know what is wrong?
#2
maybe you can tell us what's not working first?
#3
The anti-heal damage works, but the dummy doesn't cast the slow spell
#4
maybe u used the neutral hostile slow. when u use the function 'human sorceress - slow' it doesnt cast slow spells not based on the sorceress' slow spell
#5
It still doesnt do anything.

The aniti heal still only does damage and the slow doesnt cast.