diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-29 17:35:25 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-29 17:35:25 +0000 |
commit | d282ff258ccce2afc54ae9ed2ef3624a0952b045 (patch) | |
tree | 60205c16ceb708cc37375d48a680cd7522c256fd | |
parent | 17b3b412c6300ce5458d46acd4757b05403287fc (diff) | |
download | 1989-dawn-of-freedom-d282ff258ccce2afc54ae9ed2ef3624a0952b045.tar.gz |
Fix fuzzer with TST Award 3
-rw-r--r-- | rules.js | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -3404,7 +3404,6 @@ function event_is_playable(card) { } // Then check normally else if (game.playable_cards.includes(card)) { - console.log('in playable cards', game.playable_cards) return true } else if (cards[card].playable) { return true @@ -4091,7 +4090,7 @@ function check_systematization() { if (game.systematization > 0) { game.valid_spaces = game.valid_spaces.filter(n => n !== game.systematization) } -} +} function this_card() { return game.vm_event > 0 ? game.vm_event : game.played_card @@ -7948,10 +7947,14 @@ states.vm_tst_3 = { gen_action_card(card) } } + console.log('game.valid_cards', game.valid_cards) }, card(card) { push_undo() discard(card) + console.log('card', card,'game.valid_cards', game.valid_cards) + game.valid_cards.splice(game.valid_cards.indexOf(card), 1) + console.log('game.valid_cards', game.valid_cards) game.temp ++ if (game.temp === 2) { game.valid_cards = [] |