From 8fdd3511b023d4d4ff9277228393ff8ff57a1da6 Mon Sep 17 00:00:00 2001 From: Thomas Hess Date: Wed, 15 Jan 2020 23:17:20 +0100 Subject: [PATCH] Add the HarperPrism Book Promos (PHPR) promotional set. --- .../dl/sources/ScryfallImageSupportCards.java | 2 +- .../src/mage/sets/HarperPrismBookPromos.java | 30 +++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/sets/HarperPrismBookPromos.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 331162db55b..5f88be6b28c 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 @@ -65,7 +65,7 @@ public class ScryfallImageSupportCards { add("G99"); add("G00"); add("G01"); - + // Other promo sets add("PWOR"); add("PWOS"); diff --git a/Mage.Sets/src/mage/sets/HarperPrismBookPromos.java b/Mage.Sets/src/mage/sets/HarperPrismBookPromos.java new file mode 100644 index 00000000000..f2894f81d0c --- /dev/null +++ b/Mage.Sets/src/mage/sets/HarperPrismBookPromos.java @@ -0,0 +1,30 @@ +package mage.sets; + +import mage.cards.ExpansionSet; +import mage.constants.Rarity; +import mage.constants.SetType; + +/** + * https://scryfall.com/sets/phpr + */ +public class HarperPrismBookPromos extends ExpansionSet { + + private static final HarperPrismBookPromos instance = new HarperPrismBookPromos(); + + public static HarperPrismBookPromos getInstance() { + return instance; + } + + private HarperPrismBookPromos() { + super("HarperPrism Book Promos", "PHPR", ExpansionSet.buildDate(1994, 9, 1), SetType.PROMOTIONAL); + this.hasBoosters = false; + this.hasBasicLands = false; + + cards.add(new SetCardInfo("Arena", 1, Rarity.RARE, mage.cards.a.Arena.class)); + cards.add(new SetCardInfo("Giant Badger", 4, Rarity.RARE, mage.cards.g.GiantBadger.class)); + cards.add(new SetCardInfo("Mana Crypt", 5, Rarity.RARE, mage.cards.m.ManaCrypt.class)); + // TODO: Card not implemented + //cards.add(new SetCardInfo("Sewers of Estark", 2, Rarity.RARE, mage.cards.s.SewersOfEstark.class)) + cards.add(new SetCardInfo("Windseeker Centaur", 3, Rarity.RARE, mage.cards.w.WindseekerCentaur.class)); + } +} \ No newline at end of file