• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Berserker Item

Status
Not open for further replies.
Level 4
Joined
Aug 1, 2013
Messages
54
A unit has an item that with each 5% missing health, the unit gain 5 damage bonus max 95. Is there a possible trigger that increases and decreases that damage in function by the owners of the item, and the bonus lost if the item got out of the inventory?
 
Level 10
Joined
Mar 17, 2012
Messages
582
A unit has an item that with each 5% missing health, the unit gain 5 damage bonus max 95. Is there a possible trigger that increases and decreases that damage in function by the owners of the item, and the bonus lost if the item got out of the inventory?

There is the way. Create a spell based on Claws of Attack that has 20 levels. Set 1 lvl = 0 damage, 2 lvl = 5 .....

Concider all ways of getting and loosing this item and when hero gets it - add this ability to him. When he loses it - remove it.

Every 0.03 seconds (e.g.) check his percantage life and sel level of ability equal to his currend amount of missing health...

:grin:
 
Status
Not open for further replies.
Top