diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-05 12:41:44 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-05 12:41:44 +0200 |
commit | 49fd23a1bee96c6c01b5bdbc4a978625517c2968 (patch) | |
tree | 479285533ad5c918a977f516919fa1ecfa142118 | |
parent | 9ecc2d81309e6860025702ed8b6353bb51e339c5 (diff) | |
download | plantagenet-49fd23a1bee96c6c01b5bdbc4a978625517c2968.tar.gz |
reset game.who when ending each hit assignment step
-rw-r--r-- | rules.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7541,6 +7541,7 @@ function goto_defender_assign_hits() { } function end_defender_assign_hits() { + game.who = NOBODY game.battle.ahits = 0 goto_attacker_assign_hits() } @@ -7554,6 +7555,7 @@ function goto_attacker_assign_hits() { } function end_attacker_assign_hits() { + game.who = NOBODY game.battle.dhits = 0 end_battle_strike_step() } @@ -7696,7 +7698,6 @@ states.assign_hits = { goto_regroup() }, done() { - game.who = NOBODY if (game.active === game.battle.attacker) end_attacker_assign_hits() else |