diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2025-02-24 08:05:37 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2025-02-24 08:05:37 +0000 |
commit | 46bc282ffaa931df54adc0dad3008652a835e0fc (patch) | |
tree | bfca9f93d17f17c1c22d9204c347e7122fcb65f9 | |
parent | 397a492b8f9cd2b8381b0adf537e9e2ddef2466e (diff) | |
download | 1989-dawn-of-freedom-46bc282ffaa931df54adc0dad3008652a835e0fc.tar.gz |
Fix Raise the Stakes allowing cards from discard
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1361,7 +1361,7 @@ states.raise_stakes_1 = { logi(`Discarded P${card} V${power_cards[card].value}`) } discard(card) - + game.valid_cards = game.valid_cards.filter( c => c !== card) game.raised_stakes_discard ++ if (game.raised_stakes_discard === 3) { game.raised_stakes++ @@ -1426,7 +1426,7 @@ states.raise_stakes_2 = { logi(`Discarded P${card} V${power_cards[card].value}`) } discard(card) - + game.valid_cards = game.valid_cards.filter( c => c !== card) game.raised_stakes_discard ++ if (game.raised_stakes_discard === 3) { game.raised_stakes++ |