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

Spell that increases a unit's max HP

Status
Not open for further replies.
Level 1
Joined
Apr 17, 2008
Messages
2
I am trying to make a spell for a unit that increases their maximum HP for 15 seconds, and then changing it back to it's original value. I am fairly new to this and I cannot seem to find out how to make this, any help would be greatly appreciated =)
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
coppy item life bonus ability
change the value

unit starts effect of ability
add it life bonus ability
wait 15 secs
remove life bonus ability
 
Level 3
Joined
Aug 24, 2007
Messages
77
You can change it via triggers using the system in this map. Credits for the guy who made it are in the map (forgot who it was)
 

Attachments

  • SetUnitMaxState.w3x
    19.3 KB · Views: 56
Level 12
Joined
Aug 10, 2004
Messages
1,141
I tried making a Item life bonus spell...
-With duration of 30 seconds...

I can't remember if it worked... but I think its worth it...
 
Level 1
Joined
Apr 17, 2008
Messages
2
The item bonus worked well for me, thanks guys. =) I am wondering if there would also be a way to make the bonus that the item gives a percentage of the current max life of the unit if that is possible.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
sure you can do it in GUI
make it give %X health times +1 hp tomes
wait some
make it give same amount of -hp tomes
 
Status
Not open for further replies.
Top