summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-20 13:42:37 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-20 13:42:37 +0200
commite7520ade6d68744932b1edfb4d5e610b4e9c6d15 (patch)
tree9081a9c731323cfb8b75fa791678752a834396a5 /rules.ts
parent337d92a8cc7a92e3f085e6a13ab4a87e2abe5832 (diff)
downloadplantagenet-e7520ade6d68744932b1edfb4d5e610b4e9c6d15.tar.gz
Cope with lords already having capabilities in first arts of war.
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.ts b/rules.ts
index a54a5cf..00203a0 100644
--- a/rules.ts
+++ b/rules.ts
@@ -2089,7 +2089,7 @@ states.levy_arts_of_war_first = {
view.what = c
let discard = true
for (let lord of data.cards[c].lords) {
- if (is_lord_on_map(lord) && !lord_already_has_capability(lord, c)) {
+ if (is_lord_on_map(lord) && !lord_already_has_capability(lord, c) && can_add_lord_capability(lord)) {
gen_action_lord(lord)
discard = false
}