Health Calculation

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
dunk2k
Greenhorn
Posts: 14
Joined: 14 Oct 2009, 12:11

Health Calculation

Post by dunk2k »

Hey all,

Have a question- the answer may have been mentioned somewhere else, but the Search function isn't giving me anything.

What is the formula/calculation for total HP of a unit?
I'm taking a guess here, but is it:
(Body HP + turret HP) x propulsion multiplier = total HP
note: Body HP includes upgrades

So for example: Python body w/Dense Composite Alloys + Hyper Velocity Cannon + Tracks, in numbers that =
((200 x 2.2) + 250) x 3 = 2070 HP

Am I warm?
User avatar
ClockWork
Trained
Trained
Posts: 219
Joined: 07 Sep 2008, 03:22
Location: USA

Re: Health Calculation

Post by ClockWork »

I think that's close. I’ve had the same question, thought I posted a question about it too…
Research only upgrades the bodies as far as I know, and propulsion multiplies the bodies total points.

The turret, on the other hand, I think it gives a flat bonus on its own. At least that is what I remember reading somewhere.
Can anyone conferm this?
User avatar
ClockWork
Trained
Trained
Posts: 219
Joined: 07 Sep 2008, 03:22
Location: USA

Re: Health Calculation

Post by ClockWork »

My apologies for double posting.

Did some tests, the HP calculations are as follows:
(Research x body) + (Body x propulsion) + (Research x turret) = total body points.

From what I can tell, the upgrades includes the body, and the turret, while the propulsion only effects the body.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Health Calculation

Post by NoQ »

User avatar
Iluvalar
Regular
Regular
Posts: 1828
Joined: 02 Oct 2010, 18:44

Re: Health Calculation

Post by Iluvalar »

it's exactly = ( Body+turret(misc)+ (body*propulsion%) + foreach( turrets(weapon) ) )*upgrades

So if you prefer it's

(body*(1+propulsion%)+each turrets)*upgrade
Heretic 2.3 improver and proud of it.
Post Reply