From 6f3c3093e1ae354c397f8a8eb47d4b7a1e9ef657 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 25 Oct 2024 11:50:20 +0200 Subject: fix battle vp when eliminating generals with < 3 troops --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 22a04b9..998ceb2 100644 --- a/rules.js +++ b/rules.js @@ -3610,7 +3610,7 @@ function lose_vp(pow, n) { function finish_combat() { let n = game.lost_troops / 3 | 0 - if (n < 0 && game.lost_generals > 0) + if (n === 0 && game.lost_generals > 0) n = 1 if (n > 0) { -- cgit v1.2.3