From bd0b0887e57945ead36b7c395c4a6855342398e0 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 2 Jul 2023 02:56:37 +0200 Subject: Spiculum + Plague. --- rules.js | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 08ae31f..19f7368 100644 --- a/rules.js +++ b/rules.js @@ -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 = { -- cgit v1.2.3