Skip to content

Commit

Permalink
Add cards from For the Republic article
Browse files Browse the repository at this point in the history
  • Loading branch information
philipdouglas committed Feb 27, 2019
1 parent ec8691a commit 0562550
Show file tree
Hide file tree
Showing 5 changed files with 164 additions and 0 deletions.
44 changes: 44 additions & 0 deletions data/upgrades/astromech.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,5 +293,49 @@
"cost": { "value": 7 },
"restrictions": [{ "factions": ["Resistance"] }],
"hyperspace": true
},
{
"name": "R4-P Astromech",
"xws": "r4pastromech",
"limited": 0,
"sides": [
{
"title": "R4-P Astromech",
"type": "Astromech",
"ability": "Before you execute a basic maneuver, you may spend 1 [Charge]. If you do, while you execute that maneuver, reduce its difficulty.",
"slots": ["Astromech"],
"charges": {
"value": 2,
"recovers": 0
},
"image": "https://images-cdn.fantasyflightgames.com/filer_public/f2/b0/f2b08b38-29fa-4be1-b96d-c09a5ac4bc7c/swz32_r4-p_astromech.png"
}
],
"restrictions": [{ "factions": ["Galactic Republic"] }],
"hyperspace": false
},
{
"name": "R4-P17",
"xws": "r4p17",
"limited": 1,
"sides": [
{
"title": "R4-P17",
"type": "Astromech",
"ability": "After you fully execute a red maneuver, you may spend 1 [Charge] to perform an action, even while stressed.",
"slots": ["Astromech"],
"charges": {
"value": 2,
"recovers": 0
},
"image": "https://images-cdn.fantasyflightgames.com/filer_public/9c/08/9c089203-13b7-4639-8366-2498c9fe9982/swz32_r4-p17_astromech.png"
}
],
"restrictions": [
{
"factions": ["Galactic Republic"]
}
],
"hyperspace": false
}
]
26 changes: 26 additions & 0 deletions data/upgrades/force-power.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,31 @@
],
"cost": { "value": 4 },
"hyperspace": true
},
{
"name": "Battle Meditation",
"xws": "battlemeditation",
"limited": 0,
"sides": [
{
"title": "Battle Meditation",
"type": "Force Power",
"ability": "You cannot coordinate limited ships. While you perform a purple [Coordinate] action, you may coordinate 1 additional friendly non-limited ship of the same type. Both ships must perform the same action",
"slots": ["Force Power"],
"image": "https://images-cdn.fantasyflightgames.com/filer_public/e3/0b/e30ba082-91c7-408b-9738-d631079911c7/swz32_battle-meditation.png",
"grants": [
{
"type": "action",
"value": {
"type": "Coordinate",
"difficulty": "Purple"
},
"amount": 1
}
]
}
],
"restrictions": [{ "factions": ["Galactic Republic"] }],
"hyperspace": false
}
]
46 changes: 46 additions & 0 deletions data/upgrades/modification.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,5 +249,51 @@
],
"restrictions": [{ "ships": ["belbullab22starfighter"] }],
"hyperspace": false
},
{
"name": "Synchronized Console",
"xws": "synchronizedconsole",
"limited": 0,
"sides": [
{
"title": "Synchronized Console",
"type": "Modification",
"ability": "After you perform an attack, you may choose a friendly ship at range 1 or a friendly ship with a Synchronized Console upgrade at range 1-3 and spend a lock you have on the defender. If you do, the friendly ship you chose may acquire a lock on the defender.",
"slots": ["Talent"],
"image": "https://images-cdn.fantasyflightgames.com/filer_public/dd/5a/dd5adbe7-cb13-4d42-8a81-211cd265c210/swz32_synchronized-console.png"
}
],
"restrictions": [
{ "factions": ["Galactic Republic"] },
{ "action": { "type": "Lock", "difficulty": "White" } }
],
"hyperspace": false
},
{
"name": "Spare Parts Canisters",
"limited": 0,
"xws": "sparepartscanisters",
"sides": [
{
"title": "Spare Parts Canisters",
"type": "Modification",
"ability": "Action: Spend 1 [Charge] to recover 1 charge on one of your equipped [Astromech] upgrades. Action: Spend 1 [Charge] to drop 1 spare parts, then break all locks assigned to you.",
"charges": {
"value": 2,
"recovers": 0
},
"slots": ["Modification"],
"image": "https://images-cdn.fantasyflightgames.com/filer_public/27/1a/271ad22f-1482-4314-97b1-35e64691a0fb/swz_spare-part-canisters.png"
}
],
"restrictions": [
{
"ships": ["belbullab22starfighter"]
},
{
"equipped": ["Astromech"]
}
],
"hyperspace": false
}
]
19 changes: 19 additions & 0 deletions data/upgrades/talent.json
Original file line number Diff line number Diff line change
Expand Up @@ -448,5 +448,24 @@
],
"hyperspace": false,
"restrictions": [{ "factions": ["Separatist Alliance"] }]
},
{
"name": "Dedicated",
"xws": "dedicated",
"limited": 0,
"sides": [
{
"title": "Dedicated",
"type": "Talent",
"ability": "While another friendly ship in your [Left Arc] or [Right Arc] at range 0-2 defends, if it is limited or has the Dedicated upgrade and you are not strained, you may gain 1 strain token. If you do, the defender rerolls 1 of their blank results.",
"slots": ["Talent"],
"image": "https://images-cdn.fantasyflightgames.com/filer_public/78/94/78942a7d-d303-41fc-9880-6d3d0062dccd/swz32_dedicated.png"
}
],
"hyperspace": false,
"restrictions": [
{ "factions": ["Galactic Republic"] },
{ "non-limited": true }
]
}
]
29 changes: 29 additions & 0 deletions tests/schemas/upgrade.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@
"solitary": {
"type": "boolean"
},
"non-limited": {
"type": "boolean"
},
"arcs": {
"type": "array",
"minItems": 1,
Expand Down Expand Up @@ -231,6 +234,32 @@
"vultureclassdroidfighter"
]
}
},
"equipped": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"enum": [
"Astromech",
"Cannon",
"Configuration",
"Crew",
"Device",
"Force Power",
"Gunner",
"Illicit",
"Missile",
"Modification",
"Sensor",
"Tactical Relay",
"Talent",
"Tech",
"Title",
"Torpedo",
"Turret"
]
}
}
}
}
Expand Down

0 comments on commit 0562550

Please sign in to comment.