xwingtmg / xwing-data2

An easy-to-use collection of data and images from X-Wing: The Miniatures Game (Second Edition) by Fantasy Flight Games.
MIT License
98 stars 69 forks source link

Faction Restrictions on Cards do not use faction XWS #658

Closed chrisalleng closed 11 months ago

chrisalleng commented 1 year ago

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?