From 1eb2d8cd1c5ea7615dde76e7352df1f0a14b71ab Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 26 Nov 2022 14:37:43 +0100 Subject: Lieutenants. --- rules.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 2b203cc..3a3190a 100644 --- a/rules.js +++ b/rules.js @@ -397,9 +397,9 @@ function count_cards_in_plan(plan, lord) { function is_marshal(lord) { switch (lord) { case LORD_ANDREAS: return true - case LORD_HERMANN: return is_lord_on_map(LORD_ANDREAS) + case LORD_HERMANN: return !is_lord_on_map(LORD_ANDREAS) case LORD_ALEKSANDR: return true - case LORD_ANDREY: return is_lord_on_map(LORD_ALEKSANDR) + case LORD_ANDREY: return !is_lord_on_map(LORD_ALEKSANDR) default: return false } } @@ -1524,8 +1524,7 @@ states.campaign_plan = { gen_action_plan(NOBODY) for (let lord = first; lord <= last; ++lord) { if (is_lord_on_map(lord) && count_cards_in_plan(plan, lord) < 3) - if (!is_lower_lord(lord)) - gen_action_plan(lord) + gen_action_plan(lord) } } else { if (upper === NOBODY) -- cgit v1.2.3