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

Adding hit/mana points to a unit

Status
Not open for further replies.
Level 3
Joined
Nov 26, 2008
Messages
23
I've done that, although when I try to increase the ability, making it from ex. +0 hit points to +50 hit points, the Action:Set level of (Ability) for (unit) to (Level of (ability) for (unit) + 1)) doesnt work and neither does Action:Increase level of (ability) for (unit)
 
Level 9
Joined
Jan 14, 2008
Messages
366
if you intend to change the MAX hp/mp , then the way zlatnilav suggested is adequate

if you just want to change the current hp/mp

use the function

"set unit life = life of unit + (whatever change you wish)"
 
Level 7
Joined
Jul 20, 2008
Messages
377
That's because you have to edit that item ability to give it increments of 50 per level...
 
Status
Not open for further replies.
Top