diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-02-14 00:19:15 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:40 +0100 |
commit | 61c16c14e65695d8f1c7808f29948eac94975a6b (patch) | |
tree | 2d2edfcf6b30b3b137e4f951a5ad5d2c3bbb9956 | |
parent | b52fcfbe8ae88f9fc224fffb1db7f083b7591322 (diff) | |
download | nevsky-61c16c14e65695d8f1c7808f29948eac94975a6b.tar.gz |
Don't allow assigning duplicate capabilities during first Arts of War.
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3208,7 +3208,7 @@ states.levy_arts_of_war_first = { } else if (data.cards[c].this_lord) { let discard = true for (let lord of data.cards[c].lords) { - if (is_lord_on_map(lord) && !lord_has_capability(lord, c)) { + if (is_lord_on_map(lord) && !lord_already_has_capability(lord, c)) { gen_action_lord(lord) discard = false } |