From 97e17d7c3b8e56a33350220944bd219ecbf88749 Mon Sep 17 00:00:00 2001 From: xenohedron Date: Mon, 11 Sep 2023 23:59:28 -0400 Subject: [PATCH] rename sets: Gateway 2006-8 -> DCI Promos --- .../dl/sources/ScryfallImageSupportCards.java | 4 +- Mage.Sets/src/mage/sets/DCIPromos.java | 45 +++++++++++++++++++ Mage.Sets/src/mage/sets/Gateway2006.java | 27 ----------- Mage.Sets/src/mage/sets/Gateway2007.java | 33 -------------- Mage.Sets/src/mage/sets/Gateway2008.java | 32 ------------- 5 files changed, 46 insertions(+), 95 deletions(-) create mode 100644 Mage.Sets/src/mage/sets/DCIPromos.java delete mode 100644 Mage.Sets/src/mage/sets/Gateway2006.java delete mode 100644 Mage.Sets/src/mage/sets/Gateway2007.java delete mode 100644 Mage.Sets/src/mage/sets/Gateway2008.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 1d136dde215..d41b49d4fc0 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 @@ -145,7 +145,7 @@ public class ScryfallImageSupportCards { add("PAL06"); // Arena League 2006 //add("PMPS06"); // Magic Premiere Shop 2006 add("PHUK"); // Hachette UK - add("PGTW"); // Gateway 2006 + add("PDCI"); // DCI Promos add("P06"); // Magic Player Rewards 2006 add("G06"); // Judge Gift Cards 2006 add("F06"); // Friday Night Magic 2006 @@ -155,7 +155,6 @@ public class ScryfallImageSupportCards { add("CSP"); // Coldsnap add("TSP"); // Time Spiral add("TSB"); // Time Spiral Timeshifted - add("PG07"); // Gateway 2007 //add("PMPS07"); // Magic Premiere Shop 2007 add("P07"); // Magic Player Rewards 2007 add("HHO"); // Happy Holidays @@ -173,7 +172,6 @@ public class ScryfallImageSupportCards { add("PJSE"); // Junior Series Europe add("PJAS"); // Junior APAC Series //add("PMPS08"); // Magic Premiere Shop 2008 - add("PG08"); // Gateway 2008 add("P08"); // Magic Player Rewards 2008 add("G08"); // Judge Gift Cards 2008 add("F08"); // Friday Night Magic 2008 diff --git a/Mage.Sets/src/mage/sets/DCIPromos.java b/Mage.Sets/src/mage/sets/DCIPromos.java new file mode 100644 index 00000000000..4b655ea9c1b --- /dev/null +++ b/Mage.Sets/src/mage/sets/DCIPromos.java @@ -0,0 +1,45 @@ +package mage.sets; + +import mage.cards.ExpansionSet; +import mage.constants.Rarity; +import mage.constants.SetType; + +/** + * https://scryfall.com/sets/pg07 + */ +public class DCIPromos extends ExpansionSet { + + private static final DCIPromos instance = new DCIPromos(); + + public static DCIPromos getInstance() { + return instance; + } + + private DCIPromos() { + super("DCI Promos", "PDCI", ExpansionSet.buildDate(2006, 1, 1), SetType.PROMOTIONAL); + this.hasBoosters = false; + this.hasBasicLands = false; + + cards.add(new SetCardInfo("Wood Elves", 1, Rarity.RARE, mage.cards.w.WoodElves.class)); + cards.add(new SetCardInfo("Icatian Javelineers", 2, Rarity.RARE, mage.cards.i.IcatianJavelineers.class)); + cards.add(new SetCardInfo("Fiery Temper", 3, Rarity.RARE, mage.cards.f.FieryTemper.class)); + cards.add(new SetCardInfo("Boomerang", 4, Rarity.RARE, mage.cards.b.Boomerang.class)); + cards.add(new SetCardInfo("Calciderm", 5, Rarity.RARE, mage.cards.c.Calciderm.class)); + cards.add(new SetCardInfo("Reckless Wurm", 6, Rarity.RARE, mage.cards.r.RecklessWurm.class)); + cards.add(new SetCardInfo("Yixlid Jailer", 7, Rarity.RARE, mage.cards.y.YixlidJailer.class)); + cards.add(new SetCardInfo("Zoetic Cavern", 8, Rarity.RARE, mage.cards.z.ZoeticCavern.class)); + cards.add(new SetCardInfo("Llanowar Elves", 9, Rarity.RARE, mage.cards.l.LlanowarElves.class)); + cards.add(new SetCardInfo("Mogg Fanatic", 10, Rarity.RARE, mage.cards.m.MoggFanatic.class)); + cards.add(new SetCardInfo("Mind Stone", 11, Rarity.RARE, mage.cards.m.MindStone.class)); + cards.add(new SetCardInfo("Dauntless Dourbark", 12, Rarity.RARE, mage.cards.d.DauntlessDourbark.class)); + cards.add(new SetCardInfo("Lava Axe", 13, Rarity.RARE, mage.cards.l.LavaAxe.class)); + cards.add(new SetCardInfo("Cenn's Tactician", 14, Rarity.RARE, mage.cards.c.CennsTactician.class)); + cards.add(new SetCardInfo("Oona's Blackguard", 15, Rarity.RARE, mage.cards.o.OonasBlackguard.class)); + cards.add(new SetCardInfo("Gravedigger", 16, Rarity.RARE, mage.cards.g.Gravedigger.class)); + cards.add(new SetCardInfo("Boggart Ram-Gang", 17, Rarity.RARE, mage.cards.b.BoggartRamGang.class)); + cards.add(new SetCardInfo("Wilt-Leaf Cavaliers", 18, Rarity.RARE, mage.cards.w.WiltLeafCavaliers.class)); + cards.add(new SetCardInfo("Duergar Hedge-Mage", 19, Rarity.RARE, mage.cards.d.DuergarHedgeMage.class)); + cards.add(new SetCardInfo("Selkie Hedge-Mage", 20, Rarity.RARE, mage.cards.s.SelkieHedgeMage.class)); + + } +} diff --git a/Mage.Sets/src/mage/sets/Gateway2006.java b/Mage.Sets/src/mage/sets/Gateway2006.java deleted file mode 100644 index e21c8b79821..00000000000 --- a/Mage.Sets/src/mage/sets/Gateway2006.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/pgtw - */ -public class Gateway2006 extends ExpansionSet { - - private static final Gateway2006 instance = new Gateway2006(); - - public static Gateway2006 getInstance() { - return instance; - } - - private Gateway2006() { - super("Gateway 2006", "PGTW", ExpansionSet.buildDate(2006, 1, 1), SetType.PROMOTIONAL); - this.hasBoosters = false; - this.hasBasicLands = false; - - cards.add(new SetCardInfo("Fiery Temper", 3, Rarity.RARE, mage.cards.f.FieryTemper.class)); - cards.add(new SetCardInfo("Icatian Javelineers", 2, Rarity.RARE, mage.cards.i.IcatianJavelineers.class)); - cards.add(new SetCardInfo("Wood Elves", 1, Rarity.RARE, mage.cards.w.WoodElves.class)); - } -} diff --git a/Mage.Sets/src/mage/sets/Gateway2007.java b/Mage.Sets/src/mage/sets/Gateway2007.java deleted file mode 100644 index 8b5863db688..00000000000 --- a/Mage.Sets/src/mage/sets/Gateway2007.java +++ /dev/null @@ -1,33 +0,0 @@ -package mage.sets; - -import mage.cards.ExpansionSet; -import mage.constants.Rarity; -import mage.constants.SetType; - -/** - * https://scryfall.com/sets/pg07 - */ -public class Gateway2007 extends ExpansionSet { - - private static final Gateway2007 instance = new Gateway2007(); - - public static Gateway2007 getInstance() { - return instance; - } - - private Gateway2007() { - super("Gateway 2007", "PG07", ExpansionSet.buildDate(2007, 1, 1), SetType.PROMOTIONAL); - this.hasBoosters = false; - this.hasBasicLands = false; - - cards.add(new SetCardInfo("Boomerang", 4, Rarity.RARE, mage.cards.b.Boomerang.class)); - cards.add(new SetCardInfo("Calciderm", 5, Rarity.RARE, mage.cards.c.Calciderm.class)); - cards.add(new SetCardInfo("Dauntless Dourbark", 12, Rarity.RARE, mage.cards.d.DauntlessDourbark.class)); - cards.add(new SetCardInfo("Llanowar Elves", 9, Rarity.RARE, mage.cards.l.LlanowarElves.class)); - cards.add(new SetCardInfo("Mind Stone", 11, Rarity.RARE, mage.cards.m.MindStone.class)); - cards.add(new SetCardInfo("Mogg Fanatic", 10, Rarity.RARE, mage.cards.m.MoggFanatic.class)); - cards.add(new SetCardInfo("Reckless Wurm", 6, Rarity.RARE, mage.cards.r.RecklessWurm.class)); - cards.add(new SetCardInfo("Yixlid Jailer", 7, Rarity.RARE, mage.cards.y.YixlidJailer.class)); - cards.add(new SetCardInfo("Zoetic Cavern", 8, Rarity.RARE, mage.cards.z.ZoeticCavern.class)); - } -} diff --git a/Mage.Sets/src/mage/sets/Gateway2008.java b/Mage.Sets/src/mage/sets/Gateway2008.java deleted file mode 100644 index c13eade07ed..00000000000 --- a/Mage.Sets/src/mage/sets/Gateway2008.java +++ /dev/null @@ -1,32 +0,0 @@ -package mage.sets; - -import mage.cards.ExpansionSet; -import mage.constants.Rarity; -import mage.constants.SetType; - -/** - * https://scryfall.com/sets/pg08 - */ -public class Gateway2008 extends ExpansionSet { - - private static final Gateway2008 instance = new Gateway2008(); - - public static Gateway2008 getInstance() { - return instance; - } - - private Gateway2008() { - super("Gateway 2008", "PG08", ExpansionSet.buildDate(2008, 1, 1), SetType.PROMOTIONAL); - this.hasBoosters = false; - this.hasBasicLands = false; - - cards.add(new SetCardInfo("Boggart Ram-Gang", 17, Rarity.RARE, mage.cards.b.BoggartRamGang.class)); - cards.add(new SetCardInfo("Cenn's Tactician", 14, Rarity.RARE, mage.cards.c.CennsTactician.class)); - cards.add(new SetCardInfo("Duergar Hedge-Mage", 19, Rarity.RARE, mage.cards.d.DuergarHedgeMage.class)); - cards.add(new SetCardInfo("Gravedigger", 16, Rarity.RARE, mage.cards.g.Gravedigger.class)); - cards.add(new SetCardInfo("Lava Axe", 13, Rarity.RARE, mage.cards.l.LavaAxe.class)); - cards.add(new SetCardInfo("Oona's Blackguard", 15, Rarity.RARE, mage.cards.o.OonasBlackguard.class)); - cards.add(new SetCardInfo("Selkie Hedge-Mage", 20, Rarity.RARE, mage.cards.s.SelkieHedgeMage.class)); - cards.add(new SetCardInfo("Wilt-Leaf Cavaliers", 18, Rarity.RARE, mage.cards.w.WiltLeafCavaliers.class)); - } -}