diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-04 01:33:43 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | 8a2455c743a884435061f67917611eba4818dfc8 (patch) | |
tree | 0ed178fef37277a92b940be26d01e54bde85896b /rules.js | |
parent | ba8579e69049a1edc9d345d396cc9a60bbbd2ac7 (diff) | |
download | nevsky-8a2455c743a884435061f67917611eba4818dfc8.tar.gz |
Don't deploy No Capability cards!
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) |