From 663a6d3471563155fb1f7ee01dd33259f50e29bb Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Thu, 7 Jun 2018 23:24:06 -0400 Subject: [PATCH] Add DDU set to Image download sources. --- .../mage/plugins/card/dl/sources/GathererSets.java | 2 +- .../card/dl/sources/MagicCardsImageSource.java | 12 +++++++----- .../plugins/card/dl/sources/MagidexImageSource.java | 9 +++++---- .../plugins/card/dl/sources/ScryfallImageSource.java | 1 + .../card/dl/sources/WizardCardsImageSource.java | 2 ++ 5 files changed, 16 insertions(+), 10 deletions(-) diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java index 385204f822..2037d209f5 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java @@ -72,7 +72,7 @@ public class GathererSets implements Iterable { private static final String[] symbolsBasicWithMyth = {"M10", "M11", "M12", "M13", "M14", "M15", "ORI", "DDF", "DDG", "DDH", "DDI", "DDJ", "DDK", "DDL", "DDM", "DDN", - "DD3DVD", "DD3JVC", "DDO", "DDP", "DDQ", "DDR", "DDS", "DDT", + "DD3DVD", "DD3JVC", "DDO", "DDP", "DDQ", "DDR", "DDS", "DDT", "DDU", "ALA", "CON", "ARB", "ZEN", "WWK", "ROE", "SOM", "MBS", "NPH", diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MagicCardsImageSource.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MagicCardsImageSource.java index 4099643d53..967c916e95 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MagicCardsImageSource.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MagicCardsImageSource.java @@ -202,14 +202,15 @@ public enum MagicCardsImageSource implements CardImageSource { add("C17"); add("XLN"); add("DDT"); + add("DDU"); add("IMA"); add("E02"); add("V17"); add("UST"); -// add("RIX"); -// add("A25"); -// add("DOM"); -// add("M19"); + add("RIX"); + add("A25"); + add("DOM"); + add("M19"); } }; @@ -263,7 +264,8 @@ public enum MagicCardsImageSource implements CardImageSource { put("DDQ", "duel-decks-blessed-vs-cursed"); put("DDR", "duel-decks-nissa-vs-ob-nixilis"); put("DDS", "duel-decks-mind-vs-might"); - put("DDS", "duel-decks-merfolk-vs-goblin"); + put("DDT", "duel-decks-merfolk-vs-goblin"); + put("DDU", "duel-decks-elves-vs-inventors"); put("DGM", "dragons-maze"); put("DKA", "dark-ascension"); put("DRB", "from-the-vault-dragons"); diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MagidexImageSource.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MagidexImageSource.java index 9a754e819b..b883db9cf2 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MagidexImageSource.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MagidexImageSource.java @@ -208,10 +208,11 @@ public enum MagidexImageSource implements CardImageSource { supportedSets.add("IMA"); supportedSets.add("E02"); supportedSets.add("V17"); -// supportedSets.add("UST"); -// supportedSets.add("RIX"); -// supportedSets.add("A25"); -// supportedSets.add("DOM"); + supportedSets.add("UST"); + supportedSets.add("DDU"); + supportedSets.add("RIX"); + supportedSets.add("A25"); + supportedSets.add("DOM"); // supportedSets.add("M19"); } diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSource.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSource.java index f38b1a80e6..52fc1b717f 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSource.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSource.java @@ -205,6 +205,7 @@ public enum ScryfallImageSource implements CardImageSource { supportedSets.add("E02"); supportedSets.add("V17"); supportedSets.add("UST"); + supportedSets.add("DDU"); supportedSets.add("RIX"); supportedSets.add("WMCQ"); supportedSets.add("PPRO"); diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/WizardCardsImageSource.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/WizardCardsImageSource.java index 5d8368bb11..e3add9725c 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/WizardCardsImageSource.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/WizardCardsImageSource.java @@ -238,6 +238,7 @@ public enum WizardCardsImageSource implements CardImageSource { supportedSets.add("C17"); supportedSets.add("XLN"); supportedSets.add("DDT"); // Duel Decks: Merfolk vs. Goblins + supportedSets.add("DDU"); // Duel Decks: Elves vs. Inventors supportedSets.add("IMA"); // Iconic Msters supportedSets.add("E02"); // Explorers of Ixalan supportedSets.add("V17"); // From the Vault: Transform @@ -312,6 +313,7 @@ public enum WizardCardsImageSource implements CardImageSource { setsAliases.put("DDR", "Duel Decks: Nissa vs. Ob Nixilis"); setsAliases.put("DDS", "Duel Decks: Mind vs. Might"); setsAliases.put("DDT", "Duel Decks: Merfolk vs. Goblins"); + setsAliases.put("DDU", "Duel Decks: Elves vs. Inventors"); setsAliases.put("DGM", "Dragon's Maze"); setsAliases.put("DIS", "Dissension"); setsAliases.put("DKA", "Dark Ascension");