It doesn't damage the enemy after Sleep goes off
-
Damnation
-
Events
- Unit - A unit starts the effect of an Ability
-
Conditions
- (Ability being cast) Equal to Damnation
-
Actions
- Set Temppoint = (Position of (Target unit of ability being cast))
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Temppoint2 facing default building facing degrees
- Custom script: call RemoveLocation(udg_Temppoint)
- Unit - Add Damnation dummy sen to (Last created unit)
- Unit - Order (Last created unit) to Undead - Dreadlord: Sleep (Target unit of ability being cast)
- Unit - Add a 2.00 second generic expiration timer to (Last created unit)
- Unit - Remove Damnation dummy sen from (Last created unit)
- Unit Group - Add (Target unit of ability being cast) to NW_Group
-
Events
-
Sleep damage
-
Events
- Time - Every 2.00 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in NW_Group and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) has buff Sleep) Equal to False
-
Then - Actions
- Set Temppoint = (Position of (Target unit of ability being cast))
- Unit - Create 1 Dummy for Neutral - Hostile at Temppoint2 facing default building facing degrees
- Custom script: call RemoveLocation(udg_Temppoint)
- Unit - Add a 2.00 second generic expiration timer to (Last created unit)
- Unit - Cause (Last created unit) to damage (Picked unit), dealing 175.00 damage of attack type Normal and damage type Normal
- Special Effect - Create a special effect attached to the origin of (Picked unit) using war3mapImported\Damnation Orange.mdx
- Special Effect - Destroy (Last created special effect)
- Unit Group - Remove (Picked unit) from NW_Group
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in NW_Group and do (Actions)
-
Events