Arie
A
Arie
Hi Every1. I'm kinda new around here and really need help.
Well, this isn't not my spell (Credit Goes To hell_knight99). I just want to make it like what i want.
Ok, This is what comes in my mind. When the caster dashing to Target, i want the caster to hit the units within range 600 to be attacked.
This is the script. Take a good look.
. And Tell me what's wrong. Before and after i say Thank You!!! 
-Arie
Well, this isn't not my spell (Credit Goes To hell_knight99). I just want to make it like what i want.
Ok, This is what comes in my mind. When the caster dashing to Target, i want the caster to hit the units within range 600 to be attacked.
This is the script. Take a good look.

-
BladeRush
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Blade Rush (B)
-
-

Actions
-


Set brcaster = (Triggering unit)
-


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


Set brtargetpoint = (Position of brtarget)
-


Set brcasterpoint = (Position of brcaster)
-


Set brpoint = (Distance between brcasterpoint and brtargetpoint)
-


Set brangle = (Angle from brcasterpoint to brtargetpoint)
-


Set brangle = (Angle from brcasterpoint to brtargetpoint)
-


Set brboolean = False
-


Set brdamage = ((Real((Agility of brcaster (Include bonuses)))) x 10.00)
-


Unit - Pause brtarget
-


Unit - Make brcaster face brangle over 0.10 seconds
-


Unit - Pause brcaster
-


Animation - Change brcaster's animation speed to 500.00% of its original speed
-


Animation - Play brcaster's attack animation
-


Unit - Turn collision for brcaster Off
-


Wait 0.90 game-time seconds
-


Trigger - Turn on BladeRushMovement <gen>
-


Wait until (brboolean Equal to True), checking every 0.10 seconds
-


Trigger - Turn off BladeRushMovement <gen>
-


Unit - Unpause brtarget
-


Unit - Unpause brcaster
-


Animation - Change brcaster's animation speed to 100.00% of its original speed
-


Unit - Turn collision for brcaster On
-


Custom script: call RemoveLocation (udg_brcasterpoint)
-


Custom script: call RemoveLocation (udg_brtargetpoint)
-
-
-
BladeRushMovement
-

Events
-


Time - Every 0.05 seconds of game time
-
-

Conditions
-

Actions
-


Animation - Play brcaster's attack animation
-


Set brcasterpoint = (Position of brcaster)
-


Set brcasternearpoint = (Position of brcaster)
-


Unit - Move brcaster instantly to (brcasterpoint offset by 50.00 towards brangle degrees), facing brangle degrees
-


Set brpoint = (Distance between brtargetpoint and brcasterpoint)
-


Set brpointnear = (Distance between brtargetnearpoint and brcasternearpoint)
-


Special Effect - Create a special effect at brcasterpoint using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
-


Special Effect - Destroy (Last created special effect)
-


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



If - Conditions
-




brpoint Less than or equal to 100.00
-
-



Then - Actions
-




Unit - Cause brcaster to damage brtarget, dealing (brdamage + 1.00) damage of attack type Chaos and damage type Normal
-




Floating Text - Create floating text that reads ((String(((Integer((Real((Agility of brcaster (Include bonuses)))))) x 10))) + !) at brtargetpoint with Z offset 0.00, using font size 10.00, color (100.00%, 10.00%, 100.00%), and 0.00% transparency
-




Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-




Floating Text - Change (Last created floating text): Disable permanence
-




Floating Text - Change the fading age of (Last created floating text) to 4.00 seconds
-




Floating Text - Change the lifespan of (Last created floating text) to 6.00 seconds
-




Special Effect - Create a special effect attached to the origin of brtarget using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Special Effect - Create a special effect attached to the origin of brtarget using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Special Effect - Create a special effect attached to the origin of brtarget using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Special Effect - Create a special effect attached to the origin of brtarget using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Special Effect - Create a special effect attached to the origin of brtarget using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Set brboolean = True
-




Trigger - Turn off (This trigger)
-
-



Else - Actions
-




Do nothing
-
-
-


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



If - Conditions
-




brpointnear Less than or equal to 600.00
-
-



Then - Actions
-




Unit - Cause brcaster to damage (Random unit from (Units within 600.00 of brcasternearpoint)), dealing (brdamage + 1.00) damage of attack type Chaos and damage type Normal
-




Floating Text - Create floating text that reads ((String(((Integer((Real((Agility of brtargetnear (Include bonuses)))))) x 10))) + !) at brtargetpoint with Z offset 0.00, using font size 10.00, color (100.00%, 10.00%, 100.00%), and 0.00% transparency
-




Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-




Floating Text - Change (Last created floating text): Disable permanence
-




Floating Text - Change the fading age of (Last created floating text) to 4.00 seconds
-




Floating Text - Change the lifespan of (Last created floating text) to 6.00 seconds
-




Special Effect - Create a special effect attached to the origin of (Random unit from (Units within 600.00 of brcasternearpoint)) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Special Effect - Create a special effect attached to the origin of (Random unit from (Units within 600.00 of brcasternearpoint)) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Special Effect - Create a special effect attached to the origin of (Random unit from (Units within 600.00 of brcasternearpoint)) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Special Effect - Create a special effect attached to the origin of (Random unit from (Units within 600.00 of brcasternearpoint)) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Special Effect - Create a special effect attached to the origin of (Random unit from (Units within 600.00 of brcasternearpoint)) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Set brboolean = True
-




Trigger - Turn off (This trigger)
-
-



Else - Actions
-




Do nothing
-
-
-


Custom script: call RemoveLocation (udg_brcasterpoint)
-


Custom script: call RemoveLocation (udg_brcasternearpoint)
-
-
-Arie


