• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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
579
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