Regain Speed Over Time?

treblig_auhc

New Member
Reaction score
2
How do you make an ability slow the unit then the unit regains speed over time?
IE: Unit casts "Slow" on target. Target has 300 ms and is reduced to 150. Target gains 25% of their ms per second for 4 seconds.
Thanks for all who will help
 

DiFm

New Member
Reaction score
35
Trigger It. First save the units Speed in a variable and set the movementspeed to something. then make a periodic event that increase the movement speed by % or by a number until its the defualt speed of him again.

You want -150 Ms or their Ms reduced to half?

here is handwritten trigger.

You need 2 triggers 1 Dummy skill, 2 variables

1
Unit starts the effect of an ability

ability being cast = Dummy skill

Set (unit) Target = Target unit of ability being cast
Set (Real) MS = Default movement Speed of target unit of ability being cast.
Unit - Set Movement speed of Taget = default Movement Speed of your unit x 0.5
Turn on trigger 2

2 (initially off)

Every 1.00 secs of game time

Current movementspeed of Target is not equal to or greater then MS
Set Movement speed of Target x1.25
If Target current movement speed is greater or equal to MS
unit- Set targets default movementspeed to MS
Turn off this trigger
 

xAnaMorphine

Active Member
Reaction score
43
I don't know how to do it but:

300ms/100=3ms

1%=3ms
25%=75ms

4x25%=300ms

150ms+300ms=450ms.

- It will work if you mean the 25% from the "slowed down" ms.
 

Vassilev

New Member
Reaction score
39
for DiFm's trigger, i'm not sure, but the trigger may go wrong when you have other factors such as boots of speed, bloodlust, aura speed affecting the unit.
 

Light Alkmst

New Member
Reaction score
20
When using the get movespeed functions, it returns the base movespeed of the target, like this:

Say you have a 300 ms unit, with a -50% dms debuff, the get movespeed will still return 300

Setting the ms is the same. If you set the ms to 400 while it has the debuff, it would set 400 as the base ms and apply -50% to that. Base ms will still be 400.
 

Flare

Stops copies me!
Reaction score
662
Periodically increase/decrease (depending on how you're using the ability, and which direction you want to go in any situation) the level of a variant of Slow Aura (Tornado) that's set to 1 AoE and Targets - Self (yes, I do love this spell ^^) - it provides alot more control than relying on buffs alone since you can increase/decrease it's level with triggers (which can't be done with buffs alone), it provides a buff so people can see the effect AND! it has no ability icon, so you won't even realise that there is an ability there :D

And it stacks with other forms of itself, assuming different buffs are used, so a 50% slow version of the ability, and a different version with 10% slow (assuming they are both using different buffs) will stack
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top