Adjust Asia Pacific Land Program set abbreviation to match Scryfall.

This commit is contained in:
Thomas Hess 2020-01-16 18:44:50 +01:00
parent ee7e1651a8
commit 4d3e41fa35
No known key found for this signature in database
GPG key ID: 98602F47D161B13C
5 changed files with 8 additions and 5 deletions

View file

@ -1508,7 +1508,7 @@ public class DragCardGrid extends JPanel implements DragCardSource, DragCardTarg
pimpedSets.put("ARENA", 1);
pimpedSets.put("UGIN", 1);
pimpedSets.put("WMCQ", 1);
pimpedSets.put("APAC", 1);
pimpedSets.put("PALP", 1);
pimpedSets.put("EURO", 1);
pimpedSets.put("FNMP", 1);
pimpedSets.put("MGDC", 1);

View file

@ -61,7 +61,7 @@ public class GathererSets implements Iterable<DownloadJob> {
"POR", "P02", "PTK",
"ARC", "DD3EVG",
"W16", "W17",
// "APAC" -- gatherer do not have that set, scryfall has PALP
// "PALP" -- Gatherer does not have the set Asia Pacific Land Program
// "ARENA" -- is't many set with different codes, not one
// "ATH" -- has cards from many sets, symbol does not exist on gatherer
// "CLASH", "CP", "DPA", "EURO", "FNMP", "GPX", "GRC", "GUR", "H17", "JR", "MBP", "MGDC", "MLP", "MPRP", "PTC", "SUS", "SWS", "WMCQ", // need to fix

View file

@ -258,7 +258,8 @@ public class ScryfallImageSupportCards {
add("ELD");
add("THB");
//
add("EURO");
add("PALP");
add("PELP");
add("GPX");
add("ATH");
add("GRC");

View file

@ -18,8 +18,10 @@ public final class AsiaPacificLandProgram extends ExpansionSet {
}
private AsiaPacificLandProgram() {
super("Asia Pacific Land Program", "APAC", ExpansionSet.buildDate(1997, 10, 13), SetType.PROMOTIONAL);
super("Asia Pacific Land Program", "PALP", ExpansionSet.buildDate(1997, 10, 13), SetType.PROMOTIONAL);
this.hasBoosters = false;
this.hasBasicLands = true;
cards.add(new SetCardInfo("Forest", 1, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Forest", 6, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Forest", 11, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));

View file

@ -38,7 +38,7 @@ public final class MtgJson {
mtgJsonToXMageCodes.put("pFNM", "FNMP");
mtgJsonToXMageCodes.put("pELP", "EURO");
mtgJsonToXMageCodes.put("pARL", "ARENA");
mtgJsonToXMageCodes.put("pALP", "APAC");
mtgJsonToXMageCodes.put("pALP", "PALP");
mtgJsonToXMageCodes.put("PO2", "P02");
mtgJsonToXMageCodes.put("DD3_JVC", "DD3JVC");
mtgJsonToXMageCodes.put("DD3_GVL", "DDD");