diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-11-26 14:37:43 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:37 +0100 |
commit | 1eb2d8cd1c5ea7615dde76e7352df1f0a14b71ab (patch) | |
tree | d1252afec40a97c415d35ef3daf2823199be78ae /rules.js | |
parent | 9c3cb0ded87e15d4eb6524f299b8ca0ce47f1eea (diff) | |
download | nevsky-1eb2d8cd1c5ea7615dde76e7352df1f0a14b71ab.tar.gz |
Lieutenants.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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) |