summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-21 07:38:44 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-21 07:38:44 +0000
commitebc6f59d8b6ca20415a26461651a113887fb2ce9 (patch)
tree68eac639cc71ff9df37aecaea38e35fe0f3b2a17
parent9dad6c1ecefe27c11e8355aa397149c1647d0319 (diff)
download1989-dawn-of-freedom-ebc6f59d8b6ca20415a26461651a113887fb2ce9.tar.gz
Improve logging for Kiss of Death and Brought in for Questioning
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 323641b..c668599 100644
--- a/rules.js
+++ b/rules.js
@@ -6018,6 +6018,7 @@ states.vm_brought_in_for_questioning = {
},
discard() {
clear_undo()
+ log(`C${C_BROUGHT_IN_FOR_QUESTIONING}:`)
game.vm_event = discard_card(game.democrat_hand)
game.phase = 1
if (cards[game.vm_event].side === 'C' && (cards[game.vm_event].playable || game.playable_cards.includes(game.vm_event))) {
@@ -6650,6 +6651,7 @@ states.vm_kiss_of_death = {
},
discard() {
clear_undo()
+ log(`C${C_KISS_OF_DEATH}:`)
game.vm_event = discard_card(game.communist_hand)
//Change player before checking if event is playable. Common European Home is not playable here
change_player()