diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-24 00:46:56 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:39 +0100 |
commit | 696e8f9f3071a6ba480f101bdaf49149bd80dbed (patch) | |
tree | 3cf21824ec33ee95d6a59f17de92b46a98bd9d00 /rules.js | |
parent | c13709696a70e4ff501f629a07365aee427019b3 (diff) | |
download | nevsky-696e8f9f3071a6ba480f101bdaf49149bd80dbed.tar.gz |
"None" when no strikes in Storm.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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.") |