From 02943b220c1a49ae8a3816814d3c3866df3d2be7 Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Tue, 21 Nov 2023 10:37:49 +0100 Subject: campaigning action --- rules.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 974bc42..446424e 100644 --- a/rules.js +++ b/rules.js @@ -1148,7 +1148,10 @@ states.campaigning_assign = { done() { delete game.selected_campaigner delete game.campaigning - end_play_card(game.played_card) + if (game.vm) + vm_next() + else + end_play_card(game.played_card) } } @@ -1778,10 +1781,12 @@ function vm_discard_persistent() { } function vm_campaigning_action() { - // TODO - // ASSERT - log("TODO Campaigning Action") - vm_next() + if (has_player_active_campaigners()) { + log("Campaigning Action") + goto_campaigning(game.played_card) + } else { + vm_next() + } } function vm_todo() { -- cgit v1.2.3