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

[Trigger] Item Problem

Status
Not open for further replies.
Level 2
Joined
Jan 20, 2008
Messages
7
Ive been trying to make a ring that, when acquired, adds 5% of the maximum hp to a unit so they would have 105% of their total hitpoints instead of the usual 100%.
This applies to all units on the map owned by the player that has the item.
I'm not really sure how to make this and all i have so far is:
picture5tu4.png


Appreciate any help :)
 
Level 36
Joined
Jul 22, 2004
Messages
1,002
you will probably need jass for this because Blizzard did something like this in one of their maps except it was a spell that temporarily increased their max hp. You can probably somehow edit that code and make it permanent and activate when a hero aquires that certain item.
 
Level 2
Joined
Jan 20, 2008
Messages
7
Darn. Jass. Thats outta my league at the moment. Thanks for the heads-up though JetFang.
 
Level 34
Joined
Sep 6, 2006
Messages
8,873
What if you were to do something like for every 10 health add 1. That way it is kind of like a %.
 
Level 2
Joined
Jan 20, 2008
Messages
7
Yeah that would be viable but I have no understanding of how to do that :(
I'm still not crash hot with a fair amount of the GUI triggering system.
 
Status
Not open for further replies.
Top