From 696e8f9f3071a6ba480f101bdaf49149bd80dbed Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 24 Jan 2023 00:46:56 +0100 Subject: "None" when no strikes in Storm. --- rules.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 3604885..6caaf49 100644 --- a/rules.js +++ b/rules.js @@ -8258,7 +8258,12 @@ function goto_strike() { game.battle.strikers = [ A2 ] else game.battle.strikers = [ D2 ] - goto_strike_total_hits() + if (has_no_strikers_and_strike_targets()) { + log("None.") + goto_next_strike() + } else { + goto_strike_total_hits() + } } else { if (has_no_strikers_and_strike_targets()) log("None.") -- cgit v1.2.3