From 91932dc7d2b9c9b3888ec863cdbabe1df5b54c23 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Mon, 16 Sep 2024 09:15:57 +0100 Subject: Fixed Helsinki Final Act applying to democrat --- data.js | 2 +- events.txt | 2 +- rules.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data.js b/data.js index 0e2d464..f851209 100644 --- a/data.js +++ b/data.js @@ -186,7 +186,7 @@ const cards = [ {number: 103, period: 3, side: 'D', name: 'Government Resigns*', ops: 1, remove: 1, playable: 1, red: false}, {number: 104, period: 3, side: 'C', name: 'New Year\'s Eve Party*', ops: 2, remove: 1, playable: 1, red: false}, {number: 105, period: 3, side: 'D', name: 'Public Against Violence*', ops: 3, remove: 1, playable: 1, red: false}, - {number: 106, period: 3, side: 'C', name: 'Social Democratic Platform Adopted*', ops: 2, remove: 1, playable: 1, red: false}, + {number: 106, period: 3, side: 'C', name: 'Social Democratic Platform Adopted*', ops: 3, remove: 1, playable: 1, red: false}, {number: 107, period: 3, side: 'C', name: 'Massacre in Timisoara*', ops: 3, remove: 1, playable: 0, red: false}, {number: 108, period: 3, side: 'D', name: 'Army Backs Revolution*', ops: 3, remove: 1, playable: 1, red: false}, {number: 109, period: 3, side: 'C', name: 'Kremlin Coup!*', ops: 3, remove: 1, playable: 0, red: false}, diff --git a/events.txt b/events.txt index ccae55c..928fb8e 100644 --- a/events.txt +++ b/events.txt @@ -236,7 +236,7 @@ CARD 34 - Fidesz* # Place 5 Democratic SPs in Hungary Student space. valid_spaces 47 prompt 'the Hungary students space' -add_x_infl 6 +add_x_infl 5 permanently_remove diff --git a/rules.js b/rules.js index 3870a43..6cea461 100644 --- a/rules.js +++ b/rules.js @@ -1959,8 +1959,8 @@ function do_sc(space) { //Check Helsinki Final Act - if (game.persistent_events['helsinki_final_act'] && (spaces[clicked_space].socio === 5 || spaces[clicked_space].socio === 6) ) { - log('+1 VP from Helsinki Final Act') + if (game.active === COM && game.persistent_events['helsinki_final_act'] && (spaces[clicked_space].socio === 5 || spaces[clicked_space].socio === 6) ) { + log('+1 VP from C26') game.vp ++ check_vp() } -- cgit v1.2.3