summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js4
-rw-r--r--rules.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index d85a09f..d006bfb 100644
--- a/rules.js
+++ b/rules.js
@@ -11018,7 +11018,7 @@ states.sun_in_splendour = {
prompt() {
view.prompt = "Sun in Splendour: Muster Edward IV at any friendly locale with no enemy lord.";
for (let loc of all_locales)
- if (is_friendly_locale(loc))
+ if (is_friendly_locale(loc) && !has_enemy_lord(loc))
gen_action_locale(loc);
},
locale(loc) {
@@ -11037,7 +11037,7 @@ states.sun_in_splendour_now = {
prompt() {
view.prompt = "Sun in Splendour: Muster Edward IV at any friendly locale with no enemy lord.";
for (let loc of all_locales)
- if (is_friendly_locale(loc))
+ if (is_friendly_locale(loc) && !has_enemy_lord(loc))
gen_action_locale(loc);
},
locale(loc) {
diff --git a/rules.ts b/rules.ts
index 538d12c..d34b9a2 100644
--- a/rules.ts
+++ b/rules.ts
@@ -12691,7 +12691,7 @@ states.sun_in_splendour = {
prompt() {
view.prompt = "Sun in Splendour: Muster Edward IV at any friendly locale with no enemy lord."
for (let loc of all_locales)
- if (is_friendly_locale(loc))
+ if (is_friendly_locale(loc) && !has_enemy_lord(loc))
gen_action_locale(loc)
},
locale(loc) {
@@ -12714,7 +12714,7 @@ states.sun_in_splendour_now = {
prompt() {
view.prompt = "Sun in Splendour: Muster Edward IV at any friendly locale with no enemy lord."
for (let loc of all_locales)
- if (is_friendly_locale(loc))
+ if (is_friendly_locale(loc) && !has_enemy_lord(loc))
gen_action_locale(loc)
},
locale(loc) {