From 61c16c14e65695d8f1c7808f29948eac94975a6b Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 14 Feb 2023 00:19:15 +0100 Subject: Don't allow assigning duplicate capabilities during first Arts of War. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index b26980e..df37ad6 100644 --- a/rules.js +++ b/rules.js @@ -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 } -- cgit v1.2.3