diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-09 18:10:40 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-09 18:10:40 +0200 |
commit | 422c7760adfee46d3a6c3be9dba7347a5ab0e12e (patch) | |
tree | 24c6daff90575671e68925859031c2fb26ee267b | |
parent | cc11c3552042118ce631c3c1541efe298df92e8c (diff) | |
download | plantagenet-422c7760adfee46d3a6c3be9dba7347a5ab0e12e.tar.gz |
fix thomas bourchier
-rw-r--r-- | rules.js | 2 | ||||
-rw-r--r-- | rules.ts | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; } @@ -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 } |