• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Add HP to Unit Through Trigger/JASS?

Status
Not open for further replies.
If you want "healing" type of ability,
  • Unit - Set life of Unit to ((Life of Unit) + 20.00)
If you want to increase maximum hp with a flat value,
  • Unit - Add Item Life Bonus (100) to Unit
If you want to increase maximum hp with a percent value, (Notice, this one will apply on every unit you own, so, it is suggested for maps with one unit per player, e.g. AoS/RPG)
  • Player - Set (Owner of (Unit)) handicap to 200%
Anything higher than 100%.
 
I'm adding to a maul I play single player, and want to add it so that the harder the difficulty you choose, the higher HP the creeps have and that'll make it more fun! :) I used the handicap way and it works, not a perciesly as I'd like, but good enough, thanks!
 
Status
Not open for further replies.
Back
Top