summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-03 22:52:22 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commitfcdc5e97494406570205a8f5abed8a3087f2ecaa (patch)
tree8ad6aa14180fc2ec96ce43bd0efa4950df8f8e8d
parent283d27aa4ab5a38f9e4ec037ee5a5db7a11baf86 (diff)
downloadnevsky-fcdc5e97494406570205a8f5abed8a3087f2ecaa.tar.gz
Fix losses when withdrawing losers.
-rw-r--r--rules.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 332d55f..17ae9b0 100644
--- a/rules.js
+++ b/rules.js
@@ -8354,9 +8354,10 @@ function action_losses(lord, type) {
if (game.active === game.battle.attacker)
target = 1
} else {
- // Losers in a Battle roll vs 1 if they did not concede
+ // Losers in a Battle roll vs 1 if they did not concede (unless they Withdrew)
if (game.active === game.battle.loser && game.active !== game.battle.conceded)
- target = 1
+ if (is_lord_unbesieged(lord))
+ target = 1
}
let die = roll_die()