- Joined
- Dec 10, 2008
- Messages
- 59
Hi again.
I'm currently working on an aura that slows down the movement speed of various units in a 1000 AoE of the caster (think Degen Aura from DoTA)
problem is: i managed to slow everyone down yes, but even when the picked units are out of the AoE (meaning the picked units no longer have the buff; i used a check every second wait to make sure that the picked units no longer have the buff), their movement speed remains slowed.
I stored their DEFAULT (not CURRENT) as a variable, so that after they no longer have the buff, the movement speed gets reverted....however, this does not appear to be the case. instead, their movement speed REMAINS slowed.
Any1 can help?
my formula for the slow was:
Help is MUCH appreciated, thx in advance
I'm currently working on an aura that slows down the movement speed of various units in a 1000 AoE of the caster (think Degen Aura from DoTA)
problem is: i managed to slow everyone down yes, but even when the picked units are out of the AoE (meaning the picked units no longer have the buff; i used a check every second wait to make sure that the picked units no longer have the buff), their movement speed remains slowed.
I stored their DEFAULT (not CURRENT) as a variable, so that after they no longer have the buff, the movement speed gets reverted....however, this does not appear to be the case. instead, their movement speed REMAINS slowed.
Any1 can help?
my formula for the slow was:
current movespeed of the picked units - (minus) [40% x current movespeed of picked units]
Help is MUCH appreciated, thx in advance