Unit Health needs rounding when unit gets upgraded IMPLEMENTED

Any other ideas that does not fit to the specific categories.
Post Reply
Instant
Posts: 1
Joined: Wed Jun 10, 2020 8:13 pm

Unit Health needs rounding when unit gets upgraded IMPLEMENTED

Post by Instant »

In historical company (battle with Troya) after ubgrading swordman to broadsword man one of the units get 5,8/21 hp point, is it normal? Cause units can do only integer damage
User avatar
Endru1241
Posts: 2717
Joined: Fri Sep 11, 2015 8:43 am
Location: Poland

Re: Unit Health

Post by Endru1241 »

It's not. Thanks for noticing.
Floating point hp was introduced to increase precision of building time - especially for siege machines.
For damage it's rounded down, but not less than 1.
Upgrade should round hp too - maybe at some point the rounding is skipped.
@Stratego (dev) ?
Age of Strategy design leader
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Unit Health needs rounding when unit gets upgraded IMPLEMENTED

Post by Stratego (dev) »

ok, fixed, thx
will be in next update
Post Reply

Return to “Others”