Skip to content

Add Battle of Yavin content #120

@pakirby1

Description

@pakirby1

https://github.com/guidokessels/xwing-data2

The schema of the xws has been updated to reflect the BoY pilots without upgrades

/pilots/galactic-empire/tie-advanced-x1.json

{
      "name": "Darth Vader",
      "caption": "Battle of Yavin",
      "initiative": 6,
      "limited": 1,
      "cost": 6,
      "xws": "darthvader-battleofyavin",
      "ability": "While you perform an attack, you may spend 1 [Force] to change 1 blank result to a [Hit] result.",
      "image": "https://infinitearenas.com/xw2/images/quickbuilds/darthvader-battleofyavin.png",
      "force": { "value": 3, "recovers": 1, "side": ["dark"] },
      "shipAbility": {
        "name": "Advanced Targeting Computer",
        "text": "While you perform a primary attack against a defender you have locked, roll 1 additional attack die and change 1 [Hit] result to a [Critical Hit] result."
      },
      "shipStats": [
        { "arc": "Front Arc", "type": "attack", "value": 2 },
        { "type": "agility", "value": 3 },
        { "type": "hull", "value": 3 },
        { "type": "shields", "value": 3 }
      ],
      "standardLoadout": ["marksmanship", "hate", "afterburners"],
      "artwork": "https://infinitearenas.com/xw2/images/artwork/pilots/darthvader.png",
      "standard": true,
      "extended": true,
      "keywords": ["Dark Side", "Sith", "TIE"],
      "epic": true
    }

Some of the pilots have battle of Yavin specific upgrades

"standardLoadout": ["elusive", "vengeful-battleofyavin"]

The upgrades JSON has been updated for the new abilities
/data/upgrades/talent.json

{
    "name": "Vengeful",
    "limited": 0,
    "xws": "vengeful-battleofyavin",
    "sides" : [
      {
        "title": "Vengeful",
        "type": "Talent",
        "ability": "After a friendly ship at range 0-3 is destroyed, if that ship is limited, you may remove 1 of your red tokens or recover 1 recurring charge on your ship card.",
        "slots": ["Talent"]
      }
    ],
    "standard": true,
    "extended": true,
    "epic": true,
    "standardLoadoutOnly": true
  }

{
    "name": "Precise Astromech",
    "limited": 0,
    "xws": "preciseastromech-battleofyavin",
    "sides": [
      {
        "ability": "After you perform an action, you may spend 1 [Charge] to perform a red [Lock] action.",
        "title": "Precise Astromech",
        "type": "Astromech",
        "slots": ["Astromech"],
        "charges": { "value": 2, "recovers": 0 }
      }
    ],
    "standard": true,
    "extended": true,
    "epic": true,
    "standardLoadoutOnly": true
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions