summaryrefslogtreecommitdiff
path: root/data.js
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.js
parentb952d532d4b84c136e3c3a6893a63b0ed5b5ece3 (diff)
downloadland-and-freedom-2122adacc6c569e78bc71b049ea5cdffe13208a5.tar.gz
implement remove attacks effects
Diffstat (limited to 'data.js')
-rw-r--r--data.js7
1 files changed, 5 insertions, 2 deletions
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',