Movespeed Ability Help

Sk8-tEr

New Member
Reaction score
5
I want to make an ability like stealth in WOW where your character goes invisible but you move a percent slower.

I made a hero (Warden) with an ability windwalk. I set the ms factor to 0% increase, then I put the buff tornado(slow aura) on Warden using a trigger when the ability is used. But I couldn't edit the % for the slow so I tried to do a trigger.

Event - Unit starts the effect of an ability

Condition - Ability = Stealth

Action - 1) Set WARDEN = triggering unit
2) Set MS = Current Movespeed of WARDEN
3) Change WARDEN movespeed to (MS/2)


Then i made another trigger

Event - Periodic timer every 0.01 secs

Condition - WARDEN has buff WindWalk = False

Action - Change WARDEN movespeed to (MS)

But.... What if WARDEN is slowed when stealth is used? Or if WARDEN is
moving 522 ms then when windwalk is over WARDEN's ms will be 522?
I don't want tornado(slow aura) with its default value... :p
Because I'm making different lvls of stealth and each one slows less.
i'm confused on how to do this...
 

WolfieeifloW

WEHZ Helper
Reaction score
372
[del]Couldn't this all just be done in one trigger?[/del]
Try this maybe:
Freehand:
Code:
Stealth
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) (==) Stealth
    Actions
        Unit - Set (Movement speed) of (Triggering unit) to ((Movement speed) of (Triggering unit) / 2)
        Set castingUnit = (Triggering unit)
        Trigger - Turn on StealthOff
Code:
StealthOff
    Events
        Time - Every 0.5 seconds of game time
    Conditions
        ((castingUnit) has (Wind Walk) (==) False
    Actions
        Unit - Set (Movement speed) of (castingUnit) to ((Movement speed) of (castingUnit) * 2)
        Trigger - Turn off (This trigger)
?
 

Sk8-tEr

New Member
Reaction score
5
What if WARDEN is slowed though when the buff windwalk end? or hasted
Then from like 100 ms WARDEN would jump to like 320 ms (Normal) and
would get out of the slow debuff? Or would it work?
 

BlueMirage

Trust, but doubt.
Reaction score
39
Why don't you just give the Windwalk ability a negative haste value?

For example, give it -50% movement haste if you want to go half the speed.
 

CaptDeath

New Member
Reaction score
103
make the MS bonus negative
Hold shift then click the field from the ms boost and set it to negative
 
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