From f430388401da9d26baaaa5eb992c5f0fe4f8e228 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 27 Mar 2022 03:19:15 +0200 Subject: Must be highest rank (but not necessarily best leader) to siege/assault. --- rules.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 3420c36..d649351 100644 --- a/rules.js +++ b/rules.js @@ -5594,7 +5594,9 @@ function can_moving_force_siege_or_assault() { let where = moving_piece_space(); if (has_besieged_enemy_fortifications(where)) { let commanding = find_friendly_commanding_leader_in_space(where); - if (leader === commanding && force_has_supplied_drilled_troops(leader)) { + let cmd_rank = leader_command(commanding); + let ldr_rank = leader_command(leader); + if (ldr_rank === cmd_rank && force_has_supplied_drilled_troops(leader)) { return true; } } -- cgit v1.2.3