summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-06-26 17:31:03 +0200
committerTor Andersson <tor@ccxvii.net>2024-06-26 17:31:03 +0200
commit26dc8db58f46add3ba35544b1021214bbac75b61 (patch)
tree1f117f6894f7dfeaf6230cd7f4fa21871a15b95f
parent7d1d8653dad62f6409e8de1db7bd0a223fdc7f94 (diff)
downloadplantagenet-26dc8db58f46add3ba35544b1021214bbac75b61.tar.gz
Clear battle reroll flag when you end your hits step.
-rw-r--r--rules.js1
-rw-r--r--rules.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 8b687a9..e3c6d49 100644
--- a/rules.js
+++ b/rules.js
@@ -6608,6 +6608,7 @@ states.assign_hits = {
goto_regroup();
},
done() {
+ game.battle.reroll = 0;
if (game.active === game.battle.attacker)
end_attacker_assign_hits();
else
diff --git a/rules.ts b/rules.ts
index 12405a7..b0369c8 100644
--- a/rules.ts
+++ b/rules.ts
@@ -7764,6 +7764,7 @@ states.assign_hits = {
},
done() {
+ game.battle.reroll = 0
if (game.active === game.battle.attacker)
end_attacker_assign_hits()
else