From 4bc162208ab1631a9f47fa5adbe3ecab36b2e685 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 19 Apr 2024 23:15:07 +0200 Subject: Fix Culverins. --- rules.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.ts b/rules.ts index 14078d1..69ceb30 100644 --- a/rules.ts +++ b/rules.ts @@ -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 } } -- cgit v1.2.3