Code:
Dirge of the Wanderer
Events
Unit - A unit Begins casting an ability
Conditions
And - All (Conditions) are true
Conditions
(Ability being cast) Equal to Dirge of the Wanderer
(Unit-type of (Triggering unit)) Equal to Blind
Actions
Region - Center Dirge of the Wanderer Spirit Summon <gen> on (Position of (Target unit of ability being cast))
Unit - Hide (Triggering unit)
Unit - Order (Triggering unit) to Stop
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Random point in Dirge of the Wanderer Spirit Summon <gen>) facing (Position of (Target unit of ability being cast))
Unit - Make (Last created unit) Invulnerable
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Order (Triggering unit) to Orc Blademaster - Mirror Image
Wait 2.00 seconds
[B] If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Real((Level of Dirge of the Wanderer for (Triggering unit)))) Equal to 1.00
Then - Actions
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) - 5000.00)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Real((Level of Dirge of the Wanderer for (Triggering unit)))) Equal to 2.00
Then - Actions
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) - 15000.00)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Real((Level of Dirge of the Wanderer for (Triggering unit)))) Equal to 3.00
Then - Actions
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) - 25000.00)
Else - Actions
Do nothing[/B]
Unit - Unhide (Triggering unit)
Unit - Move (Triggering unit) instantly to (Center of Dirge of the Wanderer Spirit Summon <gen>), facing (Position of (Target unit of ability being cast))