Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maul/Ezra crew exception #158

Open
urbknu opened this issue Nov 17, 2017 · 1 comment
Open

Maul/Ezra crew exception #158

urbknu opened this issue Nov 17, 2017 · 1 comment

Comments

@urbknu
Copy link
Contributor

urbknu commented Nov 17, 2017

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"
        }
    ]
  },
@urbknu
Copy link
Contributor Author

urbknu commented Nov 30, 2017

@guidokessels is this something that would work for you? I can happily make the changes, but request your input and approval

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant