From b97b42328029109190a7ade03753a35e7abbbcbc Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 17 Apr 2024 10:53:12 +0200 Subject: Fix bugs in Tax. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index 88034b5..359a203 100644 --- a/rules.js +++ b/rules.js @@ -3457,7 +3457,7 @@ function get_stronghold_supply_amount(loc) { else supply = 1 - if (lord_has_stafford_branch(loc, lord)) + if (lord_has_stafford_branch(game.command, lord)) supply += 1 return modify_supply(loc, supply) @@ -10402,7 +10402,7 @@ states.tax_collectors = { prompt() { view.prompt = "Tax Collectors : You may tax for Double coin with each lord" for (let lord = first_york_lord; lord <= last_york_lord; ++lord) { - if (!get_lord_moved(lord) && can_tax_collectors(here, lord)) + if (!get_lord_moved(lord) && can_tax_collectors(lord)) gen_action_lord(lord) } view.actions.done = 1 -- cgit v1.2.3