From e3b824f888e2a56db0f72e1bd4f83e49e3ca7c41 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 1 Sep 2020 20:35:59 -0400 Subject: [PATCH] [ZNR] Implemented Farsight Adept --- Mage.Sets/src/mage/cards/f/FarsightAdept.java | 46 +++++++++++++++++++ Mage.Sets/src/mage/sets/ZendikarRising.java | 1 + 2 files changed, 47 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/f/FarsightAdept.java diff --git a/Mage.Sets/src/mage/cards/f/FarsightAdept.java b/Mage.Sets/src/mage/cards/f/FarsightAdept.java new file mode 100644 index 0000000000..aa0998f78b --- /dev/null +++ b/Mage.Sets/src/mage/cards/f/FarsightAdept.java @@ -0,0 +1,46 @@ +package mage.cards.f; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.DrawCardTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.common.TargetOpponent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class FarsightAdept extends CardImpl { + + public FarsightAdept(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}"); + + this.subtype.add(SubType.KOR); + this.subtype.add(SubType.WIZARD); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // When Farsight Adept enters the battlefield, you and target opponent each draw a card. + Ability ability = new EntersBattlefieldTriggeredAbility( + new DrawCardSourceControllerEffect(1).setText("you and") + ); + ability.addEffect(new DrawCardTargetEffect(1).setText("target opponent each draw a card")); + ability.addTarget(new TargetOpponent()); + this.addAbility(ability); + } + + private FarsightAdept(final FarsightAdept card) { + super(card); + } + + @Override + public FarsightAdept copy() { + return new FarsightAdept(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ZendikarRising.java b/Mage.Sets/src/mage/sets/ZendikarRising.java index 6532cd9ec3..0bfa57db0a 100644 --- a/Mage.Sets/src/mage/sets/ZendikarRising.java +++ b/Mage.Sets/src/mage/sets/ZendikarRising.java @@ -29,6 +29,7 @@ public final class ZendikarRising extends ExpansionSet { cards.add(new SetCardInfo("Bloodchief's Thirst", 94, Rarity.UNCOMMON, mage.cards.b.BloodchiefsThirst.class)); cards.add(new SetCardInfo("Cliffhaven Sell-Sword", 8, Rarity.COMMON, mage.cards.c.CliffhavenSellSword.class)); + cards.add(new SetCardInfo("Farsight Adept", 14, Rarity.COMMON, mage.cards.f.FarsightAdept.class)); cards.add(new SetCardInfo("Forest", 278, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS)); cards.add(new SetCardInfo("Gnarlid Colony", 185, Rarity.COMMON, mage.cards.g.GnarlidColony.class)); cards.add(new SetCardInfo("Island", 269, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));