ok so i have a basic spell that will move the unit to the target and will gain bonus attack speed bonus for a short period of time
although if i remove the wait the spell doesn't go on cool down witch is pree much the only reason its there
-
Rift Strike
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Rift Strike
-
-
Actions
-
Wait 0.20 seconds
-
Set Caster_loc = (Position of (Casting unit))
-
Set Target_loc = ((Position of (Target unit of ability being cast)) offset by -50.00 towards (Angle from Caster_loc to (Position of (Target unit of ability being cast))) degrees)
-
Special Effect - Create a special effect at Caster_loc using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Special Effect - Create a special effect at Target_loc using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit - Move (Triggering unit) instantly to Target_loc, facing Caster_loc
-
Unit - Order (Casting unit) to Attack (Target unit of ability being cast)
-
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Target_loc facing (Facing of (Triggering unit)) degrees
-
Unit - Add rift to (Last created unit)
-
Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Casting unit)
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation(udg_Caster_loc)
-
Custom script: call RemoveLocation(udg_Target_loc)
-
-
although if i remove the wait the spell doesn't go on cool down witch is pree much the only reason its there