summaryrefslogtreecommitdiff
path: root/data.ts
diff options
context:
space:
mode:
authorFrans Bongers <fransbongers@franss-mbp.home>2024-12-30 21:31:30 +0100
committerFrans Bongers <fransbongers@franss-mbp.home>2024-12-30 21:31:30 +0100
commit2122adacc6c569e78bc71b049ea5cdffe13208a5 (patch)
treea13a52a8271b82f76c63246482c10490a36d8721 /data.ts
parentb952d532d4b84c136e3c3a6893a63b0ed5b5ece3 (diff)
downloadland-and-freedom-2122adacc6c569e78bc71b049ea5cdffe13208a5.tar.gz
implement remove attacks effects
Diffstat (limited to 'data.ts')
-rw-r--r--data.ts7
1 files changed, 5 insertions, 2 deletions
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',