• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Item Attribute Bonus As Hero Ability

Status
Not open for further replies.
Level 6
Joined
Jan 23, 2015
Messages
162
Didn't see this brought up anywhere else, hope its not a repeat.

Making a map with the only hero abilities being +1 to str, +1 to int, or +1 to agi so you basically increase a stat point with each level. Now the hero attribute bonus adds the green + next to the attribute which is annoying as it interferes with being able to tell what bonuses are given by items or just the leveling up.

I figured using the ability item agility gain would be perfect as it just raises the raw stat and the icon wouldn't be a problem but for some reason the ability just doesn't work if I switch it from an item ability to a hero ability. Any suggestions for how I can have a hero ability that raises the base stat point (by that I mean not having that green +X next to it)
 
Usually item abilities are item abilities for a reason, since they can't really be used as hero abilities directly to add attributes to your heroes. If you want to have it added to the attribute directly, it has to be done by triggers, something like this:

  • Attribute
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Attribute Bonus
    • Actions
      • Hero - Modify Strength of (Triggering unit): Add 1
Obviously it can be made something more useful with other two attributes, but that's pretty much the gist.
 
Here's two examples using Attribute Bonus as dummy abilities. Tomes are given to the hero to increase its stats, but Alright's add-by-trigger method works the same if you want to do it that way. Using tomes just makes it simpler for a special effect on the hero.

One of the maps hides the attribute bonus dummy abilities (no icons), and the other just allows the player to keep track of all the stat bonuses they have.
 

Attachments

Status
Not open for further replies.
Back
Top