summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-03-15 13:46:46 +0100
committerTor Andersson <tor@ccxvii.net>2023-03-15 13:46:46 +0100
commite905ebfbe3bffc8a4f0c04ca02564bf84491d5ff (patch)
treec8353cade955d8f569286cbdf6d2f84f181c9c69
parentd8fd6baedb04ece10d4fc78eb8aac91f4cd283c9 (diff)
downloadhammer-of-the-scots-e905ebfbe3bffc8a4f0c04ca02564bf84491d5ff.tar.gz
King should go to draw pool if eliminated in non-battle situations.
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 95ab6a0..165c48a 100644
--- a/rules.js
+++ b/rules.js
@@ -637,10 +637,12 @@ function eliminate_block(who, reason) {
disband(who)
}
} else if (who === B_KING) {
- game.location[who] = NOWHERE
if (reason === 'combat' || reason === 'retreat') {
+ game.location[who] = NOWHERE
game.victory = "England won because the Scottish king has died in battle!"
game.result = ENGLAND
+ } else {
+ disband(who)
}
} else if (block_is_mortal(who) && (reason === 'combat' || reason === 'retreat')) {
game.location[who] = NOWHERE