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

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