Can Some 1 help me find a base spell for this one?
Cause i cant get ti to work......
Event:
Unit - A unit Starts the effect of an ability
Conditions:
(Ability being cast) Equal to Spiritual Rage
Actions:
For each (Integer A) from 1 to ((Level of Spiritual Rage for (Triggering unit)) x 5), do (Actions)
Loop - Actions
Set SpiritualRageTarget = (Random unit from (Units within 512.00 of (Position of (Triggering unit)) matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SpiritualRageTarget Equal to No unit
Then - Actions
Skip remaining actions
Else - Actions
Lightning - Create a lightning effect Magic Leash (Position of (Triggering unit)) (Position of SpiritualRageTarget)
Unit - Move (Triggering unit) instantly to (Position of SpiritualRageTarget)
Unit - Make (Triggering unit) face SpiritualRageTarget over 0.00 seconds
Animation - Play (Triggering unit)'s attack animation
Unit - Order (Triggering unit) to damage SpiritualRageTarget for (((Power(3.00, (Real((Level of Spiritual Rage for (Triggering unit)))))) x (10.00 x (Random real number between 1.00 and 3.00))) + 1.00) using attack type Chaos and damage type Normal.
Wait 0.25 seconds
Lightning - Destroy (Last created lightning effect)
Set SpiritualRageTarget = No unit
Unit Group - Destroy unit group (Last created unit group)
Cause i cant get ti to work......
Event:
Unit - A unit Starts the effect of an ability
Conditions:
(Ability being cast) Equal to Spiritual Rage
Actions:
For each (Integer A) from 1 to ((Level of Spiritual Rage for (Triggering unit)) x 5), do (Actions)
Loop - Actions
Set SpiritualRageTarget = (Random unit from (Units within 512.00 of (Position of (Triggering unit)) matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SpiritualRageTarget Equal to No unit
Then - Actions
Skip remaining actions
Else - Actions
Lightning - Create a lightning effect Magic Leash (Position of (Triggering unit)) (Position of SpiritualRageTarget)
Unit - Move (Triggering unit) instantly to (Position of SpiritualRageTarget)
Unit - Make (Triggering unit) face SpiritualRageTarget over 0.00 seconds
Animation - Play (Triggering unit)'s attack animation
Unit - Order (Triggering unit) to damage SpiritualRageTarget for (((Power(3.00, (Real((Level of Spiritual Rage for (Triggering unit)))))) x (10.00 x (Random real number between 1.00 and 3.00))) + 1.00) using attack type Chaos and damage type Normal.
Wait 0.25 seconds
Lightning - Destroy (Last created lightning effect)
Set SpiritualRageTarget = No unit
Unit Group - Destroy unit group (Last created unit group)