Units have 20hp but only display 10

Order of Battle is a series of operational WW2 games starting with the Pacific War and then on to Europe!

Moderators: The Artistocrats, Order of Battle Moderators

Post Reply
prestidigitation
Sergeant First Class - Panzer IIIL
Sergeant First Class - Panzer IIIL
Posts: 376
Joined: Sat May 27, 2017 1:24 am

Units have 20hp but only display 10

Post by prestidigitation »

Image

I've wondered about this one for awhile and finally found a good picture showing it. The unit is at 10 displayed strength, but is giving off 19 rather than 20 supply. This implies both that it has lost .5 hp and that the game tracks 20 actual HP (or 10hp in 0.5 increments). Therefore a 0+ attack isn't predicting 0 damage with a chance of 1, but 0.5 damage.
bru888
Order of Battle Moderator
Order of Battle Moderator
Posts: 6213
Joined: Sun Jan 10, 2016 5:39 pm
Location: United States

Re: Units have 20hp but only display 10

Post by bru888 »

I wonder if this is two different rounding calculations at play. That is, the ship is actually partially damaged but still rounds up to strength 10. However, whatever small amount of damage it has sustained caused its available supply to round down to 19. Or maybe I am misunderstanding your question. What I believe you are asking is why a 10 strength supply ship would provide only 19 supply?
- Bru
cutydt02
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 217
Joined: Sat Sep 24, 2016 6:04 am

Re: Units have 20hp but only display 10

Post by cutydt02 »

yes, about 0.5 dmg taken or slighly less, but the game will round up to 10 anyway. That means sometimes the dmg calculator showing that 0 dmg caused/taken doesn't mean they do nothing.
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3710
Joined: Mon Nov 27, 2017 10:24 pm

Re: Units have 20hp but only display 10

Post by GabeKnight »

IMO they probably have something like 50HP or 100HP (following the OP's reasoning).
PawelS
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 18
Joined: Thu Mar 02, 2017 2:18 am

Re: Units have 20hp but only display 10

Post by PawelS »

Or maybe the HP is internally a fractional number (floating-point type) instead of an integer.
terminator
Field Marshal - Elefant
Field Marshal - Elefant
Posts: 5953
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: Units have 20hp but only display 10

Post by terminator »

Does the number 19 remain yellow the following turns ?

PS : here is a lived example in computer programming :

1.3 + 1.3 = 2.6

If you round each number for the display, you get:

1 + 1 = 3 :shock:
DeathMutant
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 158
Joined: Tue Feb 15, 2011 7:57 pm

Re: Units have 20hp but only display 10

Post by DeathMutant »

Was the Supply Ship attacked recently? Perhaps it still has some suppression (efficiency degradation) even though it has full health?
prestidigitation
Sergeant First Class - Panzer IIIL
Sergeant First Class - Panzer IIIL
Posts: 376
Joined: Sat May 27, 2017 1:24 am

Re: Units have 20hp but only display 10

Post by prestidigitation »

terminator wrote: Sat Oct 09, 2021 12:59 pm Does the number 19 remain yellow the following turns ?

PS : here is a lived example in computer programming :

1.3 + 1.3 = 2.6

If you round each number for the display, you get:

1 + 1 = 3 :shock:
Yes, it’d been like that for several turns.
prestidigitation
Sergeant First Class - Panzer IIIL
Sergeant First Class - Panzer IIIL
Posts: 376
Joined: Sat May 27, 2017 1:24 am

Re: Units have 20hp but only display 10

Post by prestidigitation »

DeathMutant wrote: Sat Oct 09, 2021 8:28 pm Was the Supply Ship attacked recently? Perhaps it still has some suppression (efficiency degradation) even though it has full health?
No suppression, afaik ships can’t be suppressed. It was strafed by a fighter
prestidigitation
Sergeant First Class - Panzer IIIL
Sergeant First Class - Panzer IIIL
Posts: 376
Joined: Sat May 27, 2017 1:24 am

Re: Units have 20hp but only display 10

Post by prestidigitation »

PawelS wrote: Sat Oct 09, 2021 11:59 am Or maybe the HP is internally a fractional number (floating-point type) instead of an integer.
Also a possibility, and probably the truth in terms of implementation, but IMO it’s easiest to think of it as 20hp.
Post Reply

Return to “Order of Battle Series”