From b0c39e52162a6eb305d3250afac5dc076adb7186 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 21 Apr 2024 18:57:58 +0200 Subject: Blocked Ford cancels England is my Home. --- rules.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rules.ts b/rules.ts index a4a41d2..8b0ed1b 100644 --- a/rules.ts +++ b/rules.ts @@ -2600,7 +2600,8 @@ function disband_lord(lord: Lord, permanently = false) { if (permanently) { log(`Removed L${lord}.`) set_lord_locale(lord, NOWHERE) - } else if (lord_has_capability(lord, AOW_YORK_ENGLAND_IS_MY_HOME)) { + } + else if (lord_has_capability(lord, AOW_YORK_ENGLAND_IS_MY_HOME) && !is_event_in_play(EVENT_LANCASTER_BLOCKED_FORD)) { set_lord_calendar(lord, turn + (extra - data.lords[lord].influence)) log(`Disbanded L${lord} to turn ${current_turn() + 1}.`) } @@ -2632,7 +2633,7 @@ function disband_lord(lord: Lord, permanently = false) { function exile_lord(lord: Lord) { log("Exiled L" + lord) disband_lord(lord, false) - if (lord_has_capability(lord, AOW_YORK_ENGLAND_IS_MY_HOME)) { + if (lord_has_capability(lord, AOW_YORK_ENGLAND_IS_MY_HOME) && !is_event_in_play(EVENT_LANCASTER_BLOCKED_FORD)) { logcap(AOW_YORK_ENGLAND_IS_MY_HOME) set_lord_calendar(lord, current_turn() + 1) } else { -- cgit v1.2.3