diff --git a/Mage.Sets/src/mage/cards/u/UndergrowthRecon.java b/Mage.Sets/src/mage/cards/u/UndergrowthRecon.java new file mode 100644 index 00000000000..0de666b691f --- /dev/null +++ b/Mage.Sets/src/mage/cards/u/UndergrowthRecon.java @@ -0,0 +1,42 @@ +package mage.cards.u; + +import mage.abilities.Ability; +import mage.abilities.common.BeginningOfUpkeepTriggeredAbility; +import mage.abilities.effects.common.ReturnFromGraveyardToBattlefieldTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.TargetController; +import mage.filter.FilterCard; +import mage.filter.common.FilterLandCard; +import mage.target.common.TargetCardInYourGraveyard; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class UndergrowthRecon extends CardImpl { + + private static final FilterCard filter = new FilterLandCard("land card from your graveyard"); + + public UndergrowthRecon(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{G}{G}"); + + // At the beginning of your upkeep, return target land card from your graveyard to the battlefield tapped. + Ability ability = new BeginningOfUpkeepTriggeredAbility( + new ReturnFromGraveyardToBattlefieldTargetEffect(true), TargetController.YOU, false + ); + ability.addTarget(new TargetCardInYourGraveyard(filter)); + this.addAbility(ability); + } + + private UndergrowthRecon(final UndergrowthRecon card) { + super(card); + } + + @Override + public UndergrowthRecon copy() { + return new UndergrowthRecon(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MurdersAtKarlovManor.java b/Mage.Sets/src/mage/sets/MurdersAtKarlovManor.java index 893b9b7f2b6..bc9c45ca3c3 100644 --- a/Mage.Sets/src/mage/sets/MurdersAtKarlovManor.java +++ b/Mage.Sets/src/mage/sets/MurdersAtKarlovManor.java @@ -114,6 +114,7 @@ public final class MurdersAtKarlovManor extends ExpansionSet { cards.add(new SetCardInfo("Undercity Sewers", 270, Rarity.RARE, mage.cards.u.UndercitySewers.class)); cards.add(new SetCardInfo("Undercover Crocodelf", 239, Rarity.COMMON, mage.cards.u.UndercoverCrocodelf.class)); cards.add(new SetCardInfo("Underground Mortuary", 271, Rarity.RARE, mage.cards.u.UndergroundMortuary.class)); + cards.add(new SetCardInfo("Undergrowth Recon", 181, Rarity.MYTHIC, mage.cards.u.UndergrowthRecon.class)); cards.add(new SetCardInfo("Vein Ripper", 110, Rarity.MYTHIC, mage.cards.v.VeinRipper.class)); cards.add(new SetCardInfo("Voja, Jaws of the Conclave", 432, Rarity.MYTHIC, mage.cards.v.VojaJawsOfTheConclave.class)); cards.add(new SetCardInfo("Warleader's Call", 242, Rarity.RARE, mage.cards.w.WarleadersCall.class));