summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-07-19 15:23:50 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-19 15:23:50 +0200
commitc238084cfa696ae94240d93d1d1e728870be0586 (patch)
treeb9c8b6c5c189d2193317f4db60a680c893bff35b
parente83af1de9e18acaafe24588b45c330a72f98872a (diff)
downloadtime-of-crisis-c238084cfa696ae94240d93d1d1e728870be0586.tar.gz
Tweak prompt for Flanking Maneuver.
-rw-r--r--play.js6
-rw-r--r--rules.js5
2 files changed, 8 insertions, 3 deletions
diff --git a/play.js b/play.js
index f2b723a..de6dfb6 100644
--- a/play.js
+++ b/play.js
@@ -1515,7 +1515,9 @@ function on_update() {
action_button("automatic", "Automatic")
action_button("spend_military", "Spend Military")
action_button("spend_senate", "Spend Senate")
- action_button("reroll", "Reroll")
+
+ action_button("keep", "Keep")
+ action_button("reroll", "Re-roll")
action_button("roll", "Roll")
action_button("disperse_mob", "Disperse Mob")
@@ -1534,7 +1536,7 @@ function on_update() {
action_button("end_actions", "End Actions")
action_button("end_turn", "End Turn")
- action_button("keep", "Keep")
+
action_button("pass", "Pass")
action_button("done", "Done")
action_button("undo", "Undo")
diff --git a/rules.js b/rules.js
index faffc09..c1c0bba 100644
--- a/rules.js
+++ b/rules.js
@@ -3962,10 +3962,13 @@ states.flanking_maneuver = {
get inactive() { return "Flanking Maneuver. " + format_hits() },
prompt() {
prompt("Flanking Maneuver: " + format_hits() + ".")
- view.actions.pass = 1
+ view.actions.keep = 1
view.actions.reroll = 1
},
pass() {
+ this.keep()
+ },
+ keep() {
push_undo()
goto_assign_hits()
},