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

Health Increase Ability

Status
Not open for further replies.
Level 11
Joined
Aug 11, 2009
Messages
605
Just a simple question. How do I make a Hero skill that increases the Heroes health?

Using the item ability only works for first rank, then nothing happens. I suppose it needs triggers to work?

+rep for any help on this! Thank you :)
 
Level 21
Joined
Mar 27, 2012
Messages
3,232
Just a simple question. How do I make a Hero skill that increases the Heroes health?

Using the item ability only works for first rank, then nothing happens. I suppose it needs triggers to work?

+rep for any help on this! Thank you :)

I use my own bonusmod for this, then I can just do
JASS:
call AddStat(unit,BMH_HEALTH,200)

It's included in the attached map here
 
Level 11
Joined
Aug 11, 2009
Messages
605
Im not very good with vJass, but can it support different health bonuses every level?

I want this Hero skill to increase health by 10+1x Skill level.
So:
Level 1: +11 health
Level 2: +12 health
etc.
 
Level 21
Joined
Mar 27, 2012
Messages
3,232
Isn't there a Hero function that allows you to add a health property? You can do something like...
  • Hero - Add Property ((Health of 'Your_Hero') + (Level of ('Your Ability'))
I can't check to see if there is something like this on the editor right now, but I think this is possible.

Sadly not. This is the whole reason why bonusmods exist - to modify stats that were previously unmodifiable.
There are so far functions for editing hero XP,level,str,agi,int,abilities. That's all that blizzard gave us.
 
Status
Not open for further replies.
Top