From d8eb06fb7bcf7b6e2218a92aa9db1a5aef533faa Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 13 Jul 2024 00:23:10 +0200 Subject: fix Sun in Splendour --- rules.js | 4 ++-- rules.ts | 4 ++-- 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) { -- cgit v1.2.3