Hi guys. I was wondering why in this trigger, the sleep effect does not show at all.
Trigger:
Trigger:
-
Rest Loop
-

Events
-


Time - Every 1.30 seconds of game time
-
-

Conditions
-

Actions
-


Unit Group - Pick every unit in Resting_Units and do (Actions)
-



Loop - Actions
-




Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + (0.04 x (Max life of (Picked unit))))
-




Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) + (0.04 x (Max mana of (Picked unit))))
-




Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\Sleep\SleepTarget.mdl
-




Special Effect - Destroy (Last created special effect)
-
-
-
-

