From 111988c6d409029a1a27e20ebb9a4e2c90bcfeab Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 6 Oct 2023 11:29:11 +0200 Subject: Put place governor actions and battles in colored boxes in log. --- rules.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index cbc9b3f..f970bb6 100644 --- a/rules.js +++ b/rules.js @@ -2700,7 +2700,7 @@ states.damnatio_memoriae = { }, card(c) { push_undo() - log("Damnatio Memoriae.") + log_h3("Damnatio Memoriae.") set_add(game.used, c) play_card_event(c) }, @@ -3077,6 +3077,10 @@ states.replace_pretender_governor = { } function end_occupation_of_pretender_capital() { + if (game.combat) { + end_combat() + return + } log_br() resume_take_actions() } @@ -4523,8 +4527,7 @@ states.combat_victory = { } function goto_combat_victory() { - log_br() - log("RESULT") + log_h3("RESULT") let de = is_defender_eliminated() let ae = is_attacker_eliminated() if (de && ae) -- cgit v1.2.3