I triggered a sort of "blink strike" spell, and have problems with the Cooldown on the ability.
basic ability used is "Finger of Death (Archimonde)", used as "Flash"
For some reason, when i cast this spell it doesn't get any Cooldown time. although it should have a Cooldown of 30.
can anyone help me on this?
Also, i'm not sure if i made it leakless correctly so if anyone could check.....
+rep to anyone who helps.
basic ability used is "Finger of Death (Archimonde)", used as "Flash"
For some reason, when i cast this spell it doesn't get any Cooldown time. although it should have a Cooldown of 30.
can anyone help me on this?
Also, i'm not sure if i made it leakless correctly so if anyone could check.....
+rep to anyone who helps.
-
Flash I
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Flash [Tier 1]
-
-
Actions
-
Wait 0.00 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Casting unit) has buff Stealth ) Equal to True
-
-
Then - Actions
-
Set Temp_Flash_Loc[(Player number of (Owner of (Triggering unit)))] = (Position of (Target unit of ability being cast))
-
Set CasterLoc[(Player number of (Owner of (Triggering unit)))] = (Position of (Casting unit))
-
Set Temp_Flash_Tar[(Player number of (Owner of (Casting unit)))] = (Target unit of ability being cast)
-
Special Effect - Create a special effect at CasterLoc[(Player number of (Owner of (Triggering unit)))] using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation(udg_CasterLoc)
-
Unit - Move (Triggering unit) instantly to Temp_Flash_Loc[(Player number of (Owner of (Triggering unit)))], facing (Position of Temp_Flash_Tar[(Player number of (Owner of (Casting unit)))])
-
Set CasterLoc[(Player number of (Owner of (Triggering unit)))] = (Position of (Casting unit))
-
Special Effect - Create a special effect at CasterLoc[(Player number of (Owner of (Triggering unit)))] using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation(udg_CasterLoc)
-
Unit - Remove Stealth from (Casting unit)
-
Unit - Set (Casting unit) movement speed to (Default movement speed of (Casting unit))
-
Unit - Order (Casting unit) to Night Elf Demon Hunter - Deactivate Immolation
-
Unit - Cause (Casting unit) to damage Temp_Flash_Tar[(Player number of (Owner of (Casting unit)))], dealing ((Real((Level of Flash [Tier 1] for (Casting unit)))) x 50.00) damage of attack type Spells and damage type Normal
-
Unit - Create 1 Flash_Stun I dummy [Tier 1] for (Owner of (Casting unit)) at (Position of Temp_Flash_Tar[(Player number of (Owner of (Casting unit)))]) facing Default building facing degrees
-
Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
-
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Temp_Flash_Tar[(Player number of (Owner of (Casting unit)))]
-
-
Else - Actions
-
Set Temp_Flash_Loc[(Player number of (Owner of (Triggering unit)))] = (Position of (Target unit of ability being cast))
-
Set Temp_Flash_Tar[(Player number of (Owner of (Casting unit)))] = (Target unit of ability being cast)
-
Set CasterLoc[(Player number of (Owner of (Triggering unit)))] = (Position of (Casting unit))
-
Special Effect - Create a special effect at CasterLoc[(Player number of (Owner of (Triggering unit)))] using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation(udg_CasterLoc)
-
Unit - Move (Triggering unit) instantly to Temp_Flash_Loc[(Player number of (Owner of (Triggering unit)))], facing (Position of Temp_Flash_Tar[(Player number of (Owner of (Casting unit)))])
-
Set CasterLoc[(Player number of (Owner of (Triggering unit)))] = (Position of (Casting unit))
-
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation(udg_CasterLoc)
-
Unit - Cause (Casting unit) to damage Temp_Flash_Tar[(Player number of (Owner of (Casting unit)))], dealing ((Real((Level of Flash [Tier 1] for (Casting unit)))) x 10.00) damage of attack type Spells and damage type Normal
-
-
-
-
Last edited: