Unit tooltip has wrong values

Post bug reports and ask for help with other issues here.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
fbs
Posts: 1048
Joined: Thu Dec 25, 2008 3:52 am

Unit tooltip has wrong values

Post by fbs »

Up so far I've detected that only for unit 5008 on scenario 002, on turn 2:

By the way, I can only upload screenshots from Internet Explorer, while what I usually use is Chrome. Can we fix that for Chrome? Thanks

Cheers
fbs



Image
Attachments
a.jpg
a.jpg (57.11 KiB) Viewed 145 times
fbs
Posts: 1048
Joined: Thu Dec 25, 2008 3:52 am

RE: Unit tooltip has wrong values

Post by fbs »

Hmm.. this may help on finding the error. It seems to happen whenever you have disabled squads: it is taking ( disabled + available ) squads and then divides by 2. Examples:

Unit 5008: (5) x 7... (5+7)/2=6... shows Aviation Support 6 (incorrect)
Unit 5007: (0) x 18... shows Aviation Support 18 (correct)
Unit 6289: (6) x 10.. (6+10)/2=8.. shows Aviation Support 8 (incorrect)

It calculates the tooltip correctly when there are no disabled squads, and incorrectly when there are disabled squads.

Cheers [:D]
fbs
Post Reply

Return to “Tech Support”