From 422c7760adfee46d3a6c3be9dba7347a5ab0e12e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 9 May 2024 18:10:40 +0200 Subject: fix thomas bourchier --- rules.js | 2 +- rules.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index 0f6a879..cf060b2 100644 --- a/rules.js +++ b/rules.js @@ -3094,7 +3094,7 @@ function goto_command() { game.actions += 1; } } - if (lord_has_capability(game.command, AOW_YORK_THOMAS_BOURCHIER) && is_city(here)) { + if (lord_has_capability(game.command, AOW_YORK_THOMAS_BOURCHIER) && is_city(here) && is_friendly_locale(here)) { logcap(AOW_YORK_THOMAS_BOURCHIER); game.actions += 1; } diff --git a/rules.ts b/rules.ts index 62ed47d..7ea5168 100644 --- a/rules.ts +++ b/rules.ts @@ -3784,7 +3784,7 @@ function goto_command() { game.actions += 1 } } - if (lord_has_capability(game.command, AOW_YORK_THOMAS_BOURCHIER) && is_city(here)) { + if (lord_has_capability(game.command, AOW_YORK_THOMAS_BOURCHIER) && is_city(here) && is_friendly_locale(here)) { logcap(AOW_YORK_THOMAS_BOURCHIER) game.actions += 1 } -- cgit v1.2.3