diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-04 17:41:19 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-04 17:41:19 +0000 |
commit | bf78e3c07f66651d6520c81a06e6ec65872817da (patch) | |
tree | fe7fb15c172351f16dba2c64d1af278cd547f45d | |
parent | 5cdc38e52ca0a6f120738ff1d9e744e5e6124372 (diff) | |
download | 1989-dawn-of-freedom-bf78e3c07f66651d6520c81a06e6ec65872817da.tar.gz |
Fix Raise the Stakes if only 4 cards
-rw-r--r-- | rules.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1295,8 +1295,8 @@ states.raise_stakes_1 = { inactive: 'raise the stakes', prompt() { if ( - (game.active === DEM && game.dem_pwr_hand.length < 3) || - (game.active === COM && game.com_pwr_hand.length < 3) + (game.active === DEM && game.dem_pwr_hand.length < 3 && game.raised_stakes_discard === 0) || + (game.active === COM && game.com_pwr_hand.length < 3 && game.raised_stakes_discard === 0) ) { view.prompt = 'Raise the Stakes: You must pass.' gen_action('pass') @@ -1358,8 +1358,8 @@ states.raise_stakes_2 = { inactive: 'raise the stakes', prompt() { if ( - (game.active === DEM && game.dem_pwr_hand.length < 3) || - (game.active === COM && game.com_pwr_hand.length < 3) + (game.active === DEM && game.dem_pwr_hand.length < 3 && game.raised_stakes_discard === 0) || + (game.active === COM && game.com_pwr_hand.length < 3 && game.raised_stakes_discard === 0) ) { view.prompt = 'Raise the Stakes: You must pass.' gen_action('pass') |