diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-17 11:06:34 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-17 11:07:49 +0200 |
commit | 10079ff176639f36a2c16caa98e2eefcf2fadae4 (patch) | |
tree | 08cb71914bfa081b4a3536577e88cc0e8c4eee14 | |
parent | 3044bac6bd43bff8064ba37ee4572f8680e5259b (diff) | |
download | plantagenet-10079ff176639f36a2c16caa98e2eefcf2fadae4.tar.gz |
Fix tax fix.
-rw-r--r-- | rules.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3448,7 +3448,7 @@ function get_stronghold_supply_amount(loc) { else supply = 1 - if (lord_has_stafford_branch(game.command, lord)) + if (lord_has_stafford_branch(loc, game.command)) supply += 1 return modify_supply(loc, supply) @@ -3777,12 +3777,12 @@ function can_tax_at(here, lord) { return true // Own seat - if (here === data.lords[game.command].seat) + if (here === data.lords[lord].seat) return true // vassal seats for (let vassal = first_vassal; vassal <= last_vassal; ++vassal) - if (is_vassal_mustered_with(vassal, game.command)) + if (is_vassal_mustered_with(vassal, lord)) if (here === data.vassals[vassal].seat) return true } @@ -10428,7 +10428,7 @@ states.tax_collectors_lord = { log(`Taxed %${game.where}.`) add_lord_assets(game.who, COIN, get_tax_amount(game.where, game.who) * 2) - end_tax_lord() + end_tax_collectors_lord() } }, spend1: add_influence_check_modifier_1, |