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

Add missing upgrade restrictions #697

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/pilots/separatist-alliance/gauntlet-fighter.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"cost": 7,
"loadout": 10,
"initiative": 1,
"limited": 0,
"limited": 1,
"standard": true,
"extended": true,
"epic": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
"name": "Haor Chall Prototype",
"caption": "Siege of Coruscant",
"initiative": 1,
"limited": 1,
"limited": 2,
"cost": 2,
"xws": "haorchallprototype-siegeofcoruscant",
"ability": "After an enemy ship in your [Bullseye Arc] at range 0-2 declares a scenario feature or another friendly ship as the defender, you may perform a [Calculate] or [Lock] action.",
Expand Down
4 changes: 3 additions & 1 deletion data/upgrades/astromech.json
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@
}
],
"cost": { "value": 1 },
"restrictions": [{ "factions": ["galacticrepublic"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -623,7 +624,8 @@
],
"cost": { "value": 3 },
"restrictions": [
{ "factions": ["resistance"], "action": { "type": "Rotate Arc" } }
{ "factions": ["resistance"] },
{ "action": { "type": "Rotate Arc" } }
],
"standard": true,
"extended": true,
Expand Down
4 changes: 4 additions & 0 deletions data/upgrades/cannon.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@
}
],
"cost": { "value": 2 },
"restrictions": [
{ "factions": ["resistance"] },
{ "ships": ["t70xwing"]}
],
"standard": true,
"extended": true,
"epic": true
Expand Down
11 changes: 10 additions & 1 deletion data/upgrades/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@
],
"name": "Repulsorlift Stabilizers",
"cost": { "value": 0 },
"restrictions": [{ "ships": ["hmpdroidgunship"] }],
"limited": 0,
"xws": "repulsorliftstabilizers",
"standard": true,
Expand All @@ -412,6 +413,7 @@
}
],
"cost": { "value": 1 },
"restrictions": [{ "ships": ["nimbusclassvwing"] }],
"standard": true,
"extended": true,
"epic": true
Expand All @@ -432,6 +434,7 @@
}
],
"cost": { "value": 0 },
"restrictions": [{ "ships": ["nimbusclassvwing"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -470,6 +473,7 @@
}
],
"cost": { "value": 0 },
"restrictions": [{ "ships": ["droidtrifighter"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -503,6 +507,7 @@
}
],
"cost": { "value": 0 },
"restrictions": [{"ships": ["tierbheavy"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -536,6 +541,7 @@
}
],
"cost": { "value": 0 },
"restrictions": [{"ships": ["tierbheavy"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -710,7 +716,10 @@
}
],
"cost": { "value": 0 },
"restrictions": [{ "ships": ["tiewiwhispermodifiedinterceptor"] }],
"restrictions": [
{ "ships": ["tiewiwhispermodifiedinterceptor"] },
{ "standardized": true }
],
"standard": true,
"extended": true,
"epic": true
Expand Down
19 changes: 18 additions & 1 deletion data/upgrades/crew.json
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,10 @@
}
],
"cost": { "value": 3 },
"restrictions": [{ "factions": ["firstorder"] }],
"restrictions": [
{ "factions": ["firstorder"] },
{ "action": { "type": "Coordinate" } }
],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -1621,6 +1624,7 @@
}
],
"cost": { "value": 12 },
"restrictions": [{ "factions": ["galacticrepublic"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -1648,6 +1652,7 @@
}
],
"cost": { "value": 7 },
"restrictions": [{ "factions": ["firstorder"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -1677,6 +1682,7 @@
}
],
"cost": { "value": 6 },
"restrictions": [{ "factions": ["rebelalliance"] }],
"standard": true,
"extended": true,
"epic": true
Expand All @@ -1703,6 +1709,7 @@
}
],
"cost": { "value": 9 },
"restrictions": [{ "factions": ["galacticrepublic"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -1756,6 +1763,7 @@
],
"name": "Kit Fisto",
"cost": { "value": 8 },
"restrictions": [{ "factions": ["galacticrepublic"] }],
"limited": 1,
"xws": "kitfisto",
"standard": true,
Expand All @@ -1782,6 +1790,7 @@
],
"name": "Yoda",
"cost": { "value": 12 },
"restrictions": [{ "factions": ["galacticrepublic"] }],
"limited": 1,
"xws": "yoda",
"standard": true,
Expand All @@ -1801,6 +1810,7 @@
],
"name": "“Fives”",
"cost": { "value": 3 },
"restrictions": [{ "factions": ["galacticrepublic"] }],
"limited": 1,
"xws": "fives",
"standard": true,
Expand All @@ -1820,6 +1830,7 @@
],
"name": "Wolfpack",
"cost": { "value": 4 },
"restrictions": [{ "factions": ["galacticrepublic"] }],
"limited": 1,
"xws": "wolfpack",
"standard": true,
Expand Down Expand Up @@ -1847,6 +1858,7 @@
],
"name": "Commander Malarus",
"cost": { "value": 2 },
"restrictions": [{ "factions": ["firstorder"] }],
"limited": 1,
"xws": "commandermalarus",
"standard": true,
Expand Down Expand Up @@ -1876,6 +1888,10 @@
],
"name": "Ghost Company",
"cost": { "value": 5 },
"restrictions": [
{ "factions": ["galacticrepublic"] },
{ "action": { "type": "Rotate Arc" } }
],
"limited": 1,
"xws": "ghostcompany",
"standard": true,
Expand All @@ -1895,6 +1911,7 @@
],
"name": "Commander Pyre",
"cost": { "value": 5 },
"restrictions": [{ "factions": ["firstorder"] }],
"limited": 1,
"xws": "commanderpyre",
"standard": false,
Expand Down
2 changes: 1 addition & 1 deletion data/upgrades/device.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
}
],
"cost": { "value": 8 },
"restrictions": [{ "action": { "type": "Reload", "difficulty": "White" } }],
"restrictions": [{ "action": { "type": "Reload" } }],
"standard": true,
"extended": true,
"epic": true
Expand Down
8 changes: 8 additions & 0 deletions data/upgrades/force-power.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
}
],
"cost": { "value": 15 },
"restrictions": [{ "sizes": ["Small"] }],
"xws": "precognitivereflexes",
"standard": false,
"extended": true,
Expand All @@ -220,6 +221,10 @@
}
],
"cost": { "value": 8 },
"restrictions": [
{ "sizes": ["Small"] },
{ "action": { "type": "Boost" } }
],
"standard": true,
"extended": true,
"epic": true
Expand All @@ -239,6 +244,7 @@
}
],
"cost": { "value": 1 },
"restrictions": [{ "force_side": ["light"] }],
"standard": true,
"extended": true,
"epic": true
Expand All @@ -258,6 +264,7 @@
}
],
"cost": { "value": 4 },
"restrictions": [{ "force_side": ["dark"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -296,6 +303,7 @@
}
],
"cost": { "value": 2 },
"restrictions": [{ "force_side": ["light"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down
6 changes: 5 additions & 1 deletion data/upgrades/gunner.json
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@
}
],
"cost": { "value": 12 },
"restrictions": [{ "factions": ["galacticrepublic"] }],
"limited": 1,
"xws": "ahsokatano",
"standard": true,
Expand All @@ -461,6 +462,7 @@
],
"name": "Clone Captain Rex",
"cost": { "value": 2 },
"restrictions": [{ "factions": ["galacticrepublic"] }],
"limited": 1,
"xws": "clonecaptainrex",
"standard": true,
Expand Down Expand Up @@ -501,6 +503,7 @@
}
],
"cost": { "value": 2 },
"restrictions": [{ "factions": ["separatistalliance", "scumandvillainy"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -539,13 +542,14 @@
}
],
"cost": { "value": 2 },
"restrictions": [{ "factions": ["rebelalliance"] }],
"standard": true,
"extended": true,
"epic": true
},
{
"name": "DT-798",
"limited": 0,
"limited": 1,
"xws": "dt798",
"sides": [
{
Expand Down
3 changes: 3 additions & 0 deletions data/upgrades/modification.json
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@
}
],
"cost": { "value": 5 },
"restrictions": [{ "ships": ["t70xwing"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -440,6 +441,7 @@
}
],
"cost": { "value": 3 },
"restrictions": [{ "keywords": ["Mandalorian"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down Expand Up @@ -484,6 +486,7 @@
}
],
"cost": { "value": 3 },
"restrictions": [{ "keywords": ["Mandalorian"] }],
"standard": true,
"extended": true,
"epic": true
Expand Down
4 changes: 4 additions & 0 deletions data/upgrades/tactical-relay.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@
],
"name": "Kalani",
"cost": { "value": 3 },
"restrictions": [
{ "factions": ["separatistalliance"] },
{ "solitary": true }
],
"limited": 1,
"xws": "kalani",
"standard": true,
Expand Down
Loading