From 1510de1df8b1cbc8de578fb09627662eb560fbc2 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Mon, 5 Aug 2019 12:12:46 +0400 Subject: [PATCH] * Added new set: MagicFest 2019 (PF19); --- .../dl/sources/ScryfallImageSupportCards.java | 1 + Mage.Sets/src/mage/sets/MagicFest2019.java | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/MagicFest2019.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 14789c161f..0c208ce686 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 @@ -252,6 +252,7 @@ public class ScryfallImageSupportCards { add("SS1"); add("SS2"); add("PPP1"); + add("PF19"); } }; diff --git a/Mage.Sets/src/mage/sets/MagicFest2019.java b/Mage.Sets/src/mage/sets/MagicFest2019.java new file mode 100644 index 0000000000..fd2552c3be --- /dev/null +++ b/Mage.Sets/src/mage/sets/MagicFest2019.java @@ -0,0 +1,31 @@ +package mage.sets; + +import mage.cards.ExpansionSet; +import mage.constants.Rarity; +import mage.constants.SetType; + +/** + * @author JayDi85 + */ +public final class MagicFest2019 extends ExpansionSet { + + private static final MagicFest2019 instance = new MagicFest2019(); + + public static MagicFest2019 getInstance() { + return instance; + } + + private MagicFest2019() { + super("MagicFest 2019", "PF19", ExpansionSet.buildDate(2019, 1, 1), SetType.PROMOTIONAL); + this.hasBoosters = false; + this.hasBasicLands = true; + + cards.add(new SetCardInfo("Forest", 6, Rarity.LAND, mage.cards.basiclands.Forest.class)); + cards.add(new SetCardInfo("Island", 3, Rarity.LAND, mage.cards.basiclands.Island.class)); + cards.add(new SetCardInfo("Lightning Bolt", 1, Rarity.RARE, mage.cards.l.LightningBolt.class)); + cards.add(new SetCardInfo("Mountain", 5, Rarity.LAND, mage.cards.basiclands.Mountain.class)); + cards.add(new SetCardInfo("Plains", 2, Rarity.LAND, mage.cards.basiclands.Plains.class)); + cards.add(new SetCardInfo("Sol Ring", 7, Rarity.RARE, mage.cards.s.SolRing.class)); + cards.add(new SetCardInfo("Swamp", 4, Rarity.LAND, mage.cards.basiclands.Swamp.class)); + } +}