x4
x4 copied to clipboard
[Bug] In calculation of bonus production
I have found an error in the calculation of bonus production. The values that the calculator displays differ from the values that are displayed ingame. The reason for the difference is that a value is rounded off ingame.
One example of several: 11 Terran energycell production Base production: 50 per cycle Cycles per hour: 60 Base production/h: 3000 Base production/h * 11 modules: 33,000
Module production bonus: 43% (at 100% workforce) Calculater result: 47,190 Ingame result: 46,860
Why? Because there is a rounding in the ingame calculation: BonusProduction/cyle: 50*43% = 21,5 -> always rounded down, here to 21 Production/cycle: 50+21 = 71 Production/h: 4260 Production/h * 11 modules: 46,860 - like ingame
I have recalculated it with different wares where there was a difference between the calculater and ingame: If you round off the "production * bonus% per cycle," you get the result that is displayed ingame.