diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-01-07 13:24:20 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:19:39 +0100 |
commit | 51cfcf6adeb73b08d6e3ce518c37deffb5e729cd (patch) | |
tree | a2ac5dde953fe0fe4bf96b3e9bd991b89376f1e3 | |
parent | fed26ac0262efe7283462381f555441c4d953646 (diff) | |
download | crusader-rex-51cfcf6adeb73b08d6e3ce518c37deffb5e729cd.tar.gz |
Show both prior cards to make it clearer when double events cancel.
-rw-r--r-- | rules.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1190,14 +1190,18 @@ function resume_play_card() { states.play_card = { prompt: function (view, current) { - if (current === OBSERVER) + if (current === OBSERVER) { + view.prior_s_card = game.prior_s_card; + view.prior_f_card = game.prior_f_card; return view.prompt = "Card Phase: Waiting for players to play a card."; + } if (current === FRANKS) { view.prior_s_card = game.prior_s_card; if (game.f_card) { view.prompt = "Card Phase: Waiting for Saracens to play a card."; gen_action(view, 'undo'); } else { + view.prior_f_card = game.prior_f_card; view.prompt = "Card Phase: Play a card."; for (let c of game.f_hand) if (game.turn > 1 || c !== INTRIGUE) @@ -1210,6 +1214,7 @@ states.play_card = { view.prompt = "Card Phase: Waiting for Franks to play a card."; gen_action(view, 'undo'); } else { + view.prior_s_card = game.prior_s_card; view.prompt = "Card Phase: Play a card."; for (let c of game.s_hand) if (game.turn > 1 || c !== INTRIGUE) |