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

Hit Point bonus upgrade

Status
Not open for further replies.
Level 9
Joined
Dec 31, 2016
Messages
320
How does hit point bonus upgrade work? Or more exactly what is the number the percentage is calculated from?

Because when I set the hit point bonus to 1% and give it to a unit with 8k heath the bonus gives it 40k health.
And 1% from 8k is not 40k as you know. :d
 
Because when I set the hit point bonus to 1% and give it to a unit with 8k heath the bonus gives it 40k health.
And 1% from 8k is not 40k as you know. :d
Neither 100% nor 1% of 8000 hp gives 40000. What trickery is this? Have you been practicing dark arts?
I know, that works fine, but I am just wondering about what number is the calculation based of.
From base hp, always.
Because when I need something lower than 100 or something I can't.
Post your test map. I want to see this o_o
 
Neither 100% nor 1% of 8000 hp gives 40000. What trickery is this? Have you been practicing dark arts?
It was 5%, my bad.

0.010% = 1%, 0.100% = 10%, 1.000% = 100%.
Oh, that's strange, why is it like this?

Also as you wrote I noticed the newest patch brought us one more decimal in the object editor, but real type var in the trigger editor can still handle only 2 decimals. So there's no way to access it directly right?
 
Status
Not open for further replies.
Back
Top