View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0015335 | AI War 1 / Classic | Bug - Other | May 31, 2014 8:04 am | Jun 6, 2014 12:26 pm | |
Reporter | giftgruen | Assigned To | keith.lamothe | ||
Status | resolved | Resolution | fixed | ||
Product Version | 7.033 | ||||
Fixed in Version | 7.034 | ||||
Summary | 0015335: Wrong health percentage in "units selected" list | ||||
Description | Weak units with health < 100 have their health percentage displayed wrong. E.g. a Scout Mk I with full health currently shows in the selection as Scout I x1 30%/30%. Other units like the space planes Mk I and II show 146% and 117% respectively. Further inspection indicated that all units with < 100 health have full-HP percents that equal their absolute HP number (Scout I and II, Tachyon Drone) while all units with a max health that isn't a multiple of 100 (several military units on Mk I level, Remains Rebuilder, Economic Command station) have relative health shown as > 100%. It seems to be calculated as x%=(CurrentHP/(MaxHP/100)) with MaxHP/100 being rounded to an integer, which started producing weird numbers after the downscaling. If that's the case, 100*CurrHP/MaxHP should do it. | ||||
Tags | No tags attached. | ||||
Internal Weight | New | ||||
|
I've seen this as well. Pretty easy to reproduce, as even starting a game gives you two Mk II scouts, which (IIRC) will show up at 60% HP in the tooltip on the bottom-right corner. |
|
For 7.034: * Fixed a bug where the selection description window (lower-right corner, thereabouts) messed up the display of remaining health percentages for ships with small health values (it was dividing by 100 and discarding the remainder, which didn't really matter until recently...). Thanks :) |
Date Modified | Username | Field | Change |
---|---|---|---|
May 31, 2014 8:04 am | giftgruen | New Issue | |
May 31, 2014 10:35 pm | Winge | Note Added: 0038404 | |
Jun 6, 2014 12:26 pm | keith.lamothe | Internal Weight | => New |
Jun 6, 2014 12:26 pm | keith.lamothe | Note Added: 0038459 | |
Jun 6, 2014 12:26 pm | keith.lamothe | Status | new => resolved |
Jun 6, 2014 12:26 pm | keith.lamothe | Fixed in Version | => 7.034 |
Jun 6, 2014 12:26 pm | keith.lamothe | Resolution | open => fixed |
Jun 6, 2014 12:26 pm | keith.lamothe | Assigned To | => keith.lamothe |