- Joined
- Sep 26, 2009
- Messages
- 441
For whatever reason returning the unit to previous owner does not work. See if you can check out the problem. I think the problem is that I have the same variable for every spell but I'm not entirely sure. This is the spell.
-
Eternal Fear level 1
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Eternal Fear
-
(Level of (Ability being cast) for (Triggering unit)) Equal to 1
-
-
Actions
-
Set Target_Unit = (Target unit of ability being cast)
-
Unit - Change ownership of Target_Unit to Neutral Passive and Retain color
-
Unit - Order Target_Unit to Move To (Random point in (Region centered at (Position of (Target unit of ability being cast)) with size (2400.00, 2400.00)))
-
Wait 8.00 seconds
-
Unit - Order Target_Unit to Attack (Triggering unit)
-
Unit - Change ownership of Target_Unit to (Previous owner) and Retain color
-
-