Manee
New Member
- Reaction score
- 20
i'm trying to make the spell; Mass Sleep
but i can't get it to work
here's my code
but i can't get it to work
here's my code
Code:
Mass Sleep
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Mass Sleep
Actions
If(all conditions are true) then do (Then actions) else do (Else Actions)
If-Conditions
(Target unit of ability being cast) is a Structure equal to false
(Target unit of ability being cast) is Mechanical equal to false
Then Actions
Unit - Create 1 Sleep Dummy for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing 0.00 degrees
Unit - Add Sleep to (Last created unit)
Unit - Set Level of Sleep for (Last created unit) to (Level of Mass Sleep for (Triggering unit))
Unit - Order (Last created unit) to Undead Dreadlord - Sleep (Picked unit)
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Else-Actions