mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[MKM] Implement Undergrowth Recon
This commit is contained in:
parent
a39668512e
commit
daca749e2d
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/u/UndergrowthRecon.java
Normal file
42
Mage.Sets/src/mage/cards/u/UndergrowthRecon.java
Normal file
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue