From 8a2455c743a884435061f67917611eba4818dfc8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 4 Jan 2023 01:33:43 +0100 Subject: Don't deploy No Capability cards! --- rules.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules.js b/rules.js index ce9ad21..b9923c3 100644 --- a/rules.js +++ b/rules.js @@ -3458,6 +3458,8 @@ states.muster_capability = { view.prompt = `Muster: Select a new capability for ${lord_name[game.who]}.` view.arts_of_war = deck for (let c of deck) { + if (is_no_event_card(c)) + continue if (!data.cards[c].lords || set_has(data.cards[c].lords, game.who)) { if (data.cards[c].this_lord) { if (!lord_already_has_capability(game.who, c)) -- cgit v1.2.3