Trigger :
It's a chain spell , but it uses region to aquire a target.
The hero damages the unit and moves instantly beside it.
However the spell damages the hero and dead units such as skeletons , corpses.
Help me please and i thank you from the bottom of my heart.
-
Dance Of Death 1
-

Events
-


Unit - A unit Begins casting an ability
-
-

Conditions
-


(Ability being cast) Equal to Dance Of Death
-


(Level of Dance Of Death for (Casting unit)) Equal to 1
-
-

Actions
-


Wait 0.50 seconds
-


Set DanceOfDeath = (Position of (Target unit of ability being cast))
-


Set Target = (Target unit of ability being cast)
-


Region - Center Dance Of Death <gen> on DanceOfDeath
-


Unit - Cause (Casting unit) to damage Target, dealing 100.00 damage of attack type Spells and damage type Normal
-


Unit - Move (Casting unit) instantly to DanceOfDeath
-


Special Effect - Create a special effect at DanceOfDeath using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-


Special Effect - Destroy (Last created special effect)
-


Custom script: call RemoveLocation(udg_DanceOfDeath)
-


Wait 0.50 seconds
-


Set Target = (Random unit from (Units in Dance Of Death <gen>))
-


Set DanceOfDeath = (Position of Target)
-


Region - Center Dance Of Death <gen> on DanceOfDeath
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Target Not equal to (Casting unit)) or ((Target is alive) Equal to True)
-
-



Then - Actions
-




Unit - Cause (Casting unit) to damage Target, dealing 100.00 damage of attack type Spells and damage type Normal
-




Unit - Move (Casting unit) instantly to DanceOfDeath
-




Special Effect - Create a special effect at DanceOfDeath using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Custom script: call RemoveLocation(udg_DanceOfDeath)
-




Wait 0.50 seconds
-




Set Target = (Random unit from (Units in Dance Of Death <gen>))
-




Set DanceOfDeath = (Position of Target)
-




Region - Center Dance Of Death <gen> on DanceOfDeath
-
-



Else - Actions
-




Do nothing
-
-
-
-
It's a chain spell , but it uses region to aquire a target.
The hero damages the unit and moves instantly beside it.
However the spell damages the hero and dead units such as skeletons , corpses.
Help me please and i thank you from the bottom of my heart.
Last edited:
