diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-06 11:29:11 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-08 12:52:02 +0200 |
commit | 111988c6d409029a1a27e20ebb9a4e2c90bcfeab (patch) | |
tree | e0c9c98a9e8fe949bc44447df104d5afce1636e1 /rules.js | |
parent | 4a8d29b681c033596ef115583d0f6c5000f64f10 (diff) | |
download | time-of-crisis-111988c6d409029a1a27e20ebb9a4e2c90bcfeab.tar.gz |
Put place governor actions and battles in colored boxes in log.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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) |