Need a mechanism for handling the Ezra Maul (Scum) crew exception. In addition, a scope is required as the Maul card states that the restriction can be ignored if your squad contains 'Ezra Bridger'. In the future such exceptions could be limited to the pilot scope.
Maul restriction: "Scum only. Ignore this restriction if your squad contains 'Ezra Bridger'"
Possible solution to extend 'grants', already used on pilots and upgrades, to include 'type':'upgrade', 'id':, and 'scope':'squad'/'pilot' (perhaps implicit if not squad)?
example on Ezra Crew
{
"image": "upgrades/Crew/ezra-bridger.png",
"text": "When attacking, if you are stressed, you may change 1 of your [Focus] results to a [Critical Hit] result.",
"name": "Ezra Bridger",
"unique": true,
"points": 3,
"slot": "Crew",
"faction": "Rebel Alliance",
"id": 215,
"xws": "ezrabridger",
"grants": [
{
"type":"upgrade",
"id": 343,
"scope":"squad"
}
]
},
example on Ezra Pilot
{
"image": "pilots/Rebel Alliance/Sheathipede-class Shuttle/ezra-bridger.png",
"text": "When defending, if you are stressed, you may change up to 2 of your [Focus] results to [Evade] results.",
"name": "Ezra Bridger",
"xws": "ezrabridger",
"ship": "Sheathipede-class Shuttle",
"unique": true,
"skill": 5,
"points": 17,
"faction": "Rebel Alliance",
"slots": [
"Astromech",
"Crew",
"Elite"
],
"id": 275,
"grants": [
{
"type":"upgrade",
"id": 343,
"scope":"squad"
}
]
},
Need a mechanism for handling the Ezra Maul (Scum) crew exception. In addition, a scope is required as the Maul card states that the restriction can be ignored if your squad contains 'Ezra Bridger'. In the future such exceptions could be limited to the pilot scope.
Maul restriction: "Scum only. Ignore this restriction if your squad contains 'Ezra Bridger'"
Possible solution to extend 'grants', already used on pilots and upgrades, to include 'type':'upgrade', 'id':, and 'scope':'squad'/'pilot' (perhaps implicit if not squad)?
example on Ezra Crew
example on Ezra Pilot