[1841] Merged value for merging minors is wrong, when the average is exactly N+0.5 #9501
Labels
1841
rules-broken
Game comes to the wrong outcome compared with the rules (fixing these will break games)
https://18xx.games/game/132855?action=413
The merged price for SFLi is wrong. It merged to 127, when it should be 141. I suspect the minor merge value of 69.5 was considered by then engine to be "not greater than" 69, but the rules do not support doing integer rounding before performing this calculation.
This issue should only affect merges between minors, since major merges always result in an integer sum.
SFMA is at 68. SFLP is at 71.
Half the sum of 68 and 71 is 69.5, so the minors should merge to 69.
SSFL is at 87. 69 + 87 == 156, which is greater than 141.
4.7.4 merge steps
The text was updated successfully, but these errors were encountered: