- Joined
- Jan 24, 2009
- Messages
- 606
-
Holy Taunt Healing
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Holy Taunt
-
-
Actions
-
Set HT_Point = (Position of (Triggering unit))
-
Set HT_Group = (Units within 550.00 of HT_Point matching ((((Triggering unit) belongs to an ally of (Owner of (Triggering unit))) Equal to True) and ((((Triggering unit) is A structure) Equal to False) and (((Triggering unit) is Mechanical) Equal to False))))
-
Set level = (Level of Holy Taunt for (Triggering unit))
-
Unit Group - Pick every unit in HT_Group and do (Actions)
-
Loop - Actions
-
Unit - Create 1 DUMMY for (Owner of (Triggering unit)) at HT_Point facing Default building facing degrees
-
Unit - Add a 1.37 second Generic expiration timer to (Last created unit)
-
Unit - Add Holy Taunt Dummy to (Last created unit)
-
Unit - Set level of Holy Taunt Dummy for (Last created unit) to level
-
Unit - Order (Last created unit) to Human Paladin - Holy Light (Picked unit)
-
-
-
Custom script: call RemoveLocation(udg_HT_Point)
-
Custom script: call DestroyGroup(udg_HT_Group)
-
Set level = 0
-
-
I think it's leaking but i can't seem to figure WHY!
Cuse when i use the spell alot of times it's Lagging suddenly When the unit is casting it.....