diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-17 17:10:46 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-08 16:36:48 +0100 |
commit | 886331ee11f3f5e64971a0575a0aeb9f85d7f8b7 (patch) | |
tree | 56e417810e4c64978030f2cde444c86a4a8d3f90 | |
parent | 6aa47f2238ea93b1c525430b814dcda1168a6ad7 (diff) | |
download | table-battles-886331ee11f3f5e64971a0575a0aeb9f85d7f8b7.tar.gz |
cannot bombard last cube
-rw-r--r-- | rules.js | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1927,6 +1927,13 @@ function can_take_action(c, a, ix) { return false } + if (a.type === "Bombard") { + // cannot Bombard last morale cube + let p = player_index() + if (game.morale[1-p] === 1) + return false + } + if (game.scenario === S8_BROOKLYN_HEIGHTS) { if (c === S8_CLINTON) { // Clinton - may only attack if both Grant and Hessians have dice on them. |