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.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'data.ts') diff --git a/data.ts b/data.ts index 49bb25f..35b9d75 100644 --- a/data.ts +++ b/data.ts @@ -309,6 +309,7 @@ const data: StaticData = { 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'], @@ -319,7 +320,7 @@ const data: StaticData = { { id: 16, effects: [ - create_effect('state', 'move_attacks', 2), // move attacks + create_effect('state', 'remove_attack_from_fronts', 16), create_effect('function', 'card16_event2', 0), ], icons: ['add_to_front', 'foreign_aid'], @@ -356,6 +357,7 @@ const data: StaticData = { 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'], @@ -642,6 +644,7 @@ const data: StaticData = { 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'], @@ -916,7 +919,7 @@ const data: StaticData = { 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