summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-21 14:54:58 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commit22aba0a6adffd4fe35847cb84f0c497a3e38710d (patch)
tree44b9aef717b3293d441f21f55a4493faa72f35ec
parent1e3995aae8a7a0b613d0813e6d3a940a66c0850d (diff)
downloadandean-abyss-22aba0a6adffd4fe35847cb84f0c497a3e38710d.tar.gz
WIP up to - air lift at least one?
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 05be45d..a6bc521 100644
--- a/rules.js
+++ b/rules.js
@@ -4613,7 +4613,8 @@ states.air_lift_move = {
view.prompt = `Air Lift: Move Troops from ${space_name[game.sa.from]} to ${space_name[game.sa.to]}.`
view.where = game.sa.to
gen_piece_in_space(game.sa.from, GOVT, TROOPS)
- view.actions.end_air_lift = 1
+ if (game.sa.count > 0)
+ view.actions.end_air_lift = 1
},
piece(p) {
move_piece(p, game.sa.to)