From e87bf3724c70e60709c09183615bcd94fe2add5c Mon Sep 17 00:00:00 2001 From: xenohedron Date: Tue, 12 Sep 2023 00:56:41 -0400 Subject: [PATCH] final cleanup for updated set names --- .../dl/sources/ScryfallImageSupportCards.java | 2 -- .../src/mage/sets/HeroesOfTheRealm2016.java | 4 +-- Mage.Sets/src/mage/sets/PortalDemoGame.java | 30 ------------------- Mage.Sets/src/mage/sets/SummerOfMagic.java | 27 ----------------- .../src/mage/sets/TenthEditionPromos.java | 2 ++ 5 files changed, 4 insertions(+), 61 deletions(-) delete mode 100644 Mage.Sets/src/mage/sets/PortalDemoGame.java delete mode 100644 Mage.Sets/src/mage/sets/SummerOfMagic.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 69f3e5d5e71..e67b9162b99 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 @@ -57,7 +57,6 @@ public class ScryfallImageSupportCards { add("VIS"); // Visions add("5ED"); // Fifth Edition //add("PVAN"); // Vanguard Series - add("PPOD"); // Portal Demo Game add("POR"); // Portal add("WTH"); // Weatherlight add("WC97"); // World Championship Decks 1997 @@ -164,7 +163,6 @@ public class ScryfallImageSupportCards { add("FUT"); // Future Sight add("10E"); // Tenth Edition add("P10E"); // Tenth Edition Promos - add("PSUM"); // Summer of Magic add("ME1"); // Masters Edition add("LRW"); // Lorwyn add("DD1"); // Duel Decks: Elves vs. Goblins diff --git a/Mage.Sets/src/mage/sets/HeroesOfTheRealm2016.java b/Mage.Sets/src/mage/sets/HeroesOfTheRealm2016.java index b9882f0797b..3a774636411 100644 --- a/Mage.Sets/src/mage/sets/HeroesOfTheRealm2016.java +++ b/Mage.Sets/src/mage/sets/HeroesOfTheRealm2016.java @@ -5,7 +5,7 @@ import mage.constants.Rarity; import mage.constants.SetType; /** - * https://scryfall.com/sets/htr16 + * https://scryfall.com/sets/phtr * @author TheElk801 */ public final class HeroesOfTheRealm2016 extends ExpansionSet { @@ -17,7 +17,7 @@ public final class HeroesOfTheRealm2016 extends ExpansionSet { } private HeroesOfTheRealm2016() { - super("Heroes of the Realm 2016", "PTHR", ExpansionSet.buildDate(2017, 9, 20), SetType.JOKESET); + super("Heroes of the Realm 2016", "PHTR", ExpansionSet.buildDate(2017, 9, 20), SetType.JOKESET); this.hasBasicLands = false; cards.add(new SetCardInfo("Chandra, Gremlin Wrangler", 1, Rarity.MYTHIC, mage.cards.c.ChandraGremlinWrangler.class)); diff --git a/Mage.Sets/src/mage/sets/PortalDemoGame.java b/Mage.Sets/src/mage/sets/PortalDemoGame.java deleted file mode 100644 index 82709973dea..00000000000 --- a/Mage.Sets/src/mage/sets/PortalDemoGame.java +++ /dev/null @@ -1,30 +0,0 @@ -package mage.sets; - -import mage.cards.ExpansionSet; -import mage.constants.Rarity; -import mage.constants.SetType; - -/** - * https://scryfall.com/sets/ppod - */ -public class PortalDemoGame extends ExpansionSet { - - private static final PortalDemoGame instance = new PortalDemoGame(); - - public static PortalDemoGame getInstance() { - return instance; - } - - private PortalDemoGame() { - super("Portal Demo Game", "PPOD", ExpansionSet.buildDate(1997, 5, 1), SetType.SUPPLEMENTAL); - this.hasBoosters = false; - this.hasBasicLands = false; - - cards.add(new SetCardInfo("Armored Pegasus", 1, Rarity.COMMON, mage.cards.a.ArmoredPegasus.class)); - cards.add(new SetCardInfo("Bull Hippo", 2, Rarity.UNCOMMON, mage.cards.b.BullHippo.class)); - cards.add(new SetCardInfo("Cloud Pirates", 3, Rarity.COMMON, mage.cards.c.CloudPirates.class)); - cards.add(new SetCardInfo("Feral Shadow", 4, Rarity.COMMON, mage.cards.f.FeralShadow.class)); - cards.add(new SetCardInfo("Snapping Drake", 5, Rarity.COMMON, mage.cards.s.SnappingDrake.class)); - cards.add(new SetCardInfo("Storm Crow", 6, Rarity.COMMON, mage.cards.s.StormCrow.class)); - } -} diff --git a/Mage.Sets/src/mage/sets/SummerOfMagic.java b/Mage.Sets/src/mage/sets/SummerOfMagic.java deleted file mode 100644 index 54320f5e435..00000000000 --- a/Mage.Sets/src/mage/sets/SummerOfMagic.java +++ /dev/null @@ -1,27 +0,0 @@ -package mage.sets; - -import mage.cards.ExpansionSet; -import mage.constants.Rarity; -import mage.constants.SetType; - -/** - * https://scryfall.com/sets/psum - * This is not the "Summer Magic" Revised printing. - */ -public class SummerOfMagic extends ExpansionSet { - - private static final SummerOfMagic instance = new SummerOfMagic(); - - public static SummerOfMagic getInstance() { - return instance; - } - - private SummerOfMagic() { - super("Summer of Magic", "PSUM", ExpansionSet.buildDate(2007, 7, 21), SetType.PROMOTIONAL); - this.hasBoosters = false; - this.hasBasicLands = false; - - cards.add(new SetCardInfo("Faerie Conclave", 1, Rarity.RARE, mage.cards.f.FaerieConclave.class)); - cards.add(new SetCardInfo("Treetop Village", 2, Rarity.RARE, mage.cards.t.TreetopVillage.class)); - } -} diff --git a/Mage.Sets/src/mage/sets/TenthEditionPromos.java b/Mage.Sets/src/mage/sets/TenthEditionPromos.java index 665c4df14af..2f90deb1ef2 100644 --- a/Mage.Sets/src/mage/sets/TenthEditionPromos.java +++ b/Mage.Sets/src/mage/sets/TenthEditionPromos.java @@ -20,6 +20,8 @@ public class TenthEditionPromos extends ExpansionSet { this.hasBoosters = false; this.hasBasicLands = false; + cards.add(new SetCardInfo("Faerie Conclave", 1, Rarity.RARE, mage.cards.f.FaerieConclave.class)); + cards.add(new SetCardInfo("Treetop Village", 2, Rarity.RARE, mage.cards.t.TreetopVillage.class)); cards.add(new SetCardInfo("Reya Dawnbringer", 35, Rarity.RARE, mage.cards.r.ReyaDawnbringer.class)); } }