diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-07-19 15:23:50 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-19 15:23:50 +0200 |
commit | c238084cfa696ae94240d93d1d1e728870be0586 (patch) | |
tree | b9c8b6c5c189d2193317f4db60a680c893bff35b | |
parent | e83af1de9e18acaafe24588b45c330a72f98872a (diff) | |
download | time-of-crisis-c238084cfa696ae94240d93d1d1e728870be0586.tar.gz |
Tweak prompt for Flanking Maneuver.
-rw-r--r-- | play.js | 6 | ||||
-rw-r--r-- | rules.js | 5 |
2 files changed, 8 insertions, 3 deletions
@@ -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") @@ -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() }, |