summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-03-22 00:12:23 +0100
committerTor Andersson <tor@ccxvii.net>2023-03-22 00:12:23 +0100
commit4b601d227d997d960bc34237eab7d9b652f3779f (patch)
treee8da1a6845b80c402e4293b726f756cf5b69d01a
parent27cb70224db535852ab625d9f7c8876474a6c411 (diff)
downloadnevsky-4b601d227d997d960bc34237eab7d9b652f3779f.tar.gz
Allow shifting a Lord cylinder using the Legate even if no Levy event.
-rw-r--r--rules.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/rules.js b/rules.js
index 78704eb..e3c0d95 100644
--- a/rules.js
+++ b/rules.js
@@ -3807,13 +3807,11 @@ states.papal_legate_active = {
gen_action_locale(loc)
for (let lord = first_friendly_lord; lord <= last_friendly_lord; ++lord) {
- if (no_muster_of_or_by_lord(lord))
- continue
-
// Seat of a Ready Lord without rolling
if (is_lord_ready(lord)) {
if (is_lord_seat(lord, here))
- gen_action_lord(lord)
+ if (!no_muster_of_or_by_lord(lord))
+ gen_action_lord(lord)
}
// Seat of a Lord on the Calendar
@@ -3825,7 +3823,8 @@ states.papal_legate_active = {
// At a Friendly Locale with a Lord
else if (is_lord_on_map(lord)) {
if (get_lord_locale(lord) === here && is_friendly_locale(here))
- gen_action_lord(lord)
+ if (!no_muster_of_or_by_lord(lord))
+ gen_action_lord(lord)
}
}
},