• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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