diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-06 11:09:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-06 11:09:53 +0200 |
commit | 110cf9f77f91da4885ff52e5365d88e065b47059 (patch) | |
tree | a258438c942fb8b74ccff85d7ecc3a637d27ecc5 /rules.ts | |
parent | e7cc75774f1da5e2b4068ce662d0c3e503e68c89 (diff) | |
download | plantagenet-110cf9f77f91da4885ff52e5365d88e065b47059.tar.gz |
fix logging errors
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4162,7 +4162,7 @@ states.supply_source = { let stronghold_supply = get_stronghold_supply_amount(loc, false) if (stronghold_supply > 0 && port_supply === 0) { - use_stronghold_supply(loc, stronghold_supply) + use_stronghold_supply(loc, get_stronghold_supply_amount(loc, true)) end_supply() return } @@ -4173,7 +4173,7 @@ states.supply_source = { if (can_naval_blockade(get_lord_locale(game.command)) || can_naval_blockade(game.where)) { game.state = "blockade_supply" } else { - use_port_supply(loc, port_supply) + use_port_supply(loc, get_port_supply_amount(loc, true)) end_supply() } return @@ -6695,7 +6695,7 @@ states.for_trust_not_him_bribe = { prompt_influence_check(game.who, vassal_ic) }, check(spend) { - if (roll_influence_check("Bribe L" + game.vassal, game.who, spend, vassal_ic)) + if (roll_influence_check("Bribe V" + game.vassal, game.who, spend, vassal_ic)) muster_vassal(game.vassal, game.who) end_for_trust_not_him() }, |