diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-07-02 02:56:37 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-07 19:05:52 +0200 |
commit | bd0b0887e57945ead36b7c395c4a6855342398e0 (patch) | |
tree | 30f2f4f71d6d6d23f0467ae6454370b5f2ecf942 | |
parent | 8bfb4a4bb3fdec0ff713be052faa6ab3d7ad2a8c (diff) | |
download | time-of-crisis-bd0b0887e57945ead36b7c395c4a6855342398e0.tar.gz |
Spiculum + Plague.
-rw-r--r-- | rules.js | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -3824,13 +3824,21 @@ function goto_assign_hits_on_defender() { } function goto_assign_spiculum_hits() { - if (has_spiculum_hits()) + if (has_spiculum_hits()) { game.state = "assign_spiculum_hits" - else if (is_defender_eliminated()) + } else if (is_defender_eliminated()) { // In case Spiculum eliminates defender... - game.state = "combat_victory" - else + if (game.active_event === EVENT_PLAGUE_OF_CYPRIAN) { + log_br() + log("Plague B0") + game.combat.ahits = 1 + game.state = "assign_hits_on_attacker" + } else { + game.state = "combat_victory" + } + } else { game.state = "initiate_battle" + } } states.assign_hits_on_attacker = { |