From d5377599ccbaa0e51e1b6d413873dcf27afd087c Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Mon, 21 Dec 2020 11:10:54 +0400 Subject: [PATCH] * Images: updated Duels of the Planeswalkers Promo sets (year incremented; 2011 -> 2012, etc); --- .../dl/sources/ScryfallImageSupportCards.java | 1 - .../DuelsOfThePlaneswalkers2011Promos.java | 29 ------------------- .../DuelsOfThePlaneswalkers2012Promos.java | 10 +++---- .../DuelsOfThePlaneswalkers2013Promos.java | 10 +++---- .../DuelsOfThePlaneswalkers2014Promos.java | 9 +++--- .../DuelsOfThePlaneswalkers2015Promos.java | 28 ++++++++++++++++++ 6 files changed, 43 insertions(+), 44 deletions(-) delete mode 100644 Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2011Promos.java create mode 100644 Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2015Promos.java diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportCards.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportCards.java index 205cd284b6..095642cebd 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportCards.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportCards.java @@ -238,7 +238,6 @@ public class ScryfallImageSupportCards { add("TD0"); // Magic Online Theme Decks add("PD2"); // Premium Deck Series: Fire and Lightning //add("PMPS11"); // Magic Premiere Shop 2011 - add("PDP11"); // Duels of the Planeswalkers 2011 Promos add("PWP11"); // Wizards Play Network 2011 //add("PS11"); // Salvat 2011 add("P11"); // Magic Player Rewards 2011 diff --git a/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2011Promos.java b/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2011Promos.java deleted file mode 100644 index c940694eda..0000000000 --- a/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2011Promos.java +++ /dev/null @@ -1,29 +0,0 @@ -package mage.sets; - -import mage.cards.ExpansionSet; -import mage.constants.Rarity; -import mage.constants.SetType; - -/** - * https://scryfall.com/sets/pdp11 - * - * @author JayDi85 - */ -public final class DuelsOfThePlaneswalkers2011Promos extends ExpansionSet { - - private static final DuelsOfThePlaneswalkers2011Promos instance = new DuelsOfThePlaneswalkers2011Promos(); - - public static DuelsOfThePlaneswalkers2011Promos getInstance() { - return instance; - } - - private DuelsOfThePlaneswalkers2011Promos() { - super("Duels of the Planeswalkers 2011 Promos", "PDP11", ExpansionSet.buildDate(2011, 1, 1), SetType.PROMOTIONAL); - this.hasBoosters = false; - this.hasBasicLands = false; - - cards.add(new SetCardInfo("Frost Titan", 1, Rarity.MYTHIC, mage.cards.f.FrostTitan.class)); - cards.add(new SetCardInfo("Grave Titan", 2, Rarity.MYTHIC, mage.cards.g.GraveTitan.class)); - cards.add(new SetCardInfo("Inferno Titan", 3, Rarity.MYTHIC, mage.cards.i.InfernoTitan.class)); - } -} \ No newline at end of file diff --git a/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2012Promos.java b/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2012Promos.java index 9d2e6a1748..4a6a58b93a 100644 --- a/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2012Promos.java +++ b/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2012Promos.java @@ -5,7 +5,7 @@ import mage.constants.Rarity; import mage.constants.SetType; /** - * https://scryfall.com/sets/pdp12 + * https://scryfall.com/sets/pdp11 * * @author JayDi85 */ @@ -18,12 +18,12 @@ public final class DuelsOfThePlaneswalkers2012Promos extends ExpansionSet { } private DuelsOfThePlaneswalkers2012Promos() { - super("Duels of the Planeswalkers 2012 Promos", "PDP12", ExpansionSet.buildDate(2012, 1, 1), SetType.PROMOTIONAL); + super("Duels of the Planeswalkers 2012 Promos", "PDP12", ExpansionSet.buildDate(2011, 1, 1), SetType.PROMOTIONAL); this.hasBoosters = false; this.hasBasicLands = false; - cards.add(new SetCardInfo("Primordial Hydra", 1, Rarity.MYTHIC, mage.cards.p.PrimordialHydra.class)); - cards.add(new SetCardInfo("Serra Avatar", 2, Rarity.MYTHIC, mage.cards.s.SerraAvatar.class)); - cards.add(new SetCardInfo("Vampire Nocturnus", 3, Rarity.MYTHIC, mage.cards.v.VampireNocturnus.class)); + cards.add(new SetCardInfo("Frost Titan", 1, Rarity.MYTHIC, mage.cards.f.FrostTitan.class)); + cards.add(new SetCardInfo("Grave Titan", 2, Rarity.MYTHIC, mage.cards.g.GraveTitan.class)); + cards.add(new SetCardInfo("Inferno Titan", 3, Rarity.MYTHIC, mage.cards.i.InfernoTitan.class)); } } \ No newline at end of file diff --git a/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2013Promos.java b/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2013Promos.java index e438e8603a..4331d6311f 100644 --- a/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2013Promos.java +++ b/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2013Promos.java @@ -5,7 +5,7 @@ import mage.constants.Rarity; import mage.constants.SetType; /** - * https://scryfall.com/sets/pdp13 + * https://scryfall.com/sets/pdp12 * * @author JayDi85 */ @@ -18,12 +18,12 @@ public final class DuelsOfThePlaneswalkers2013Promos extends ExpansionSet { } private DuelsOfThePlaneswalkers2013Promos() { - super("Duels of the Planeswalkers 2013 Promos", "PDP13", ExpansionSet.buildDate(2013, 1, 1), SetType.PROMOTIONAL); + super("Duels of the Planeswalkers 2013 Promos", "PDP13", ExpansionSet.buildDate(2012, 1, 1), SetType.PROMOTIONAL); this.hasBoosters = false; this.hasBasicLands = false; - cards.add(new SetCardInfo("Bonescythe Sliver", 1, Rarity.RARE, mage.cards.b.BonescytheSliver.class)); - cards.add(new SetCardInfo("Ogre Battledriver", 2, Rarity.RARE, mage.cards.o.OgreBattledriver.class)); - cards.add(new SetCardInfo("Scavenging Ooze", 3, Rarity.RARE, mage.cards.s.ScavengingOoze.class)); + cards.add(new SetCardInfo("Primordial Hydra", 1, Rarity.MYTHIC, mage.cards.p.PrimordialHydra.class)); + cards.add(new SetCardInfo("Serra Avatar", 2, Rarity.MYTHIC, mage.cards.s.SerraAvatar.class)); + cards.add(new SetCardInfo("Vampire Nocturnus", 3, Rarity.MYTHIC, mage.cards.v.VampireNocturnus.class)); } } \ No newline at end of file diff --git a/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2014Promos.java b/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2014Promos.java index 71f8989c92..5d42a44c9e 100644 --- a/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2014Promos.java +++ b/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2014Promos.java @@ -5,7 +5,7 @@ import mage.constants.Rarity; import mage.constants.SetType; /** - * https://scryfall.com/sets/pdp14 + * https://scryfall.com/sets/pdp13 * * @author JayDi85 */ @@ -18,11 +18,12 @@ public final class DuelsOfThePlaneswalkers2014Promos extends ExpansionSet { } private DuelsOfThePlaneswalkers2014Promos() { - super("Duels of the Planeswalkers 2014 Promos", "PDP14", ExpansionSet.buildDate(2014, 1, 1), SetType.PROMOTIONAL); + super("Duels of the Planeswalkers 2014 Promos", "PDP14", ExpansionSet.buildDate(2013, 1, 1), SetType.PROMOTIONAL); this.hasBoosters = false; this.hasBasicLands = false; - cards.add(new SetCardInfo("Soul of Ravnica", 1, Rarity.MYTHIC, mage.cards.s.SoulOfRavnica.class)); - cards.add(new SetCardInfo("Soul of Zendikar", 2, Rarity.MYTHIC, mage.cards.s.SoulOfZendikar.class)); + cards.add(new SetCardInfo("Bonescythe Sliver", 1, Rarity.RARE, mage.cards.b.BonescytheSliver.class)); + cards.add(new SetCardInfo("Ogre Battledriver", 2, Rarity.RARE, mage.cards.o.OgreBattledriver.class)); + cards.add(new SetCardInfo("Scavenging Ooze", 3, Rarity.RARE, mage.cards.s.ScavengingOoze.class)); } } \ No newline at end of file diff --git a/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2015Promos.java b/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2015Promos.java new file mode 100644 index 0000000000..d5d31e170a --- /dev/null +++ b/Mage.Sets/src/mage/sets/DuelsOfThePlaneswalkers2015Promos.java @@ -0,0 +1,28 @@ +package mage.sets; + +import mage.cards.ExpansionSet; +import mage.constants.Rarity; +import mage.constants.SetType; + +/** + * https://scryfall.com/sets/pdp14 + * + * @author JayDi85 + */ +public final class DuelsOfThePlaneswalkers2015Promos extends ExpansionSet { + + private static final DuelsOfThePlaneswalkers2015Promos instance = new DuelsOfThePlaneswalkers2015Promos(); + + public static DuelsOfThePlaneswalkers2015Promos getInstance() { + return instance; + } + + private DuelsOfThePlaneswalkers2015Promos() { + super("Duels of the Planeswalkers 2015 Promos", "PDP15", ExpansionSet.buildDate(2014, 1, 1), SetType.PROMOTIONAL); + this.hasBoosters = false; + this.hasBasicLands = false; + + cards.add(new SetCardInfo("Soul of Ravnica", 1, Rarity.MYTHIC, mage.cards.s.SoulOfRavnica.class)); + cards.add(new SetCardInfo("Soul of Zendikar", 2, Rarity.MYTHIC, mage.cards.s.SoulOfZendikar.class)); + } +} \ No newline at end of file