summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-04 01:33:43 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commit8a2455c743a884435061f67917611eba4818dfc8 (patch)
tree0ed178fef37277a92b940be26d01e54bde85896b
parentba8579e69049a1edc9d345d396cc9a60bbbd2ac7 (diff)
downloadnevsky-8a2455c743a884435061f67917611eba4818dfc8.tar.gz
Don't deploy No Capability cards!
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
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))