From 3b80b44fb9203a9e62d66a0209f3bdb4cf1964aa Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 6 Jun 2020 09:02:03 -0400 Subject: [PATCH] Implemented Llanowar Visionary --- .../src/mage/cards/l/LlanowarVisionary.java | 42 +++++++++++++++++++ Mage.Sets/src/mage/sets/CoreSet2021.java | 1 + 2 files changed, 43 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/l/LlanowarVisionary.java diff --git a/Mage.Sets/src/mage/cards/l/LlanowarVisionary.java b/Mage.Sets/src/mage/cards/l/LlanowarVisionary.java new file mode 100644 index 0000000000..d8bb237913 --- /dev/null +++ b/Mage.Sets/src/mage/cards/l/LlanowarVisionary.java @@ -0,0 +1,42 @@ +package mage.cards.l; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.mana.GreenManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class LlanowarVisionary extends CardImpl { + + public LlanowarVisionary(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}"); + + this.subtype.add(SubType.ELF); + this.subtype.add(SubType.DRUID); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + // When Llanowar Visionary enters the battlefield, draw a card. + this.addAbility(new EntersBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(1))); + + // {T}: Add {G}. + this.addAbility(new GreenManaAbility()); + } + + private LlanowarVisionary(final LlanowarVisionary card) { + super(card); + } + + @Override + public LlanowarVisionary copy() { + return new LlanowarVisionary(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CoreSet2021.java b/Mage.Sets/src/mage/sets/CoreSet2021.java index 8c6533363d..a843a3fb1a 100644 --- a/Mage.Sets/src/mage/sets/CoreSet2021.java +++ b/Mage.Sets/src/mage/sets/CoreSet2021.java @@ -41,6 +41,7 @@ public final class CoreSet2021 extends ExpansionSet { cards.add(new SetCardInfo("Grim Tutor", 103, Rarity.MYTHIC, mage.cards.g.GrimTutor.class)); cards.add(new SetCardInfo("Island", 310, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Jeskai Elder", 53, Rarity.UNCOMMON, mage.cards.j.JeskaiElder.class)); + cards.add(new SetCardInfo("Llanowar Visionary", 193, Rarity.COMMON, mage.cards.l.LlanowarVisionary.class)); cards.add(new SetCardInfo("Mangara, the Diplomat", 27, Rarity.MYTHIC, mage.cards.m.MangaraTheDiplomat.class)); cards.add(new SetCardInfo("Mystic Skyfish", 326, Rarity.COMMON, mage.cards.m.MysticSkyfish.class)); cards.add(new SetCardInfo("Quirion Dryad", 198, Rarity.UNCOMMON, mage.cards.q.QuirionDryad.class));