Comments (3)
https://18xx.games/game/132733?action=196
Confirmed that the price is not on a shelf, and does not drop after 5 shares are sold and corp is dumped on another player.
from 18xx.
I believe the issue is here:
18xx/lib/engine/game/g_1850/game.rb
Line 339 in 9e1f1ca
Because sell_shares() changes the president, at the time of this check the former president is not the current president
It seems like the current codepath only drops the price if the president sells AND the president doesn't change
I removed that clause but it seems to have broken some price protection logic, so I don't feel comfortable PR'ing that until/unless I grok the price protection code more
from 18xx.
Are you still trying to resolve this issue?
from 18xx.
Related Issues (20)
- [18EU] Can't comeplete auction because no one has $10. Should be able to purchase for $0.
- [Rolling Stock Stars] - Unable to bid on initial auction, interface unresponsive HOT 1
- [1877: Stockholm Tramways] Acquiring Company Exceeds Train Limit HOT 2
- [1861] RSR doesn't buy a train when it can HOT 1
- 1858: missing green blob for L&G on Gijon(F1) (minor) HOT 2
- [18Mag] choosing new minor simple and new minor challenging locks game
- 1822 autorouter wildly undercounting HOT 1
- [18USA] P29 Bankrupt Railroad not working HOT 1
- 1822Africa - Cannot use P14 Power
- [18NL] game gives blocking error if P2 ability isn't used before corp uses all tokens.
- [1870] - wrong number of arguments HOT 4
- 1841 "cannot be continued due to GameError: Blocking step Buy Trains cannot process action 789" HOT 7
- [1868 Wyoming] Northern Spike trigger did not reward $120 bonus HOT 2
- [1822Africa] Safari train reproduces
- [18TN] Calculating revenue HOT 1
- [18VA] Tredegar Iron Works doesn't give discount HOT 9
- [1847AE] Unable to upgrade non-Y cities to brown HOT 2
- [1847AE] Unable to exchange investor shares after the purchase of 5 train
- [18NL] Won't let me skip token step HOT 1
- 18zoo market details HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 18xx.