im trying to avoid reseting, actualy its a bit strange:
-i made skill based on fan of knives and nulled all effects it has (except of mana and cooldown)
-and here is the trigger:
Trigger:
blade rush
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Blade Rush
Actions
Set charge_start = (Position of (Casting unit))
Unit - Create 1 dummy for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 dummy for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by 900.00 towards (Facing of (Casting unit)) degrees) facing Default building facing degrees
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Hide (Casting unit)
Unit - Turn collision for (Casting unit) Off
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Unit - Move (Casting unit) instantly to (charge_start offset by ((Real((Integer A))) x 150.00) towards (Facing of (Casting unit)) degrees)
Special Effect - Create a special effect at (Position of (Casting unit)) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
Unit Group - Pick every unit in (Units within 170.00 of (Position of (Casting unit)) matching ((((Owner of (Matching unit)) is an ally of (Owner of (Casting unit))) Equal to False) and ((Casting unit) Not equal to (Matching unit)))) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is in charge_used_targets) Equal to False
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Blade Rush for (Casting unit)) Equal to 11
Then - Actions
Unit - Cause (Casting unit) to damage (Picked unit), dealing (8.00 x (Real((Agility of (Casting unit) (Include bonuses))))) damage of attack type Hero and damage type Normal
Else - Actions
Unit - Cause (Casting unit) to damage (Picked unit), dealing (100.00 + (60.00 x (Real((Level of Blade Rush for (Casting unit)))))) damage of attack type Hero and damage type Normal
Unit Group - Add (Picked unit) to charge_used_targets
Else - Actions
Wait 0.01 seconds
Special Effect - Destroy (Last created special effect)
Unit - Unhide (Casting unit)
Unit - Turn collision for (Casting unit) On
Unit Group - Remove all units from charge_used_targets
Selection - Select (Casting unit) for (Owner of (Casting unit))
-it is supposed to move the caster towards 900 range and damage all enemies in his path.
-that works perfectly but when he unhides the spell is ready to be used again
-the strange thing about it is that mana is consumed, and only this spell gets cooldown reset, all others are cooldowning normally (yes the cooldown is high enough to not end while the hero is moving)
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!