diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-19 23:15:07 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-19 23:15:07 +0200 |
commit | 4bc162208ab1631a9f47fa5adbe3ecab36b2e685 (patch) | |
tree | 3e75d3284f37c295eb29c9ecaf98ada14b57cafc | |
parent | 58cdc0c1f5c66869eb776713415f40252b474025 (diff) | |
download | plantagenet-4bc162208ab1631a9f47fa5adbe3ecab36b2e685.tar.gz |
Fix Culverins.
-rw-r--r-- | rules.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6104,9 +6104,9 @@ function is_culverins_and_falconets_in_battle() { for (let p of battle_strike_positions) { let lord = game.battle.array[p] if (lord !== NOBODY) { - if (lord_has_capability(lord, AOW_LANCASTER_CULVERINS_AND_FALCONETS)) + if (game.active === LANCASTER && lord_has_capability(lord, AOW_LANCASTER_CULVERINS_AND_FALCONETS)) return true - if (lord_has_capability(lord, AOW_YORK_CULVERINS_AND_FALCONETS)) + if (game.active === YORK && lord_has_capability(lord, AOW_YORK_CULVERINS_AND_FALCONETS)) return true } } |