From 2122adacc6c569e78bc71b049ea5cdffe13208a5 Mon Sep 17 00:00:00 2001 From: Frans Bongers Date: Mon, 30 Dec 2024 21:31:30 +0100 Subject: implement remove attacks effects --- data.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'data.js') diff --git a/data.js b/data.js index 5967124..7202657 100644 --- a/data.js +++ b/data.js @@ -287,6 +287,7 @@ const data = { effects: [ create_effect('track', LIBERTY_OR_COLLECTIVIZATION, -4), create_effect('track', FOREIGN_AID, 2), + create_effect('function', 'setup_return_card_from_trash', 1), create_effect('return_card', TRASH, 1), ], icons: ['d_liberty', 'd_collectivization', 'foreign_aid', 'draw_card'], @@ -297,7 +298,7 @@ const data = { { id: 16, effects: [ - create_effect('state', 'move_attacks', 2), + create_effect('state', 'remove_attack_from_fronts', 16), create_effect('function', 'card16_event2', 0), ], icons: ['add_to_front', 'foreign_aid'], @@ -334,6 +335,7 @@ const data = { effects: [ create_effect('front', CLOSEST_TO_DEFEAT, 2), create_effect('track', GOVERNMENT, -1), + create_effect('function', 'setup_return_card_from_trash', 1), create_effect('return_card', TRASH, 1), ], icons: ['add_to_front', 'government', 'draw_card'], @@ -620,6 +622,7 @@ const data = { effects: [ create_effect('bonus', ANY, ON), create_effect('track', COLLECTIVIZATION, 3), + create_effect('function', 'setup_return_card_from_trash', 1), create_effect('return_card', TRASH, 1), ], icons: ['teamwork_on', 'collectivization', 'draw_card'], @@ -889,7 +892,7 @@ const data = { front: NORTHERN, value: -1, pass: create_effect('track', FOREIGN_AID, 2), - fail: create_effect('track', SOVIET_SUPPORT, 2), + fail: create_effect('track', SOVIET_SUPPORT, -2), }, title: 'GENERAL SANJURIO', type: 'ec', -- cgit v1.2.3