summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-19 18:01:33 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-19 18:01:33 +0200
commit68648430f90906c2f8fd5a60c7bd70b85a566242 (patch)
treee743bc28d30deca507cc4dcc858cd896094614b1 /rules.ts
parent7c43627005206267c615ff8cd0db2d8694047183 (diff)
downloadplantagenet-68648430f90906c2f8fd5a60c7bd70b85a566242.tar.gz
Bugfix.
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts4
1 files changed, 2 insertions, 2 deletions
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 {