• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Blink Attack Help!

Status
Not open for further replies.
Level 4
Joined
Mar 18, 2007
Messages
31
Can Some 1 help me find a base spell for this one?:infl_thumbs_up:
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)
 
Status
Not open for further replies.
Top