Cast
Events
Unit - A unit Starts the effect of an ability
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Fire
Then - Actions
Set Orb[3] = Orb[2]
Set Orb[2] = Orb[1]
Set Orb[1] = Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Special Effect - Destroy Effect[(Integer A)]
Special Effect - Create a special effect attached to the sprite,first of (Casting unit) using Orb[1]
Set Effect[1] = (Last created special effect)
Special Effect - Create a special effect attached to the sprite,second of (Casting unit) using Orb[2]
Set Effect[2] = (Last created special effect)
Special Effect - Create a special effect attached to the sprite,third of (Casting unit) using Orb[3]
Set Effect[3] = (Last created special effect)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Cold
Then - Actions
Set Orb[3] = Orb[2]
Set Orb[2] = Orb[1]
Set Orb[1] = Abilities\Weapons\DemonHunterMissile\DemonHunterMissile.mdl
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Special Effect - Destroy Effect[(Integer A)]
Special Effect - Create a special effect attached to the sprite,first of (Casting unit) using Orb[1]
Set Effect[1] = (Last created special effect)
Special Effect - Create a special effect attached to the sprite,second of (Casting unit) using Orb[2]
Set Effect[2] = (Last created special effect)
Special Effect - Create a special effect attached to the sprite,third of (Casting unit) using Orb[3]
Set Effect[3] = (Last created special effect)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Lightning
Then - Actions
Set Orb[3] = Orb[2]
Set Orb[2] = Orb[1]
Set Orb[1] = Abilities\Spells\NightElf\CorrosiveBreath\CorrosiveBreathMissile.mdl
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Special Effect - Destroy Effect[(Integer A)]
Special Effect - Create a special effect attached to the sprite,first of (Casting unit) using Orb[1]
Set Effect[1] = (Last created special effect)
Special Effect - Create a special effect attached to the sprite,second of (Casting unit) using Orb[2]
Set Effect[2] = (Last created special effect)
Special Effect - Create a special effect attached to the sprite,third of (Casting unit) using Orb[3]
Set Effect[3] = (Last created special effect)
Else - Actions
Custom script: call DisplayTextToForce( GetPlayersAll(),udg_Orb[1] + " |n " + udg_Orb[2] + " |n " + udg_Orb[3])