* Cards: updated old sets with new scryfall numbers (fixed images download);

This commit is contained in:
Oleg Agafonov 2021-06-30 16:51:01 +04:00
parent a1de8cc85a
commit a5dfe3ba14
13 changed files with 57 additions and 133 deletions

View file

@ -1666,7 +1666,6 @@ public class DragCardGrid extends JPanel implements DragCardSource, DragCardTarg
pimpedSets.put("P11", 1);
pimpedSets.put("OVNT", 1); // Vintage Championship
pimpedSets.put("PREL", 1); // Release Events
pimpedSets.put("PJSE", 1); // Junior Series Europe
pimpedSets.put("P2HG", 1); // Two-Headed Giant Tournament
pimpedSets.put("PGTW", 1); // Gateway 2006
@ -1675,9 +1674,7 @@ public class DragCardGrid extends JPanel implements DragCardSource, DragCardTarg
pimpedSets.put("EXP", 1);
pimpedSets.put("PGPX", 1);
pimpedSets.put("PMEI", 1);
pimpedSets.put("PREL", 1);
pimpedSets.put("PLS", 1);
pimpedSets.put("PPRE", 1);
String[] sets = pimpedSets.keySet().toArray(new String[pimpedSets.keySet().size()]);
Boolean didModify = false;

View file

@ -67,7 +67,7 @@ public class GathererSets implements Iterable<DownloadJob> {
"W16", "W17",
// "PALP" -- Gatherer does not have the set Asia Pacific Land Program
// "ATH" -- has cards from many sets, symbol does not exist on gatherer
// "CP", "DPA", "PELP", "PGPX", "PGRU", "H17", "JR", "PPRE", "SWS", // need to fix
// "CP", "DPA", "PELP", "PGPX", "PGRU", "H17", "JR", "SWS", // need to fix
"H09", "PD2", "PD3", "UNH", "CM1", "V11", "A25", "UST", "IMA", "DD2", "EVG", "DDC", "DDE", "DDD", "8EB", "9EB", "CHR", "G18", "GVL", "S00", "S99", "UGL" // ok
// current testing
};

View file

@ -16,7 +16,6 @@ public enum MagidexImageSource implements CardImageSource {
MagidexImageSource() {
supportedSets = new LinkedHashSet<>();
// supportedSets.add("PPRE"); // Prerelease Events
// supportedSets.add("JR"); // TODO: Set was split into the individual sets as listed on Scryfall
supportedSets.add("LEA");
supportedSets.add("LEB");

View file

@ -174,7 +174,6 @@ public class ScryfallImageSupportCards {
add("P10E"); // Tenth Edition Promos
add("PSUM"); // Summer of Magic
add("ME1"); // Masters Edition
add("PREL"); // Release Events
add("LRW"); // Lorwyn
add("DD1"); // Duel Decks: Elves vs. Goblins
add("PSUS"); // Junior Super Series
@ -195,6 +194,7 @@ public class ScryfallImageSupportCards {
add("ME2"); // Masters Edition II
add("PWPN"); // Wizards Play Network 2008
add("ALA"); // Shards of Alara
add("PALA"); // Shards of Alara Promos
add("DD2"); // Duel Decks: Jace vs. Chandra
add("PWP09"); // Wizards Play Network 2009
add("PDTP"); // Duels of the Planeswalkers 2009 Promos
@ -205,7 +205,6 @@ public class ScryfallImageSupportCards {
add("PBOOK"); // Miscellaneous Book Promos
add("CON"); // Conflux
add("DDC"); // Duel Decks: Divine vs. Demonic
add("PPRE"); // Prerelease Events
add("ARB"); // Alara Reborn
add("PM10"); // Magic 2010 Promos
add("M10"); // Magic 2010

View file

@ -55,7 +55,6 @@ public enum WizardCardsImageSource implements CardImageSource {
languageAliases.put(CardLanguage.CHINES_TRADITION, "Chinese Traditional ");
supportedSets = new LinkedHashSet<>();
// supportedSets.add("PPRE"); // Prerelease Events
supportedSets.add("LEA");
supportedSets.add("LEB");
supportedSets.add("2ED");
@ -392,7 +391,6 @@ public enum WizardCardsImageSource implements CardImageSource {
setsAliases.put("PLS", "Planeshift");
setsAliases.put("PO2", "Portal Second Age");
setsAliases.put("POR", "Portal");
setsAliases.put("PPRE", "Prerelease Events");
setsAliases.put("PTK", "Portal Three Kingdoms");
setsAliases.put("RAV", "Ravnica: City of Guilds");
setsAliases.put("ROE", "Rise of the Eldrazi");