From b543883cb91c6fa64eca99bb8fba59bd3cbe1027 Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Tue, 6 Jun 2023 19:22:37 +0200 Subject: Updated Pay (no pillage) --- rules.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rules.js b/rules.js index 131917b..831d113 100644 --- a/rules.js +++ b/rules.js @@ -6300,6 +6300,12 @@ function has_friendly_lord_who_may_be_paid() { function goto_pay() { log_br() + for (let lord = first_friendly_lord; lord <= last_friendly_lord; ++lord) { + if (count_lord_all_forces(lord) >= 7) + set_lord_unfed(lord, 2) + else + set_lord_unfed(lord, 1) + } game.state = "pay" } @@ -6313,13 +6319,7 @@ states.pay = { prompt() { view.prompt = "Pay: You must Pay your Lord's Troops" let done = true - prompt_held_event() - for (let lord = first_friendly_lord; lord <= last_friendly_lord; ++lord) { - if (count_lord_all_forces(lord) >= 7) - set_lord_unfed(lord, 2) - else - set_lord_unfed(lord, 1) - } + // Pay from own mat -- cgit v1.2.3