From ba0d66c18bb912e0cc95ea579268ad59898295a1 Mon Sep 17 00:00:00 2001 From: Thomas Hess Date: Tue, 4 Feb 2020 13:41:21 +0100 Subject: [PATCH] Add the Vintage Championship (OVNT) promotional set. --- .../java/mage/client/cards/DragCardGrid.java | 1 + .../dl/sources/ScryfallImageSupportCards.java | 1 + .../src/mage/sets/VintageChampionship.java | 46 +++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/VintageChampionship.java diff --git a/Mage.Client/src/main/java/mage/client/cards/DragCardGrid.java b/Mage.Client/src/main/java/mage/client/cards/DragCardGrid.java index f40709917c..33f6dc6721 100644 --- a/Mage.Client/src/main/java/mage/client/cards/DragCardGrid.java +++ b/Mage.Client/src/main/java/mage/client/cards/DragCardGrid.java @@ -1579,6 +1579,7 @@ public class DragCardGrid extends JPanel implements DragCardSource, DragCardTarg pimpedSets.put("P10", 1); pimpedSets.put("P11", 1); + pimpedSets.put("OVNT", 1); // Vintage Championship pimpedSets.put("MGDC", 1); pimpedSets.put("EXP", 1); pimpedSets.put("GPX", 1); 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 66139e93c2..599315262f 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 @@ -102,6 +102,7 @@ public class ScryfallImageSupportCards { add("PDRC"); add("PHPR"); add("PLGM"); + add("OVNT"); // Vintage Championship add("MGB"); add("ULG"); diff --git a/Mage.Sets/src/mage/sets/VintageChampionship.java b/Mage.Sets/src/mage/sets/VintageChampionship.java new file mode 100644 index 0000000000..bc54680a6b --- /dev/null +++ b/Mage.Sets/src/mage/sets/VintageChampionship.java @@ -0,0 +1,46 @@ +package mage.sets; + +import mage.cards.ExpansionSet; +import mage.constants.Rarity; +import mage.constants.SetType; + +/** + * https://scryfall.com/sets/ovnt + */ +public class VintageChampionship extends ExpansionSet { + + private static final VintageChampionship instance = new VintageChampionship(); + + public static VintageChampionship getInstance() { + return instance; + } + + private VintageChampionship() { + super("Vintage Championship", "OVNT", ExpansionSet.buildDate(2019, 11, 3), SetType.PROMOTIONAL); + this.hasBoosters = false; + this.hasBasicLands = false; + + cards.add(new SetCardInfo("Ancestral Recall", 2005, Rarity.RARE, mage.cards.a.AncestralRecall.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Ancestral Recall", 2013, Rarity.RARE, mage.cards.a.AncestralRecall.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Ancestral Recall", 2018, Rarity.MYTHIC, mage.cards.a.AncestralRecall.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Black Lotus", 2003, Rarity.RARE, mage.cards.b.BlackLotus.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Black Lotus", "2017NA", Rarity.MYTHIC, mage.cards.b.BlackLotus.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Mox Emerald", 2009, Rarity.RARE, mage.cards.m.MoxEmerald.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Mox Emerald", 2015, Rarity.MYTHIC, mage.cards.m.MoxEmerald.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Mox Jet", 2007, Rarity.RARE, mage.cards.m.MoxJet.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Mox Jet", "2016EU", Rarity.MYTHIC, mage.cards.m.MoxJet.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Mox Jet", "2019NA", Rarity.MYTHIC, mage.cards.m.MoxJet.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Mox Pearl", 2006, Rarity.RARE, mage.cards.m.MoxPearl.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Mox Pearl", 2014, Rarity.MYTHIC, mage.cards.m.MoxPearl.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Mox Ruby", 2008, Rarity.RARE, mage.cards.m.MoxRuby.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Mox Ruby", "2017EU", Rarity.MYTHIC, mage.cards.m.MoxRuby.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Mox Sapphire", 2010, Rarity.RARE, mage.cards.m.MoxSapphire.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Mox Sapphire", "2016NA", Rarity.MYTHIC, mage.cards.m.MoxSapphire.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Mox Sapphire", "2019A", Rarity.MYTHIC, mage.cards.m.MoxSapphire.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Time Walk", 2011, Rarity.RARE, mage.cards.t.TimeWalk.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Time Walk", "2018NA", Rarity.MYTHIC, mage.cards.t.TimeWalk.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Timetwister", 2004, Rarity.RARE, mage.cards.t.Timetwister.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Timetwister", 2012, Rarity.RARE, mage.cards.t.Timetwister.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Timetwister", "2018A", Rarity.MYTHIC, mage.cards.t.Timetwister.class, NON_FULL_USE_VARIOUS)); + } +}