LOL, use Variable, that trigger is to
experiment things.
Please, learn it.
Also, does this spell supports more than 1 unit to use at a time ?
You know, sooner or later you
might wanna learn triggering all by yourselves.
EDIT:
Forget about the Periodic Timer per 0.03 second per interval, you just set this, right after you cast a spell (it will affect your unit's movement speed until you reset it back).
-
Melee Initialization
-
Events
-
Unit - A unit Starts the effect of an ability
-
Conditions
-
(Ability being cast) Equal to Haste
-
Actions
-
Set Caster = (Triggering unit)
-
Set YourRealVariable = (Current movement speed of Caster)
-
Unit - Set Caster movement speed to 1000000000.00
When it is slowed, it will still retain the movement speed of 522 (unless it's a 100% Slow).
To stop it, simply use a Variable to refer to the unit that had casted the spell, come on you can do it.
-
Unit - Set Caster movement speed to YourRealVariable
YourRealVariable is Real type variable that is saved upon casting the spell so you can reset your unit's movement speed to a correct values.