summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-08-21 23:58:27 +0200
committerTor Andersson <tor@ccxvii.net>2023-08-21 23:58:27 +0200
commit45cc295ecbbf5f1562897ab32e68fb3763ba3c86 (patch)
tree5363dae95edbda3fb57a8a6260af7948024ed76e
parent84ced446d2b04f72348e30774f440d3d9b7108bb (diff)
downloadnevsky-45cc295ecbbf5f1562897ab32e68fb3763ba3c86.tar.gz
Disallow Muster of Lord at not Friendly locale using Legate.
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index d2a3fc2..04f6c67 100644
--- a/rules.js
+++ b/rules.js
@@ -3819,13 +3819,14 @@ states.papal_legate_active = {
for (let lord = first_friendly_lord; lord <= last_friendly_lord; ++lord) {
// Seat of a Ready Lord without rolling
if (is_lord_ready(lord)) {
- if (is_lord_seat(lord, here))
+ if (is_lord_seat(lord, here) && is_friendly_locale(here))
if (!no_muster_of_or_by_lord(lord))
gen_action_lord(lord)
}
// Seat of a Lord on the Calendar
else if (is_lord_on_calendar(lord)) {
+ // allow shifting even if not at a friendly locale
if (is_lord_seat(lord, here))
gen_action_lord(lord)
}