diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-28 18:23:41 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-28 18:23:41 +0000 |
commit | d03501279ceff58e0c46772e6e9db0e088d6aa01 (patch) | |
tree | ae96c5ec17087d1072a5a591ae5982a82d87ad8a | |
parent | 48bc343259476c16aff0bbc5eee1c3e8feacec45 (diff) | |
download | 1989-dawn-of-freedom-d03501279ceff58e0c46772e6e9db0e088d6aa01.tar.gz |
Fix Ligachev check
-rw-r--r-- | rules.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -640,7 +640,7 @@ states.play_card ={ }, event() { push_undo() - check_ligachev_event() + check_ligachev_event(game.played_card) log_gap(`Played C${game.played_card} for the event`) game.vm_infl_to_do = false game.return = game.active @@ -2996,7 +2996,7 @@ function check_ligachev_non_event() { } } -function check_ligachev_event() { +function check_ligachev_event(card) { if (game.active === DEM && game.persistent_events.includes(C_LIGACHEV)) { if (card !== C_GORBACHEV_CHARMS_THE_WEST) { log(`-3 VP from C${C_LIGACHEV}`) @@ -7855,7 +7855,7 @@ states.vm_tst_8 = { }, event() { push_undo() - check_ligachev_event() + check_ligachev_event(game.played_card) log(`C${game.played_card}:`) game.vm_event_to_do = false game.return_state = 'vm_tst_8' |