diff options
-rw-r--r-- | play.js | 1 | ||||
-rw-r--r-- | rules.ts | 10 |
2 files changed, 5 insertions, 6 deletions
@@ -1335,6 +1335,7 @@ function update_vassals() { if (ui.vassal_map[v]) { ui.vassal_map[v].classList.remove("hide") ui.vassal_map[v].classList.toggle("action", is_action("vassal", v)) + ui.vassal_map[v].classList.toggle("selected", v === view.vassal) } } else { // on calendar (+ maybe on lord mat) @@ -2033,9 +2033,9 @@ function vassal_ic_rating(lord: Lord, spend: number) { // Note: use of game.vassal if (game.active === LANCASTER) - rating += data.vassals[game.vassal].influence - else rating -= data.vassals[game.vassal].influence + else + rating += data.vassals[game.vassal].influence return rating } @@ -2666,6 +2666,8 @@ states.pay_vassals = { // === 3.2.4 DISBAND === function clear_lord(lord: Lord) { + for_each_vassal_with_lord(lord, disband_vassal) + discard_lord_capability_n(lord, 0) discard_lord_capability_n(lord, 1) @@ -2679,10 +2681,6 @@ function clear_lord(lord: Lord) { set_lord_moved(lord, 0) - for_each_vassal_with_lord(lord, v => { - disband_vassal(v) - }) - check_capture_of_the_king() } |