From 227dca6e6e4c2f2d5a16527507810bc373b758ec Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 16 Oct 2024 12:21:33 +0200 Subject: Add special panels for Karl Marx and Jules Ducatel events. --- rules.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index ca48ad6..458584d 100644 --- a/rules.js +++ b/rules.js @@ -3415,7 +3415,7 @@ states.reveal_commune_hand = { inactive: "look at Commune player's hand", prompt() { event_prompt("Revealing Commune player's hand.") - view.hand = game.red_hand + view.jules_ducatel = game.red_hand view.actions.done = 1 }, done() { @@ -3478,7 +3478,7 @@ states.karl_marx_discard = { inactive: "discard a card", prompt() { event_prompt("Discard 2 cards, then play or discard the last card.") - view.hand = game.vm.cards + view.karl_marx = game.vm.cards for (let c of game.vm.cards) gen_action_card(c) }, @@ -3496,7 +3496,7 @@ states.karl_marx_play = { inactive: "play or discard a card", prompt() { event_prompt("Play or discard the last card.") - view.hand = game.vm.cards + view.karl_marx = game.vm.cards if (can_play_event(game.vm.cards[0])) view.actions.event = 1 else @@ -3543,7 +3543,7 @@ states.georges_vaysset = { inactive: "look at Commune player's hand, take a card, then give them a card", prompt() { event_prompt("Take a card from your opponent's hand.") - view.hand = game.red_hand + view.karl_marx = game.red_hand for (let c of game.red_hand) gen_action_card(c) }, -- cgit v1.2.3