diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-02-09 11:18:43 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:40 +0100 |
commit | fc00e4b34076a69e1627c3a843adee1edd9746a6 (patch) | |
tree | acd90215cf83d338e492b07d05073a59aaf24bf5 | |
parent | 518e57949dc9601c06f4d146f6ff52246c2c5dd2 (diff) | |
download | nevsky-fc00e4b34076a69e1627c3a843adee1edd9746a6.tar.gz |
Stone Kremlin can be used by a besieged lord.
-rw-r--r-- | rules.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4532,6 +4532,8 @@ states.command = { if (is_lord_besieged(game.command)) { if (can_action_sally()) view.actions.sally = 1 + if (can_action_stone_kremlin()) + view.actions.stone_kremlin = 1 } else { @@ -6654,7 +6656,7 @@ function can_action_stone_kremlin() { let here = get_lord_locale(game.command) if (is_fort(here) || is_city(here) || here === LOC_NOVGOROD) { - if (has_walls(here) || !is_friendly_locale(here)) + if (has_walls(here) || !is_friendly_stronghold(here)) return false return true } |