From 60fc53140c5a7eb96f4d585c93b94c756d6c7476 Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Thu, 15 Feb 2024 10:55:12 +0100 Subject: fix soldiers of fortune --- rules.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 08b013c..192441a 100644 --- a/rules.js +++ b/rules.js @@ -1439,8 +1439,7 @@ function can_add_troops_sof(lordwho, locale) { lord_has_capability(lordwho, AOW_YORK_SOLDIERS_OF_FORTUNE) && !has_exhausted_marker(locale) && !is_exile(locale) && - // TODO: get_shared_assets includes lord's own assets -- simplify? - (get_lord_assets(lordwho, COIN) > 0 || get_shared_assets(lordwho, COIN) > 0) + get_shared_assets(locale, COIN) > 0 ) { let number = 6 for (let lord = first_friendly_lord; lord <= last_friendly_lord; ++lord) -- cgit v1.2.3