[SOLVED] My hocus pocus not working 
Hi
, well, I'm doing a skill that is supossed to return a Chain Lightning every time Orc Hammersmith 0029 gets damage to the damage source, but, obviously, If i'm here it's because something's wrong.
Well anyways these are the triggers
And here is Static Return
Hi

-
Static Init
-
Events
-
Unit - A unit Is issued an order with no target
-
-
Conditions
-
(Level of Static for (Triggering unit)) Greater than 0
-
Or - Any (Conditions) are true
-
Conditions
-
(Issued order) Equal to (Order(immolation))
-
(Issued order) Equal to (Order(unimmolation))
-
-
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Issued order) Equal to (Order(immolation))
-
-
Then - Actions
-
Trigger - Turn on Static Return <gen>
-
-
Else - Actions
-
Trigger - Turn off Static Return <gen>
-
-
-
-
-
Static Return
-
Events
-
Unit - Orc Hammersmith 0029 <gen> Takes damage
-
-
Conditions
-
Actions
-
Set Static_Point = (Position of (Damage source))
-
Unit - Create 1 Dummy Unit for (Owner of Orc Hammersmith 0029 <gen>) at Static_Point facing Default building facing degrees
-
Set Static_Dummy = (Last created unit)
-
Unit - Add Chain Lightning (Static) to Static_Dummy
-
Unit - Set level of Chain Lightning (Static) for Static_Dummy to (Level of Static for Orc Hammersmith 0029 <gen>)
-
Unit - Order Static_Dummy to Orc Far Seer - Chain Lightning (Damage source)
-
Unit - Add a 0.50 second Generic expiration timer to Static_Dummy
-
Custom script: call RemoveLocation (udg_Static_Point)
-
-
Last edited: