• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Increases Movement Speed Skill

Status
Not open for further replies.
Level 3
Joined
Mar 28, 2010
Messages
42
  • Setting
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set SpiritWalkerMSLevel[1] = 5.00
      • Set SpiritWalkerMSLevel[2] = 10.00
      • Set SpiritWalkerMSLevel[3] = 15.00
      • Set SpiritWalkerMSLevel[4] = 20.00
  • Spirit Walk
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Spirit Walk
    • Actions
      • Set SpiritWalkCaster = (Casting unit)
      • Set SpiritWalkTotal = 0.00
      • Trigger - Turn on Spirit Walk MS increase <gen>
      • Unit - Turn collision for SpiritWalkCaster Off
      • Wait 12.00 seconds
      • Unit - Turn collision for SpiritWalkCaster On
      • Trigger - Turn off Spirit Walk MS increase <gen>
      • Unit - Set SpiritWalkCaster movement speed to ((Current movement speed of SpiritWalkCaster) - SpiritWalkTotal)
  • Spirit Walk MS increase
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set SpiritWalkTotal = (SpiritWalkTotal + SpiritWalkerMSLevel[(Level of Spirit Walk for SpiritWalkCaster)])
      • Unit - Set SpiritWalkCaster movement speed to ((Current movement speed of SpiritWalkCaster) + SpiritWalkerMSLevel[(Level of Spirit Walk for SpiritWalkCaster)])
      • Game - Display to (All players) the text: (String((Current movement speed of SpiritWalkCaster)))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Integer((Current movement speed of SpiritWalkCaster))) Greater than or equal to 500
        • Then - Actions
          • Trigger - Turn off (This trigger)
        • Else - Actions
          • Do nothing
but after i buy a boots(+50 ms) and spirit walk level 4....
when i used this skill...it will +70 per seconds...not 20 per seconds...
how to solve?><teach me
 
Level 3
Joined
Mar 28, 2010
Messages
42
It's very unsave action espacialy if there are tons of other aura/passive abilities that increase ms. Better work with timing endurance aura, or use action Set default movement speed.
Remove Do nothing.

  • Spirit Walk
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Spirit Walk
    • Actions
      • Set SpiritWalkCaster = (Casting unit)
      • Set SpiritWalkTotal = (Level of Spirit Walk for SpiritWalkCaster)
      • Set SpiritWalkCount = 1
      • Unit - Add SpiritWalkerMSLevel[SpiritWalkTotal] to SpiritWalkCaster
      • Trigger - Turn on Spirit Walk MS increase <gen>
      • Unit - Turn collision for SpiritWalkCaster Off
      • Wait 12.00 seconds
      • Unit - Turn collision for SpiritWalkCaster On
      • Unit - Remove SpiritWalkerMSLevel[SpiritWalkTotal] from SpiritWalkCaster
      • Unit - Remove Spirit Walk Aura buff from SpiritWalkCaster
      • Trigger - Turn off Spirit Walk MS increase <gen>
  • Spirit Walk MS increase
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set SpiritWalkCount = (SpiritWalkCount + 1)
      • Unit - Remove Spirit Walk Aura buff from SpiritWalkCaster
      • Unit - Set level of SpiritWalkerMSLevel[SpiritWalkTotal] for SpiritWalkCaster to SpiritWalkCount
      • Game - Display to (All players) the text: (String((Current movement speed of SpiritWalkCaster)))
      • Game - Display to (All players) the text: (String((Level of Spirit Walk 4 for SpiritWalkCaster)))
still can't work...i using Endurance Aura....
 
this...
  • Unit - Set SpiritWalkCaster movement speed to ((Current movement speed of SpiritWalkCaster) + SpiritWalkerMSLevel[(Level of Spirit Walk for SpiritWalkCaster)])
to this...
  • Unit - Set SpiritWalkCaster movement speed to ((Current movement speed of SpiritWalkCaster) + SpiritWalkTotal))
but honestly, I really dont get what you want coz you are making those useless calls >>> Wait 12.00 seconds, collisions, do nothing, turn off trigger, etc...
 
Status
Not open for further replies.
Top