From 7556b97dcf895ae59ba4f9ada19baa6e00477cc8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 4 Jan 2023 13:06:21 +0100 Subject: Fix Tempest. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 8d9e79f..3444cca 100644 --- a/rules.js +++ b/rules.js @@ -2178,7 +2178,7 @@ states.tempest = { ship(lord) { logi(`Removed ships from L${lord}.`) let n = 0 - if (lord_has_capability(AOW_TEUTONIC_COGS)) + if (lord_has_capability(lord, AOW_TEUTONIC_COGS)) n = Math.ceil(get_lord_assets(lord, SHIP) / 2) set_lord_assets(lord, SHIP, n) end_immediate_event() -- cgit v1.2.3