diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-04 13:06:21 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | 7556b97dcf895ae59ba4f9ada19baa6e00477cc8 (patch) | |
tree | 28aec932bc34262f37f8937bdd22b2a95568b568 | |
parent | 6c12573074cc3eae1ac85d9be342f660aec4d19f (diff) | |
download | nevsky-7556b97dcf895ae59ba4f9ada19baa6e00477cc8.tar.gz |
Fix Tempest.
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |