diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-25 11:50:20 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-25 11:50:20 +0200 |
commit | 6f3c3093e1ae354c397f8a8eb47d4b7a1e9ef657 (patch) | |
tree | e26f87b713e4a521aaf16b37f43462c8c7015fb4 /rules.js | |
parent | 2da0d09e5718f8099b1e42ebdbabf31f68e7a4b0 (diff) | |
download | maria-6f3c3093e1ae354c397f8a8eb47d4b7a1e9ef657.tar.gz |
fix battle vp when eliminating generals with < 3 troops
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |