- Joined
- May 15, 2009
- Messages
- 192
Hello every1, im asking for help... Yet again. This time I can't seem to get the cooldown of my ability to work, everything else seems to work just fine, but the cooldown is non-exsistent.
Thx in advance.
-
Blade Charge
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Blade Charge
-
Actions
- Set BladeCharge_Caster = (Triggering unit)
- Set BladeCharge_CasterLoc = (Position of (Triggering unit))
- Set BladeCharge_Target = (Target unit of ability being cast)
- Set BladeCharge_TargetLoc = (Position of BladeCharge_Target)
- Animation - Change BladeCharge_Caster's vertex coloring to (100.00%, 100.00%, 100.00%) with 50.00% transparency
- Unit - Move BladeCharge_Caster instantly to BladeCharge_TargetLoc
- Custom script: call RemoveLocation(udg_BladeCharge_TargetLoc)
- Custom script: call RemoveLocation(udg_BladeCharge_CasterLoc)
- Animation - Play BladeCharge_Caster's attack animation
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Blade Charge for BladeCharge_Caster) Equal to 1
-
Then - Actions
- Unit - Cause BladeCharge_Caster to damage BladeCharge_Target, dealing (90.00 + (Real((Agility of BladeCharge_Caster (Include bonuses))))) damage of attack type Hero and damage type Normal
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Blade Charge for BladeCharge_Caster) Equal to 2
-
Then - Actions
- Unit - Cause BladeCharge_Caster to damage BladeCharge_Target, dealing (100.00 + (Real((Agility of BladeCharge_Caster (Include bonuses))))) damage of attack type Hero and damage type Normal
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Blade Charge for BladeCharge_Caster) Equal to 3
-
Then - Actions
- Unit - Cause BladeCharge_Caster to damage BladeCharge_Target, dealing (110.00 + (Real((Agility of BladeCharge_Caster (Include bonuses))))) damage of attack type Hero and damage type Normal
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Blade Charge for BladeCharge_Caster) Equal to 4
-
Then - Actions
- Unit - Cause BladeCharge_Caster to damage BladeCharge_Target, dealing (120.00 + (Real((Agility of BladeCharge_Caster (Include bonuses))))) damage of attack type Hero and damage type Normal
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Blade Charge for BladeCharge_Caster) Equal to 5
-
Then - Actions
- Unit - Cause BladeCharge_Caster to damage BladeCharge_Target, dealing (130.00 + (Real((Agility of BladeCharge_Caster (Include bonuses))))) damage of attack type Hero and damage type Normal
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Special Effect - Create a special effect attached to the chest of BladeCharge_Caster using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Animation - Change BladeCharge_Caster's vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
-
Events
Thx in advance.