• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[Trigger] Custom Hero

Status
Not open for further replies.
Level 3
Joined
Oct 4, 2007
Messages
27
Hey Guys,
I need a trigger but i dont found it by searching!
How can i make that if a Heros buys an item it gets a Skill/level ups a Skill.

Thx for Help
 
Level 6
Joined
Jan 2, 2007
Messages
189
Its a little confusing at first but u have to use the Tinker's "Upgrade" ability. Add ur abilities to the upgrade ability and then add the custom upgrade ability to the item. If u need a better explination just ask.
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
If you mean that when a hero "consumes" an item such as "Tome of Holy Light", it gains the holy light ability, all you need to do is:

  • Events
    • Unit - a unit gains an item
  • Conditions
    • Item-type of item being manipulated equals "Tome of Holy Light"
  • Actions
    • If (level of Holy Light) ability on (triggering unit) is less than 1 then:
      • Unit - Add (holy light) ability to (triggering unit)
    • else
      • Unit - increase level of (holy light) on (triggering unit) by 1
 
Level 6
Joined
Jan 2, 2007
Messages
189
Oh sorry i didnt exactly get what u were asking. I thought u wanted to do something where players "build" their heroes and choose the hero's spells.
 
Status
Not open for further replies.
Top