Closed chrisalleng closed 11 months ago
Example:
From factions: { "name": "Scum and Villainy", "xws": "scumandvillainy", "icon": "https://infinitearenas.com/xw2/images/artwork/faction-icons/Scum.png" },
{ "name": "Scum and Villainy", "xws": "scumandvillainy", "icon": "https://infinitearenas.com/xw2/images/artwork/faction-icons/Scum.png" },
From upgrades: { "name": "0-0-0", "limited": 1, "xws": "000", "sides": [ { "title": "0-0-0", "type": "Crew", "ability": "At the start of the Engagement Phase, you may choose 1 enemy ship at range 0-1. If you do, you gain 1 calculate token unless that ship chooses to gain 1 stress token.", "image": "https://infinitearenas.com/xw2/images/upgrades/000.png", "slots": ["Crew"], "artwork": "https://infinitearenas.com/xw2/images/artwork/upgrades/000.png" } ], "cost": { "value": 5 }, "restrictions": [ { "factions": ["Scum and Villainy"], "names": ["Darth Vader"] } ], "standard": true, "extended": true, "epic": true },
{ "name": "0-0-0", "limited": 1, "xws": "000", "sides": [ { "title": "0-0-0", "type": "Crew", "ability": "At the start of the Engagement Phase, you may choose 1 enemy ship at range 0-1. If you do, you gain 1 calculate token unless that ship chooses to gain 1 stress token.", "image": "https://infinitearenas.com/xw2/images/upgrades/000.png", "slots": ["Crew"], "artwork": "https://infinitearenas.com/xw2/images/artwork/upgrades/000.png" } ], "cost": { "value": 5 }, "restrictions": [ { "factions": ["Scum and Villainy"], "names": ["Darth Vader"] } ], "standard": true, "extended": true, "epic": true },
Seems like we should be using our own xws ids internally?
Example:
From factions:
{ "name": "Scum and Villainy", "xws": "scumandvillainy", "icon": "https://infinitearenas.com/xw2/images/artwork/faction-icons/Scum.png" },
From upgrades:
{ "name": "0-0-0", "limited": 1, "xws": "000", "sides": [ { "title": "0-0-0", "type": "Crew", "ability": "At the start of the Engagement Phase, you may choose 1 enemy ship at range 0-1. If you do, you gain 1 calculate token unless that ship chooses to gain 1 stress token.", "image": "https://infinitearenas.com/xw2/images/upgrades/000.png", "slots": ["Crew"], "artwork": "https://infinitearenas.com/xw2/images/artwork/upgrades/000.png" } ], "cost": { "value": 5 }, "restrictions": [ { "factions": ["Scum and Villainy"], "names": ["Darth Vader"] } ], "standard": true, "extended": true, "epic": true },
Seems like we should be using our own xws ids internally?