• 🏆 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!

Buyable Abilities for Heroes

Status
Not open for further replies.
Level 5
Joined
Dec 11, 2010
Messages
101
I've looked around for a little bit, and cannot seem to find the perfect form of the trigger I am having a problem with.

What I would like to understand is that when a Hero buys an item, he is given an ability that he can upgrade with skill points when he levels up.

What I have here works to an extent, but there is no upgrade for a spell that I buy? I learn Bash when i get the item, and I cannot level it up further.
EDIT: The item is instantly lost, its a power-up. There are multiple abilities that can be bought too in its place.

  • Untitled Trigger 002
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Item-type of (Item being manipulated)) Equal to Learn Bash
        • Then - Actions
          • Unit - Add Bash to (Hero manipulating item)
        • Else - Actions
          • Do nothing
Thanks :)
 
Status
Not open for further replies.
Top