- Joined
- Sep 3, 2006
- Messages
- 14
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
Anyone know what is wrong?
So my code
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?