summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js25
1 files changed, 7 insertions, 18 deletions
diff --git a/rules.js b/rules.js
index 092e30c..edbbf00 100644
--- a/rules.js
+++ b/rules.js
@@ -2984,19 +2984,6 @@ function select_card(card){
}
function check_ligachev_non_event() {
- if (game.active === DEM && game.persistent_events.includes(99) && card !== C_GORBACHEV_CHARMS_THE_WEST) {
- log(`-3 VP from C${C_LIGACHEV}`)
- game.vp -= 3
- if (check_vp()) {
- return
- }
- game.persistent_events = game.persistent_events.filter(n => n !== 99)
- game.strategy_removed.push(C_LIGACHEV)
- }
- game.state = 'play_card'
-}
-
-function check_ligachev_non_event() {
if (game.active === DEM && game.persistent_events.includes(C_LIGACHEV)) {
log(`-3 VP from C${C_LIGACHEV}`)
game.vp -= 3
@@ -3010,11 +2997,13 @@ function check_ligachev_non_event() {
}
function check_ligachev_event() {
- if (game.active === DEM && game.persistent_events.includes(C_LIGACHEV) && card !== C_GORBACHEV_CHARMS_THE_WEST) {
- log(`-3 VP from C${C_LIGACHEV}`)
- game.vp -= 3
- if (check_vp()) {
- return
+ if (game.active === DEM && game.persistent_events.includes(C_LIGACHEV)) {
+ if (card !== C_GORBACHEV_CHARMS_THE_WEST) {
+ log(`-3 VP from C${C_LIGACHEV}`)
+ game.vp -= 3
+ if (check_vp()) {
+ return
+ }
}
game.persistent_events = game.persistent_events.filter(n => n !== C_LIGACHEV)
game.strategy_removed.push(C_LIGACHEV)