From 68648430f90906c2f8fd5a60c7bd70b85a566242 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 19 Apr 2024 18:01:33 +0200 Subject: Bugfix. --- rules.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.ts') diff --git a/rules.ts b/rules.ts index 479ef2d..1a7feed 100644 --- a/rules.ts +++ b/rules.ts @@ -4489,7 +4489,7 @@ states.parley = { if (is_automatic_parley_success(lord)) prompt_influence_check_success(get_parley_influence_cost()) else - prompt_influence_check(lord, get_parley_influence_cost(), get_parley_influence_bonus()) + prompt_influence_check(lord, get_parley_influence_cost(), get_parley_influence_bonus(lord)) } }, locale(loc) { @@ -4504,7 +4504,7 @@ states.parley = { }, check(bonus) { let lord = game.command - if (roll_influence_check(lord, bonus, get_parley_influence_cost(), get_parley_influence_bonus())) { + if (roll_influence_check(lord, bonus, get_parley_influence_cost(), get_parley_influence_bonus(lord))) { shift_favour_toward(game.where) end_parley(true) } else { -- cgit v1.2.3