summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js1
-rw-r--r--rules.js4
2 files changed, 5 insertions, 0 deletions
diff --git a/play.js b/play.js
index a981407..b7286ed 100644
--- a/play.js
+++ b/play.js
@@ -1582,6 +1582,7 @@ function on_update() {
action_button("end_plow_and_reap", "End plow and reap")
action_button("end_ransom", "End ransom")
action_button("end_remove", "End remove")
+ action_button("end_reposition", "End reposition")
action_button("end_sally", "End sally")
action_button("end_setup", "End setup")
action_button("end_spoils", "End spoils")
diff --git a/rules.js b/rules.js
index 17ae9b0..d766228 100644
--- a/rules.js
+++ b/rules.js
@@ -6780,6 +6780,7 @@ states.reposition_storm = {
for (let lord of game.battle.reserves)
if (is_friendly_lord(lord) && lord !== game.who)
gen_action_lord(lord)
+ view.action.end_reposition = 1
},
lord(lord) {
log(`Swapped in L${lord}.`)
@@ -6793,6 +6794,9 @@ states.reposition_storm = {
}
end_reposition_storm()
},
+ end_reposition() {
+ end_reposition_storm()
+ },
}
// === BATTLE: TOTAL HITS ===