You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to Reproduce the Bug?
I owned all shares of the PIER (there was 3 left). I ran for 300 and it only paid me 99 a share. From the rules, it states "If the PEIR pays dividends, divide the total earnings by the number of shares of PEIR in player hands. Each player receives that amount rounded up per share."
`entity.total_shares`` doesn't always work correctly for PEIR. If there
are three shares then each is a 33% share, and `total_shares` returns
3.030303...
This can lead to rounding errors in dividend payout, with a revenue of
300 being calculated as 99 per share.
Fixestobymao#11525.
ollybh
added a commit
to ollybh/18xx
that referenced
this issue
Feb 9, 2025
`entity.total_shares`` doesn't always work correctly for PEIR. If there
are three shares then each is a 33% share, and `total_shares` returns
3.030303...
This can lead to rounding errors in dividend payout, with a revenue of
300 being calculated as 99 per share.
Fixestobymao#11525.
What's your Game ID?
https://18xx.games/game/196973
How to Reproduce the Bug?
I owned all shares of the PIER (there was 3 left). I ran for 300 and it only paid me 99 a share. From the rules, it states "If the PEIR pays dividends, divide the total earnings by the number of shares of PEIR in player hands. Each player receives that amount rounded up per share."
Which Browser / Platform?
Brave: 1.75.175 Chromium: 133.0.6943.54 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: