diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-07-31 11:28:38 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-07-31 11:28:38 +0200 |
commit | b928cb05174c0d790a6b926bdb1dd16f28d96b16 (patch) | |
tree | 3533e6c9ea76b1b6559af24fd4b1011646e9f4a5 /rules.ts | |
parent | c3a9f0f58cf379f8fccc07d6a2038a4d11e070ec (diff) | |
download | plantagenet-b928cb05174c0d790a6b926bdb1dd16f28d96b16.tar.gz |
Fix regroup end transition if used during melee phase.
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -6864,7 +6864,7 @@ states.regroup = { ] }, pass() { - if (game.battle.step < 2) + if (game.battle.step <= 2) game.state = "assign_hits" else goto_battle_lord_rout_2() @@ -6930,7 +6930,7 @@ function end_regroup() { game.who = NOBODY delete game.event_regroup - if (game.battle.step < 2) + if (game.battle.step <= 2) game.state = "assign_hits" else goto_battle_lord_rout_2() @@ -7776,6 +7776,7 @@ states.assign_hits = { regroup() { push_undo() + game.battle.reroll = 0 game.who = NOBODY goto_regroup() }, |