* Cards: updated old sets with new scryfall numbers, fixed set codes;

This commit is contained in:
Oleg Agafonov 2021-06-30 03:01:36 +04:00
parent 62dad3730f
commit e05a315495
12 changed files with 44 additions and 70 deletions

View file

@ -14,6 +14,10 @@ import static org.mage.plugins.card.dl.DownloadJob.fromURL;
import static org.mage.plugins.card.dl.DownloadJob.toFile;
import static org.mage.plugins.card.utils.CardImageUtils.getImagesDir;
/**
* WARNING, unsupported images plugin, last updates from 2018
*/
public class GathererSets implements Iterable<DownloadJob> {
private class CheckResult {
@ -99,7 +103,7 @@ public class GathererSets implements Iterable<DownloadJob> {
private static final String[] symbolsOnlyMyth = {
"DRB", "V09", "V10", "V12", "V13", "V14", "V15", "V16", "V17", "EXP", "MED"
// "HTR" does not exist
// "HTR16" does not exist
};
private static final String[] symbolsOnlySpecial = {
"MPS", "MP2"

View file

@ -202,7 +202,7 @@ public class ScryfallImageSupportCards {
add("P09"); // Magic Player Rewards 2009
add("G09"); // Judge Gift Cards 2009
add("F09"); // Friday Night Magic 2009
add("PBOK"); // Miscellaneous Book Promos
add("PBOOK"); // Miscellaneous Book Promos
add("CON"); // Conflux
add("DDC"); // Duel Decks: Divine vs. Demonic
add("PPRE"); // Prerelease Events
@ -307,7 +307,6 @@ public class ScryfallImageSupportCards {
add("PJOU"); // Journey into Nyx Promos
add("JOU"); // Journey into Nyx
add("MD1"); // Modern Event Deck 2014
add("PLPA"); // Launch Parties
add("CNS"); // Conspiracy
add("VMA"); // Vintage Masters
add("PS14"); // San Diego Comic-Con 2014
@ -388,7 +387,7 @@ public class ScryfallImageSupportCards {
add("C17"); // Commander 2017
add("PWCQ"); // World Magic Cup Qualifiers
add("H17"); // HasCon 2017
add("HTR"); // 2016 Heroes of the Realm
add("HTR16"); // 2016 Heroes of the Realm
add("PXLN"); // Ixalan Promos
add("XLN"); // Ixalan
add("PSS2"); // XLN Standard Showdown