• 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.

Tome of damage

Status
Not open for further replies.
Level 7
Joined
May 11, 2010
Messages
278
  • Trigger
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Tome of Strength
    • Actions
      • Hero - Modify Strength of (Hero manipulating item): Add 10
Make sure the Tome of Strength has "Perishable - True" and "Use automatically when aquired - True". That will consume the tome as soon as you pick it up, and the trigger will permanently increase the base strength of your hero.

Alternatively, if you want it to remain in your inventory and the bonus to be lost when it leaves your inventory, set perishable and use automatically to false and add this trigger:
  • Trigger 2
    • Events
      • Unit - A unit Loses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Tome of Experience
    • Actions
      • Hero - Modify Strength of (Hero manipulating item): Subtract 10
 
Last edited:
Level 8
Joined
Feb 3, 2013
Messages
277
Make an ability based on Item Damage Bonus, and give it many levels.

When the tome is picked up, if the hero doesn't have this ability, give it to them. If they already have the ability, increase its level by one.

This is a good way to go about this, but just know that it will cause a short lag if the item hasn't been preloaded at initialization. So I suggest in the beginning of map init, have a dummy unit buy this item and remove the unit afterwards.

EDIT: I misunderstood OP's post, use upgrades and have the owning player's damage upgrade increase for the buying unit.
 
Status
Not open for further replies.
Top