• 🏆 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!

Item/spell that increases the max health of hero?

Status
Not open for further replies.
Level 6
Joined
Aug 31, 2018
Messages
157
Hello. I want to ask how can i make an item or spell that increases the max health for hero? For example:
Item - increases max health by 25%
Spell - Increases max health by 10% for each level
Oh and item which reduce the damage you take by 20%
 
Last edited:
Level 38
Joined
Feb 27, 2007
Messages
4,951
Here's a fun way to do this: Ever wanted to change life without needing to glitch it through abilities? This particular question (increase life by %) gets asked a LOT, just do some searching and you'll find about 20-30 threads of people asking how to do this. Read them, understand them, write some simple triggers.

You'll need to track when units pick up/drop the item or any other item that grants health. Or when casting the spell. You can also use a system like BonusMod or SetUnitMaxState or Custom Stat System to increase health as necessary.
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,180
Use triggers to set the maximum life using the recently added action.
  • Unit - Set Max HP of (Triggering unit) to 500
Here's a fun way to do this: Ever wanted to change life without needing to glitch it through abilities? This particular question (increase life by %) gets asked a LOT, just do some searching and you'll find about 20-30 threads of people asking how to do this. Read them, understand them, write some simple triggers.
Most of those topics have work arounds which are no longer needed seeing how new actions were added to allow this to be done easily in a recent patch.
 
Level 12
Joined
Nov 3, 2013
Messages
989
Use triggers to set the maximum life using the recently added action.
  • Unit - Set Max HP of (Triggering unit) to 500
Most of those topics have work arounds which are no longer needed seeing how new actions were added to allow this to be done easily in a recent patch.
But with this trigger one would have to re-calculate the HP every time the hero gains or loses max HP, so in the end it might just be easier to use that workaround...
 
Status
Not open for further replies.
Top