summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-03 23:00:53 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commit547f0a48eea3f4438cdc84e39ab5118aeb13914f (patch)
tree307407ae090d506b3a710aead96376269b8a288f /rules.js
parentfcdc5e97494406570205a8f5abed8a3087f2ecaa (diff)
downloadnevsky-547f0a48eea3f4438cdc84e39ab5118aeb13914f.tar.gz
Allow not swapping lords in storming.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 4 insertions, 0 deletions
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 ===