diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-02-16 15:09:08 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-02-16 15:12:11 +0100 |
commit | 374a838509706ed6abb79d9d54d48cb993733679 (patch) | |
tree | 2d779c83261dd4dfc2df5a71bb68f62f9a709cc8 | |
parent | 830ee426e2b13cdd9ed9d5e999f06901b50f5576 (diff) | |
download | nevsky-374a838509706ed6abb79d9d54d48cb993733679.tar.gz |
Fix bad interaction between Smerdi and Veliky Knyaz.
restore_mustered_forces zeroed out the mustered serfs.
Remember and restore the serfs after restoring the lord's and the
vassals' regular forces.
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6534,10 +6534,12 @@ function ravage_location(here, there) { // === ACTION: TAX === function restore_mustered_forces(lord) { + let serf_count = get_lord_forces(lord, SERFS) muster_lord_forces(lord) for (let v of data.lords[lord].vassals) if (is_vassal_mustered(v)) muster_vassal_forces(lord, v) + set_lord_forces(lord, SERFS, serf_count) } function can_action_tax() { |