summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-06-22 14:13:01 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:19:38 +0100
commit3320cc77f28d56c33f7af492f87b4f06012937e3 (patch)
tree46a87215014a826cc29f9cf330f5dc3596d2c0c3 /rules.js
parent26220db4d462922e8ab90a91332f43ba63cf695e (diff)
downloadcrusader-rex-3320cc77f28d56c33f7af492f87b4f06012937e3.tar.gz
crusader: Only force next hit on half-hit if on your own side.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 335cc1d..a476fe1 100644
--- a/rules.js
+++ b/rules.js
@@ -2315,7 +2315,7 @@ function goto_storm_battle_hits() {
}
function list_storm_victims() {
- if (game.halfhit)
+ if (game.halfhit && block_owner(game.halfhit) == game.active)
return [ game.halfhit ];
let max = 0;
for (let b in BLOCKS)