From 736f207801b11cb09a28e02bcf7751fb96acdc43 Mon Sep 17 00:00:00 2001 From: Thomas Hess Date: Wed, 15 Jan 2020 22:59:25 +0100 Subject: [PATCH] Add the DragonCon (PDRC) promotional set. --- .../dl/sources/ScryfallImageSupportCards.java | 14 ++++++++++ Mage.Sets/src/mage/sets/DragonCon.java | 26 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/DragonCon.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 1f0eddb3a5..331162db55 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 @@ -60,6 +60,20 @@ public class ScryfallImageSupportCards { add("DD3GVL"); add("DD3JVC"); + // Judge gift sets + add("JGP"); + add("G99"); + add("G00"); + add("G01"); + + // Other promo sets + add("PWOR"); + add("PWOS"); + add("PDRC"); + add("PHPR"); + add("PLGM"); + + add("MGB"); add("ULG"); add("6ED"); add("UDS"); diff --git a/Mage.Sets/src/mage/sets/DragonCon.java b/Mage.Sets/src/mage/sets/DragonCon.java new file mode 100644 index 0000000000..6861774a69 --- /dev/null +++ b/Mage.Sets/src/mage/sets/DragonCon.java @@ -0,0 +1,26 @@ +package mage.sets; + +import mage.cards.ExpansionSet; +import mage.constants.Rarity; +import mage.constants.SetType; + +/** + * https://scryfall.com/sets/pdrc + * https://gatherer.wizards.com/pages/card/Details.aspx?name=Nalathni+Dragon + */ +public class DragonCon extends ExpansionSet { + + private static final DragonCon instance = new DragonCon(); + + public static DragonCon getInstance() { + return instance; + } + + private DragonCon() { + super("Dragon Con", "PDRC", ExpansionSet.buildDate(1995, 7, 15), SetType.PROMOTIONAL); + this.hasBoosters = false; + this.hasBasicLands = false; + + cards.add(new SetCardInfo("Nalathni Dragon", 1, Rarity.RARE, mage.cards.n.NalathniDragon.class)); + } +} \ No newline at end of file