WarLuvr3393
Hmmm...too many things to play (WoW, COD4, WC3)
- Reaction score
- 54
Code:
Lightning Dash
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Lightning Dash
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Lightning Dash for (Casting unit)) Equal to 1
Then - Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Wait 0.50 seconds
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the origin of (Casting unit) using Abilities\Weapons\Bolt\BoltImpact.mdl
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Lightning Dash for (Casting unit)) Equal to 2
Then - Actions
For each (Integer A) from 1 to 20, do (Actions)
Loop - Actions
Wait 0.50 seconds
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the origin of (Casting unit) using Abilities\Spells\Human\ManaFlare\ManaFlareBoltImpact.mdl
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Lightning Dash for (Casting unit)) Equal to 3
Then - Actions
For each (Integer A) from 1 to 30, do (Actions)
Loop - Actions
Wait 0.50 seconds
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the origin of (Casting unit) using Abilities\Spells\Human\ManaFlare\ManaFlareBoltImpact.mdl
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Lightning Dash for (Casting unit)) Equal to 4
Then - Actions
For each (Integer A) from 1 to 40, do (Actions)
Loop - Actions
Wait 0.50 seconds
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the origin of (Casting unit) using Abilities\Spells\Human\ManaFlare\ManaFlareBoltImpact.mdl
Else - Actions
Since there was no spell that could keep doing the lightning effect, I made a trigger. THIS IS JUST A SPECIAL EFFECT TRIGGER, NOT A REAL DASH SPELL. The problem I have is when the speed effect wears off, the lightning effect keeps going. At level one, there are still a few more shocks after it. Remember, it's not a dashing spell like in dota, it's just a name. The real spell is based off Beserk just increasing speed.