From b7dc4ddf831eb2b5534558a28788f7a7af49009f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 15 May 2024 12:46:10 +0200 Subject: x --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 18d19bd..628ed0b 100644 --- a/rules.js +++ b/rules.js @@ -4965,7 +4965,7 @@ function log_lord_engage(lord) { } const battle_steps = [ null, - { name: "Missiles", hits: count_archery_hits }, + { name: "Missiles", hits: count_missile_hits }, { name: "Melee", hits: count_melee_hits }, ]; function remove_lord_from_battle(lord) { @@ -5002,7 +5002,7 @@ function filled(pos) { return true; return false; } -function count_archery_hits(lord) { +function count_missile_hits(lord) { let hits = 0; hits += get_lord_forces(lord, LONGBOWMEN) << 2; hits += get_lord_forces(lord, BURGUNDIANS) << 2; -- cgit v1.2.3