• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Help me with buy ability trigger :)

Status
Not open for further replies.
Level 13
Joined
Jun 3, 2011
Messages
1,058
  • Volley Learned
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • (Unit-type of (Hero manipulating item)) Equal to Wind Shooter
          • (Item-type of (Item being manipulated)) Equal to [|cffffd700W|r] - |cff90ee90Volley|r
    • Actions
      • Set Units = (Triggering unit)
      • Set Ability[(Player number of (Owner of Units))] = Volley
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Ability[(Player number of (Owner of Units))] for Units) Less than 1
        • Then - Actions
          • Unit - Add Ability[(Player number of (Owner of Units))] to Units
          • Game - Display to (Player group((Owner of Units))) for 10.00 seconds the text: Volley Learned!
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Ability[(Player number of (Owner of Units))] for Units) Less than 3
            • Then - Actions
              • Unit - Increase level of Ability[(Player number of (Owner of Units))] for Units
              • Game - Display to (Player group((Owner of Units))) for 5.00 seconds the text: (Volley's Level + ( is + ( + (String((Level of Volley for Units))))))
            • Else - Actions
              • Game - Display to (Player group((Owner of Units))) for 5.00 seconds the text: This spell is alrea...
              • Player - Add 1 to (Owner of Units) Current lumber
hmm i guys i was wonder why isn't the trigger risisting the hero? i set it to wind shooter but if i use another hero its okay why is that?
 
Status
Not open for further replies.
Top