summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data.js2
-rw-r--r--rules.js17
2 files changed, 4 insertions, 15 deletions
diff --git a/data.js b/data.js
index 983cdab..adf7f61 100644
--- a/data.js
+++ b/data.js
@@ -1286,7 +1286,7 @@ const cards = [
{number: 6, period: 1, side: 'C', name: 'Brought in for Questioning', ops: 3, remove: 0, playable: true, red: false},
{number: 7, period: 1, side: 'C', name: 'State Run Media*', ops: 2, remove: 1, playable: true, red: false},
{number: 8, period: 1, side: 'N', name: 'Prudence', ops: 4, remove: 0, playable: true, red: false},
- {number: 9, period: 1, side: 'C', name: 'The Wall*', ops: 1, remove: 1, playable: true, red: false},
+ {number: 9, period: 1, side: 'C', name: 'The Wall*', ops: 1, remove: 1, playable: false, red: false},
{number: 10, period: 1, side: 'C', name: 'Cult of Personality*', ops: 3, remove: 1, playable: true, red: false},
{number: 11, period: 1, side: 'C', name: 'Dissident Arrested', ops: 2, remove: 0, playable: true, red: false},
{number: 12, period: 1, side: 'C', name: 'Apparatchiks*', ops: 2, remove: 1, playable: true, red: false},
diff --git a/rules.js b/rules.js
index 72c9689..1a1896d 100644
--- a/rules.js
+++ b/rules.js
@@ -317,17 +317,14 @@ function start_game() {
//Set starting placement ops
game.starting_infl = [2, 3, 3, 4, 2]
game.temp = 0
- game.starting_infl = [2, 3, 3, 4, 2]
- game.temp = 0
// Set variable event cards where event is playable at start of game
- game.playable_cards = [C_GORBACHEV_CHARMS_THE_WEST, C_HONECKER, C_COMMON_EUROPEAN_HOME, C_SECURITATE]
+ game.playable_cards = [C_THE_WALL, C_GORBACHEV_CHARMS_THE_WEST, C_HONECKER, C_COMMON_EUROPEAN_HOME, C_SECURITATE]
draw_cards(game.strategy_deck, game.democrat_hand, game.communist_hand, game.dem_hand_limit, game.com_hand_limit)
valid_spaces_setup()
- valid_spaces_setup()
game.available_ops = 2
log_h1("Place starting Support Points")
log_side()
@@ -520,8 +517,6 @@ states.place_starting_infl = {
start() {
do_log_summary()
delete game.starting_infl
- do_log_summary()
- delete game.starting_infl
new_turn()
clear_undo()
game.state = 'choose_card'
@@ -634,8 +629,6 @@ states.play_card ={
opp_event() {
push_undo()
log_gap(`Played C${game.played_card} for the event`)
- //game.phase = 1 /*Do I still need this?*/
- //game.phase = 1 /*Do I still need this?*/
game.vm_infl_to_do = true
game.return = game.active
game.vm_event = game.played_card
@@ -663,9 +656,6 @@ states.play_card ={
if (check_vp()) {
return
}
- if (check_vp()) {
- return
- }
}
// Check if card is opponent card with event that needs to be resolved
@@ -751,14 +741,12 @@ states.resolve_opponent_event = {
game.austria_hungary_border_reopened_tracker = true
}
game.state = 'add_influence'
- game.state = 'add_influence'
valid_spaces_infl()
},
support_check() {
push_undo()
game.available_ops = 2
game.state = 'support_check_prep'
- game.state = 'support_check_prep'
valid_spaces_sc()
},
opp_event() {
@@ -3159,6 +3147,7 @@ function get_tst_6_ops() {
function finish_the_wall() {
if (game.the_wall_must_go['dem_wins'] === 2) {
game.persistent_events.push(C_THE_WALL_MUST_GO)
+ game.playable_cards = game.playable_cards.filter(card => card !== C_THE_WALL)
log('+3 VP')
game.vp += 3
if (check_vp()) {
@@ -3180,7 +3169,7 @@ function finish_the_wall() {
if (game.active === DEM) {next_player()}
vm_next ()
} else {
- permanently_remove(86)
+ permanently_remove(C_THE_WALL_MUST_GO)
delete game.the_wall_must_go
vm_return()
}