• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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....
 
Level 29
Joined
Mar 10, 2009
Messages
5,016
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