summaryrefslogtreecommitdiff
path: root/data.ts
diff options
context:
space:
mode:
Diffstat (limited to 'data.ts')
-rw-r--r--data.ts456
1 files changed, 260 insertions, 196 deletions
diff --git a/data.ts b/data.ts
index 7c61705..2f51434 100644
--- a/data.ts
+++ b/data.ts
@@ -43,15 +43,24 @@ const MODERATE = 'Moderate' as Player;
const VICTORY = 'Victory';
const DEFEAT = 'Defeat';
+const STRATEGY_MEDALLION_ID = 3;
+const PROPAGANDA_MEDALLION_ID = 4;
+const INTELLIGENCE_MEDALLION_ID = 5;
+const VOLUNTEERS_MEDALLION_ID = 6;
+const ARCHIVES_MEDALLION_ID = 7;
+const ORGANIZATION_MEDALLION_ID = 8;
+
function create_effect(
type: Effect['type'],
target: Effect['target'],
- value: Effect['value']
+ value: Effect['value'],
+ faction?: Effect['faction']
): Effect {
return {
type,
target,
value,
+ faction,
};
}
@@ -69,6 +78,7 @@ export {
CLOSEST_TO_VICTORY,
COLLECTIVIZATION,
GOVERNMENT,
+ INITIATIVE_PLAYER,
SOVIET_SUPPORT,
FOREIGN_AID,
MORALE_BONUS,
@@ -84,10 +94,14 @@ export {
VICTORY,
DEFEAT,
FRONTS,
+ STRATEGY_MEDALLION_ID,
+ PROPAGANDA_MEDALLION_ID,
+ INTELLIGENCE_MEDALLION_ID,
+ VOLUNTEERS_MEDALLION_ID,
+ ARCHIVES_MEDALLION_ID,
+ ORGANIZATION_MEDALLION_ID,
};
-
-
const data: StaticData = {
cards: [
{} as Card,
@@ -786,9 +800,9 @@ const data: StaticData = {
{
id: 55,
effects: [
- create_effect('attack', SOUTHERN, -4),
- create_effect('attack', ARAGON, -1),
- create_effect('track', SOVIET_SUPPORT, -2),
+ create_effect('attack', SOUTHERN, -4, INITIATIVE_PLAYER),
+ create_effect('attack', ARAGON, -1, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -2, INITIATIVE_PLAYER),
],
test: {
front: SOUTHERN,
@@ -803,9 +817,9 @@ const data: StaticData = {
{
id: 56,
effects: [
- create_effect('attack', SOUTHERN, -3),
- create_effect('attack', CLOSEST_TO_VICTORY, -2),
- create_effect('bonus', MORALE_BONUS, OFF),
+ create_effect('attack', SOUTHERN, -3, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -2, INITIATIVE_PLAYER),
+ create_effect('bonus', MORALE_BONUS, OFF, INITIATIVE_PLAYER),
],
test: {
front: SOUTHERN,
@@ -820,9 +834,14 @@ const data: StaticData = {
{
id: 57,
effects: [
- create_effect('attack', MADRID, -5),
- create_effect('track', FOREIGN_AID, -2),
- create_effect('hero_points', PLAYER_WITH_MOST_HERO_POINTS, -1),
+ create_effect('attack', MADRID, -5, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -2, INITIATIVE_PLAYER),
+ create_effect(
+ 'hero_points',
+ PLAYER_WITH_MOST_HERO_POINTS,
+ -1,
+ INITIATIVE_PLAYER
+ ),
],
test: {
front: MADRID,
@@ -837,9 +856,9 @@ const data: StaticData = {
{
id: 58,
effects: [
- create_effect('attack', NORTHERN, -5),
- create_effect('attack', CLOSEST_TO_VICTORY, -1),
- create_effect('track', COLLECTIVIZATION, -1),
+ create_effect('attack', NORTHERN, -5, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -1, INITIATIVE_PLAYER),
+ create_effect('track', COLLECTIVIZATION, -1, INITIATIVE_PLAYER),
],
test: {
front: NORTHERN,
@@ -854,9 +873,9 @@ const data: StaticData = {
{
id: 59,
effects: [
- create_effect('attack', MADRID, -4),
- create_effect('attack', CLOSEST_TO_VICTORY, -2),
- create_effect('track', LIBERTY, -1),
+ create_effect('attack', MADRID, -4, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -2, INITIATIVE_PLAYER),
+ create_effect('track', LIBERTY, -1, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -871,9 +890,9 @@ const data: StaticData = {
{
id: 60,
effects: [
- create_effect('attack', NORTHERN, -3),
- create_effect('attack', CLOSEST_TO_VICTORY, -3),
- create_effect('track', LIBERTY, -1),
+ create_effect('attack', NORTHERN, -3, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -3, INITIATIVE_PLAYER),
+ create_effect('track', LIBERTY, -1, INITIATIVE_PLAYER),
],
test: {
front: NORTHERN,
@@ -888,9 +907,14 @@ const data: StaticData = {
{
id: 61,
effects: [
- create_effect('attack', ARAGON, -4),
- create_effect('attack', CLOSEST_TO_VICTORY, -2),
- create_effect('hero_points', PLAYER_WITH_MOST_HERO_POINTS, -1),
+ create_effect('attack', ARAGON, -4, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -2, INITIATIVE_PLAYER),
+ create_effect(
+ 'hero_points',
+ PLAYER_WITH_MOST_HERO_POINTS,
+ -1,
+ INITIATIVE_PLAYER
+ ),
],
test: {
front: ARAGON,
@@ -905,9 +929,9 @@ const data: StaticData = {
{
id: 62,
effects: [
- create_effect('attack', SOUTHERN, -5),
- create_effect('bonus', MORALE_BONUS, OFF),
- create_effect('track', LIBERTY, -1),
+ create_effect('attack', SOUTHERN, -5, INITIATIVE_PLAYER),
+ create_effect('bonus', MORALE_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect('track', LIBERTY, -1, INITIATIVE_PLAYER),
],
test: {
front: SOUTHERN,
@@ -922,9 +946,9 @@ const data: StaticData = {
{
id: 63,
effects: [
- create_effect('attack', CLOSEST_TO_VICTORY, -5),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
- create_effect('track', COLLECTIVIZATION, -1),
+ create_effect('attack', CLOSEST_TO_VICTORY, -5, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect('track', COLLECTIVIZATION, -1, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -939,9 +963,9 @@ const data: StaticData = {
{
id: 64,
effects: [
- create_effect('attack', SOUTHERN, -4),
- create_effect('attack', MADRID, -2),
- create_effect('track', FOREIGN_AID, -1),
+ create_effect('attack', SOUTHERN, -4, INITIATIVE_PLAYER),
+ create_effect('attack', MADRID, -2, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -1, INITIATIVE_PLAYER),
],
test: {
front: SOUTHERN,
@@ -956,9 +980,9 @@ const data: StaticData = {
{
id: 65,
effects: [
- create_effect('attack', CLOSEST_TO_DEFEAT, -1),
- create_effect('attack', MADRID, -4),
- create_effect('track', SOVIET_SUPPORT, -2),
+ create_effect('attack', CLOSEST_TO_DEFEAT, -1, INITIATIVE_PLAYER),
+ create_effect('attack', MADRID, -4, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -2, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -973,9 +997,9 @@ const data: StaticData = {
{
id: 66,
effects: [
- create_effect('attack', ARAGON, -3),
- create_effect('attack', SOUTHERN, -2),
- create_effect('track', FOREIGN_AID, -2),
+ create_effect('attack', ARAGON, -3, INITIATIVE_PLAYER),
+ create_effect('attack', SOUTHERN, -2, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -2, INITIATIVE_PLAYER),
],
test: {
front: ARAGON,
@@ -990,9 +1014,9 @@ const data: StaticData = {
{
id: 67,
effects: [
- create_effect('attack', NORTHERN, -4),
- create_effect('attack', ARAGON, -2),
- create_effect('track', COLLECTIVIZATION, -1),
+ create_effect('attack', NORTHERN, -4, INITIATIVE_PLAYER),
+ create_effect('attack', ARAGON, -2, INITIATIVE_PLAYER),
+ create_effect('track', COLLECTIVIZATION, -1, INITIATIVE_PLAYER),
],
test: {
front: NORTHERN,
@@ -1007,9 +1031,9 @@ const data: StaticData = {
{
id: 68,
effects: [
- create_effect('attack', ARAGON, -4),
- create_effect('attack', MADRID, -1),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
+ create_effect('attack', ARAGON, -4, INITIATIVE_PLAYER),
+ create_effect('attack', MADRID, -1, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
],
test: {
front: ARAGON,
@@ -1024,9 +1048,9 @@ const data: StaticData = {
{
id: 69,
effects: [
- create_effect('attack', MADRID, -3),
- create_effect('attack', NORTHERN, -2),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
+ create_effect('attack', MADRID, -3, INITIATIVE_PLAYER),
+ create_effect('attack', NORTHERN, -2, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1041,9 +1065,9 @@ const data: StaticData = {
{
id: 70,
effects: [
- create_effect('attack', NORTHERN, -3),
- create_effect('attack', MADRID, -3),
- create_effect('track', FOREIGN_AID, -1),
+ create_effect('attack', NORTHERN, -3, INITIATIVE_PLAYER),
+ create_effect('attack', MADRID, -3, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -1, INITIATIVE_PLAYER),
],
test: {
front: NORTHERN,
@@ -1058,9 +1082,9 @@ const data: StaticData = {
{
id: 71,
effects: [
- create_effect('attack', CLOSEST_TO_DEFEAT, -3),
- create_effect('attack', MADRID, -2),
- create_effect('track', SOVIET_SUPPORT, -2),
+ create_effect('attack', CLOSEST_TO_DEFEAT, -3, INITIATIVE_PLAYER),
+ create_effect('attack', MADRID, -2, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -2, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1075,9 +1099,9 @@ const data: StaticData = {
{
id: 72,
effects: [
- create_effect('attack', ARAGON, -3),
- create_effect('attack', NORTHERN, -1),
- create_effect('attack', CLOSEST_TO_VICTORY, -2),
+ create_effect('attack', ARAGON, -3, INITIATIVE_PLAYER),
+ create_effect('attack', NORTHERN, -1, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -2, INITIATIVE_PLAYER),
],
test: {
front: ARAGON,
@@ -1092,10 +1116,15 @@ const data: StaticData = {
{
id: 73,
effects: [
- create_effect('attack', NORTHERN, -6),
- create_effect('attack', CLOSEST_TO_VICTORY, -1),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
- create_effect('hero_points', PLAYER_WITH_MOST_HERO_POINTS, -1),
+ create_effect('attack', NORTHERN, -6, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -1, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect(
+ 'hero_points',
+ PLAYER_WITH_MOST_HERO_POINTS,
+ -1,
+ INITIATIVE_PLAYER
+ ),
],
test: {
front: NORTHERN,
@@ -1110,9 +1139,9 @@ const data: StaticData = {
{
id: 74,
effects: [
- create_effect('attack', MADRID, -2),
- create_effect('attack', CLOSEST_TO_VICTORY, -5),
- create_effect('track', SOVIET_SUPPORT, -2),
+ create_effect('attack', MADRID, -2, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -5, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -2, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1127,9 +1156,9 @@ const data: StaticData = {
{
id: 75,
effects: [
- create_effect('attack', NORTHERN, -5),
- create_effect('attack', CLOSEST_TO_VICTORY, -3),
- create_effect('track', COLLECTIVIZATION, -1),
+ create_effect('attack', NORTHERN, -5, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -3, INITIATIVE_PLAYER),
+ create_effect('track', COLLECTIVIZATION, -1, INITIATIVE_PLAYER),
],
test: {
front: NORTHERN,
@@ -1144,9 +1173,9 @@ const data: StaticData = {
{
id: 76,
effects: [
- create_effect('attack', ARAGON, -5),
- create_effect('attack', NORTHERN, -2),
- create_effect('track', FOREIGN_AID, -2),
+ create_effect('attack', ARAGON, -5, INITIATIVE_PLAYER),
+ create_effect('attack', NORTHERN, -2, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -2, INITIATIVE_PLAYER),
],
test: {
front: ARAGON,
@@ -1161,9 +1190,9 @@ const data: StaticData = {
{
id: 77,
effects: [
- create_effect('attack', ARAGON, -5),
- create_effect('attack', MADRID, -3),
- create_effect('track', FOREIGN_AID, -1),
+ create_effect('attack', ARAGON, -5, INITIATIVE_PLAYER),
+ create_effect('attack', MADRID, -3, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -1, INITIATIVE_PLAYER),
],
test: {
front: ARAGON,
@@ -1178,10 +1207,10 @@ const data: StaticData = {
{
id: 78,
effects: [
- create_effect('attack', MADRID, -6),
- create_effect('attack', CLOSEST_TO_VICTORY, -1),
- create_effect('track', LIBERTY, -1),
- create_effect('track', SOVIET_SUPPORT, -1),
+ create_effect('attack', MADRID, -6, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -1, INITIATIVE_PLAYER),
+ create_effect('track', LIBERTY, -1, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -1, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1196,10 +1225,10 @@ const data: StaticData = {
{
id: 79,
effects: [
- create_effect('attack', NORTHERN, -6),
- create_effect('attack', MADRID, -1),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
- create_effect('track', COLLECTIVIZATION, -1),
+ create_effect('attack', NORTHERN, -6, INITIATIVE_PLAYER),
+ create_effect('attack', MADRID, -1, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect('track', COLLECTIVIZATION, -1, INITIATIVE_PLAYER),
],
test: {
front: NORTHERN,
@@ -1214,9 +1243,9 @@ const data: StaticData = {
{
id: 80,
effects: [
- create_effect('attack', CLOSEST_TO_DEFEAT, -3),
- create_effect('attack', NORTHERN, -5),
- create_effect('track', LIBERTY, -1),
+ create_effect('attack', CLOSEST_TO_DEFEAT, -3, INITIATIVE_PLAYER),
+ create_effect('attack', NORTHERN, -5, INITIATIVE_PLAYER),
+ create_effect('track', LIBERTY, -1, INITIATIVE_PLAYER),
],
test: {
front: NORTHERN,
@@ -1231,9 +1260,9 @@ const data: StaticData = {
{
id: 81,
effects: [
- create_effect('attack', MADRID, -5),
- create_effect('attack', CLOSEST_TO_VICTORY, -2),
- create_effect('track', FOREIGN_AID, -2),
+ create_effect('attack', MADRID, -5, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -2, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -2, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1248,9 +1277,9 @@ const data: StaticData = {
{
id: 82,
effects: [
- create_effect('attack', CLOSEST_TO_DEFEAT, -4),
- create_effect('attack', CLOSEST_TO_VICTORY, -4),
- create_effect('track', COLLECTIVIZATION, -1),
+ create_effect('attack', CLOSEST_TO_DEFEAT, -4, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -4, INITIATIVE_PLAYER),
+ create_effect('track', COLLECTIVIZATION, -1, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1265,9 +1294,9 @@ const data: StaticData = {
{
id: 83,
effects: [
- create_effect('attack', ARAGON, -7),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
- create_effect('track', FOREIGN_AID, -1),
+ create_effect('attack', ARAGON, -7, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -1, INITIATIVE_PLAYER),
],
test: {
front: ARAGON,
@@ -1282,10 +1311,10 @@ const data: StaticData = {
{
id: 84,
effects: [
- create_effect('attack', CLOSEST_TO_DEFEAT, -1),
- create_effect('attack', SOUTHERN, -5),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
- create_effect('track', FOREIGN_AID, -2),
+ create_effect('attack', CLOSEST_TO_DEFEAT, -1, INITIATIVE_PLAYER),
+ create_effect('attack', SOUTHERN, -5, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -2, INITIATIVE_PLAYER),
],
test: {
front: SOUTHERN,
@@ -1300,9 +1329,14 @@ const data: StaticData = {
{
id: 85,
effects: [
- create_effect('attack', SOUTHERN, -6),
- create_effect('attack', MADRID, -2),
- create_effect('hero_points', PLAYER_WITH_MOST_HERO_POINTS, -1),
+ create_effect('attack', SOUTHERN, -6, INITIATIVE_PLAYER),
+ create_effect('attack', MADRID, -2, INITIATIVE_PLAYER),
+ create_effect(
+ 'hero_points',
+ PLAYER_WITH_MOST_HERO_POINTS,
+ -1,
+ INITIATIVE_PLAYER
+ ),
],
test: {
front: SOUTHERN,
@@ -1317,10 +1351,10 @@ const data: StaticData = {
{
id: 86,
effects: [
- create_effect('attack', CLOSEST_TO_DEFEAT, -2),
- create_effect('attack', MADRID, -5),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
- create_effect('track', SOVIET_SUPPORT, -1)
+ create_effect('attack', CLOSEST_TO_DEFEAT, -2, INITIATIVE_PLAYER),
+ create_effect('attack', MADRID, -5, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -1, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1335,9 +1369,9 @@ const data: StaticData = {
{
id: 87,
effects: [
- create_effect('attack', SOUTHERN, -4),
- create_effect('attack', ARAGON, -3),
- create_effect('track', SOVIET_SUPPORT, -2)
+ create_effect('attack', SOUTHERN, -4, INITIATIVE_PLAYER),
+ create_effect('attack', ARAGON, -3, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -2, INITIATIVE_PLAYER),
],
test: {
front: SOUTHERN,
@@ -1352,9 +1386,9 @@ const data: StaticData = {
{
id: 88,
effects: [
- create_effect('attack', MADRID, -5),
- create_effect('attack', SOUTHERN, -2),
- create_effect('track', SOVIET_SUPPORT, -2)
+ create_effect('attack', MADRID, -5, INITIATIVE_PLAYER),
+ create_effect('attack', SOUTHERN, -2, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -2, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1369,9 +1403,9 @@ const data: StaticData = {
{
id: 89,
effects: [
- create_effect('attack', SOUTHERN, -7),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
- create_effect('track', COLLECTIVIZATION, -1)
+ create_effect('attack', SOUTHERN, -7, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect('track', COLLECTIVIZATION, -1, INITIATIVE_PLAYER),
],
test: {
front: SOUTHERN,
@@ -1386,9 +1420,14 @@ const data: StaticData = {
{
id: 90,
effects: [
- create_effect('attack', ARAGON, -4),
- create_effect('attack', NORTHERN, -4),
- create_effect('hero_points', PLAYER_WITH_MOST_HERO_POINTS, -1)
+ create_effect('attack', ARAGON, -4, INITIATIVE_PLAYER),
+ create_effect('attack', NORTHERN, -4, INITIATIVE_PLAYER),
+ create_effect(
+ 'hero_points',
+ PLAYER_WITH_MOST_HERO_POINTS,
+ -1,
+ INITIATIVE_PLAYER
+ ),
],
test: {
front: ARAGON,
@@ -1403,10 +1442,10 @@ const data: StaticData = {
{
id: 91,
effects: [
- create_effect('attack', MADRID, -5),
- create_effect('attack', SOUTHERN, -4),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
- create_effect('track', SOVIET_SUPPORT, -2)
+ create_effect('attack', MADRID, -5, INITIATIVE_PLAYER),
+ create_effect('attack', SOUTHERN, -4, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -2, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1421,10 +1460,10 @@ const data: StaticData = {
{
id: 92,
effects: [
- create_effect('attack', ARAGON, -6),
- create_effect('attack', CLOSEST_TO_VICTORY, -3),
- create_effect('track', FOREIGN_AID, -2),
- create_effect('track', COLLECTIVIZATION, -1),
+ create_effect('attack', ARAGON, -6, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -3, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -2, INITIATIVE_PLAYER),
+ create_effect('track', COLLECTIVIZATION, -1, INITIATIVE_PLAYER),
],
test: {
front: ARAGON,
@@ -1439,9 +1478,9 @@ const data: StaticData = {
{
id: 93,
effects: [
- create_effect('attack', NORTHERN, -4),
- create_effect('attack', CLOSEST_TO_VICTORY, -6),
- create_effect('track', FOREIGN_AID, -2),
+ create_effect('attack', NORTHERN, -4, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -6, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -2, INITIATIVE_PLAYER),
],
test: {
front: NORTHERN,
@@ -1456,9 +1495,9 @@ const data: StaticData = {
{
id: 94,
effects: [
- create_effect('attack', NORTHERN, -6),
- create_effect('attack', SOUTHERN, -4),
- create_effect('track', SOVIET_SUPPORT, -2),
+ create_effect('attack', NORTHERN, -6, INITIATIVE_PLAYER),
+ create_effect('attack', SOUTHERN, -4, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -2, INITIATIVE_PLAYER),
],
test: {
front: NORTHERN,
@@ -1473,9 +1512,9 @@ const data: StaticData = {
{
id: 95,
effects: [
- create_effect('attack', CLOSEST_TO_DEFEAT, -5),
- create_effect('attack', SOUTHERN, -5),
- create_effect('track', FOREIGN_AID, -2),
+ create_effect('attack', CLOSEST_TO_DEFEAT, -5, INITIATIVE_PLAYER),
+ create_effect('attack', SOUTHERN, -5, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -2, INITIATIVE_PLAYER),
],
test: {
front: SOUTHERN,
@@ -1490,9 +1529,9 @@ const data: StaticData = {
{
id: 96,
effects: [
- create_effect('attack', MADRID, -4),
- create_effect('attack', CLOSEST_TO_VICTORY, -6),
- create_effect('track', COLLECTIVIZATION, -1),
+ create_effect('attack', MADRID, -4, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -6, INITIATIVE_PLAYER),
+ create_effect('track', COLLECTIVIZATION, -1, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1507,9 +1546,9 @@ const data: StaticData = {
{
id: 97,
effects: [
- create_effect('attack', MADRID, -6),
- create_effect('attack', ARAGON, -4),
- create_effect('track', SOVIET_SUPPORT, -2),
+ create_effect('attack', MADRID, -6, INITIATIVE_PLAYER),
+ create_effect('attack', ARAGON, -4, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -2, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1524,10 +1563,10 @@ const data: StaticData = {
{
id: 98,
effects: [
- create_effect('attack', NORTHERN, -7),
- create_effect('attack', MADRID, -2),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
- create_effect('track', LIBERTY, -1),
+ create_effect('attack', NORTHERN, -7, INITIATIVE_PLAYER),
+ create_effect('attack', MADRID, -2, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect('track', LIBERTY, -1, INITIATIVE_PLAYER),
],
test: {
front: NORTHERN,
@@ -1542,10 +1581,15 @@ const data: StaticData = {
{
id: 99,
effects: [
- create_effect('attack', NORTHERN, -6),
- create_effect('attack', MADRID, -3),
- create_effect('track', FOREIGN_AID, -2),
- create_effect('hero_points', PLAYER_WITH_MOST_HERO_POINTS, -1),
+ create_effect('attack', NORTHERN, -6, INITIATIVE_PLAYER),
+ create_effect('attack', MADRID, -3, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -2, INITIATIVE_PLAYER),
+ create_effect(
+ 'hero_points',
+ PLAYER_WITH_MOST_HERO_POINTS,
+ -1,
+ INITIATIVE_PLAYER
+ ),
],
test: {
front: NORTHERN,
@@ -1560,10 +1604,15 @@ const data: StaticData = {
{
id: 100,
effects: [
- create_effect('attack', SOUTHERN, -7),
- create_effect('attack', CLOSEST_TO_DEFEAT, -2),
- create_effect('track', FOREIGN_AID, -2),
- create_effect('hero_points', PLAYER_WITH_MOST_HERO_POINTS, -1),
+ create_effect('attack', SOUTHERN, -7, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_DEFEAT, -2, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -2, INITIATIVE_PLAYER),
+ create_effect(
+ 'hero_points',
+ PLAYER_WITH_MOST_HERO_POINTS,
+ -1,
+ INITIATIVE_PLAYER
+ ),
],
test: {
front: SOUTHERN,
@@ -1578,9 +1627,9 @@ const data: StaticData = {
{
id: 101,
effects: [
- create_effect('attack', ARAGON, -7),
- create_effect('attack', MADRID, -3),
- create_effect('track', SOVIET_SUPPORT, -2),
+ create_effect('attack', ARAGON, -7, INITIATIVE_PLAYER),
+ create_effect('attack', MADRID, -3, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -2, INITIATIVE_PLAYER),
],
test: {
front: ARAGON,
@@ -1595,9 +1644,9 @@ const data: StaticData = {
{
id: 102,
effects: [
- create_effect('attack', MADRID, -6),
- create_effect('attack', CLOSEST_TO_VICTORY, -4),
- create_effect('track', FOREIGN_AID, -2),
+ create_effect('attack', MADRID, -6, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -4, INITIATIVE_PLAYER),
+ create_effect('track', FOREIGN_AID, -2, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1612,10 +1661,15 @@ const data: StaticData = {
{
id: 103,
effects: [
- create_effect('attack', MADRID, -7),
- create_effect('attack', NORTHERN, -2),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
- create_effect('hero_points', PLAYER_WITH_MOST_HERO_POINTS, -1)
+ create_effect('attack', MADRID, -7, INITIATIVE_PLAYER),
+ create_effect('attack', NORTHERN, -2, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect(
+ 'hero_points',
+ PLAYER_WITH_MOST_HERO_POINTS,
+ -1,
+ INITIATIVE_PLAYER
+ ),
],
test: {
front: MADRID,
@@ -1630,10 +1684,15 @@ const data: StaticData = {
{
id: 104,
effects: [
- create_effect('attack', SOUTHERN, -6),
- create_effect('attack', ARAGON, -3),
- create_effect('track', SOVIET_SUPPORT, -2),
- create_effect('hero_points', PLAYER_WITH_MOST_HERO_POINTS, -1)
+ create_effect('attack', SOUTHERN, -6, INITIATIVE_PLAYER),
+ create_effect('attack', ARAGON, -3, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -2, INITIATIVE_PLAYER),
+ create_effect(
+ 'hero_points',
+ PLAYER_WITH_MOST_HERO_POINTS,
+ -1,
+ INITIATIVE_PLAYER
+ ),
],
test: {
front: SOUTHERN,
@@ -1648,9 +1707,9 @@ const data: StaticData = {
{
id: 105,
effects: [
- create_effect('attack', ARAGON, -6),
- create_effect('attack', NORTHERN, -4),
- create_effect('track', LIBERTY, -1),
+ create_effect('attack', ARAGON, -6, INITIATIVE_PLAYER),
+ create_effect('attack', NORTHERN, -4, INITIATIVE_PLAYER),
+ create_effect('track', LIBERTY, -1, INITIATIVE_PLAYER),
],
test: {
front: ARAGON,
@@ -1665,10 +1724,10 @@ const data: StaticData = {
{
id: 106,
effects: [
- create_effect('attack', MADRID, -6),
- create_effect('attack', CLOSEST_TO_VICTORY, -3),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
- create_effect('track', LIBERTY, -1),
+ create_effect('attack', MADRID, -6, INITIATIVE_PLAYER),
+ create_effect('attack', CLOSEST_TO_VICTORY, -3, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect('track', LIBERTY, -1, INITIATIVE_PLAYER),
],
test: {
front: MADRID,
@@ -1683,10 +1742,10 @@ const data: StaticData = {
{
id: 107,
effects: [
- create_effect('attack', ARAGON, -8),
- create_effect('attack', SOUTHERN, -1),
- create_effect('track', COLLECTIVIZATION, -1),
- create_effect('track', SOVIET_SUPPORT, -2),
+ create_effect('attack', ARAGON, -8, INITIATIVE_PLAYER),
+ create_effect('attack', SOUTHERN, -1, INITIATIVE_PLAYER),
+ create_effect('track', COLLECTIVIZATION, -1, INITIATIVE_PLAYER),
+ create_effect('track', SOVIET_SUPPORT, -2, INITIATIVE_PLAYER),
],
test: {
front: ARAGON,
@@ -1701,10 +1760,15 @@ const data: StaticData = {
{
id: 108,
effects: [
- create_effect('attack', CLOSEST_TO_DEFEAT, -3),
- create_effect('attack', SOUTHERN, -6),
- create_effect('bonus', TEAMWORK_BONUS, OFF),
- create_effect('hero_points', PLAYER_WITH_MOST_HERO_POINTS, -1)
+ create_effect('attack', CLOSEST_TO_DEFEAT, -3, INITIATIVE_PLAYER),
+ create_effect('attack', SOUTHERN, -6, INITIATIVE_PLAYER),
+ create_effect('bonus', TEAMWORK_BONUS, OFF, INITIATIVE_PLAYER),
+ create_effect(
+ 'hero_points',
+ PLAYER_WITH_MOST_HERO_POINTS,
+ -1,
+ INITIATIVE_PLAYER
+ ),
],
test: {
front: SOUTHERN,
@@ -1743,7 +1807,7 @@ const data: StaticData = {
top: 426,
},
],
- medaillons: [
+ medallions: [
{
id: 0,
name: 'Subterfuge',
@@ -1757,27 +1821,27 @@ const data: StaticData = {
name: 'Momentum',
},
{
- id: 3,
+ id: STRATEGY_MEDALLION_ID,
name: 'Strategy',
},
{
- id: 4,
+ id: PROPAGANDA_MEDALLION_ID,
name: 'Propaganda',
},
{
- id: 5,
+ id: INTELLIGENCE_MEDALLION_ID,
name: 'Intelligence',
},
{
- id: 6,
+ id: VOLUNTEERS_MEDALLION_ID,
name: 'Volunteers',
},
{
- id: 7,
+ id: ARCHIVES_MEDALLION_ID,
name: 'Archives',
},
{
- id: 8,
+ id: ORGANIZATION_MEDALLION_ID,
name: 'Organization',
},
],
@@ -1794,9 +1858,9 @@ const data: StaticData = {
null,
null,
create_effect('track', GOVERNMENT, TOWARDS_CENTER),
- create_effect('front', ANY, 1),
+ create_effect('front', ANY, 1, ANARCHISTS_ID),
null,
- create_effect('medaillon', ANY, 1),
+ create_effect('medallion', ANY, 1, ANARCHISTS_ID),
],
},
{
@@ -1813,7 +1877,7 @@ const data: StaticData = {
create_effect('front', ANY, 1),
create_effect('track', LIBERTY, 1),
null,
- create_effect('medaillon', ANY, 1),
+ create_effect('medallion', ANY, 1, ANARCHISTS_ID),
],
},
{
@@ -1821,7 +1885,7 @@ const data: StaticData = {
name: 'Government',
triggers: [
null,
- create_effect('medaillon', ANY, 1),
+ create_effect('medallion', ANY, 1, COMMUNISTS_ID),
null,
null,
create_effect('track', SOVIET_SUPPORT, 1),
@@ -1830,7 +1894,7 @@ const data: StaticData = {
create_effect('track', FOREIGN_AID, 1),
null,
null,
- create_effect('medaillon', ANY, 1),
+ create_effect('medallion', ANY, 1, MODERATES_ID),
],
},
{
@@ -1844,10 +1908,10 @@ const data: StaticData = {
null,
create_effect('track', LIBERTY, -1),
null,
- create_effect('front', ANY, 1),
+ create_effect('front', ANY, 1, COMMUNISTS_ID),
create_effect('track', GOVERNMENT, -1),
null,
- create_effect('medaillon', ANY, 1),
+ create_effect('medallion', ANY, 1, COMMUNISTS_ID),
],
},
{
@@ -1861,10 +1925,10 @@ const data: StaticData = {
null,
create_effect('track', LIBERTY, -1),
null,
- create_effect('front', ANY, 1),
+ create_effect('front', ANY, 1, MODERATES_ID),
create_effect('track', GOVERNMENT, 1),
null,
- create_effect('medaillon', ANY, 1),
+ create_effect('medallion', ANY, 1, MODERATES_ID),
],
},
],