diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-19 18:01:33 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-19 18:01:33 +0200 |
commit | 68648430f90906c2f8fd5a60c7bd70b85a566242 (patch) | |
tree | e743bc28d30deca507cc4dcc858cd896094614b1 /rules.ts | |
parent | 7c43627005206267c615ff8cd0db2d8694047183 (diff) | |
download | plantagenet-68648430f90906c2f8fd5a60c7bd70b85a566242.tar.gz |
Bugfix.
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |