summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index c54177c..fda67ae 100644
--- a/rules.js
+++ b/rules.js
@@ -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')