diff --git a/Mage.Sets/src/mage/cards/t/ThoughtErasure.java b/Mage.Sets/src/mage/cards/t/ThoughtErasure.java new file mode 100644 index 0000000000..4bbe88d5db --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/ThoughtErasure.java @@ -0,0 +1,43 @@ +package mage.cards.t; + +import java.util.UUID; +import mage.abilities.effects.common.discard.DiscardCardYouChooseTargetEffect; +import mage.abilities.effects.keyword.SurveilEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.TargetController; +import mage.filter.FilterCard; +import mage.filter.common.FilterNonlandCard; +import mage.target.common.TargetOpponent; + +/** + * + * @author TheElk801 + */ +public final class ThoughtErasure extends CardImpl { + + private static final FilterCard filter = new FilterNonlandCard(); + + public ThoughtErasure(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{U}{B}"); + + // Target opponent reveals their hand. You choose a nonland card from it. That player discards that card. + this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect( + filter, TargetController.ANY + )); + this.getSpellAbility().addTarget(new TargetOpponent()); + + // Surveil 1. + this.getSpellAbility().addEffect(new SurveilEffect(1)); + } + + public ThoughtErasure(final ThoughtErasure card) { + super(card); + } + + @Override + public ThoughtErasure copy() { + return new ThoughtErasure(this); + } +} diff --git a/Mage.Sets/src/mage/sets/GuildsOfRavnica.java b/Mage.Sets/src/mage/sets/GuildsOfRavnica.java index 836ea3a20d..b922c051af 100644 --- a/Mage.Sets/src/mage/sets/GuildsOfRavnica.java +++ b/Mage.Sets/src/mage/sets/GuildsOfRavnica.java @@ -31,6 +31,7 @@ public final class GuildsOfRavnica extends ExpansionSet { cards.add(new SetCardInfo("Sinister Sabotage", 54, Rarity.UNCOMMON, mage.cards.s.SinisterSabotage.class)); cards.add(new SetCardInfo("Steam Vents", 257, Rarity.RARE, mage.cards.s.SteamVents.class)); cards.add(new SetCardInfo("Temple Garden", 258, Rarity.RARE, mage.cards.t.TempleGarden.class)); + cards.add(new SetCardInfo("Thought Erasure", 206, Rarity.UNCOMMON, mage.cards.t.ThoughtErasure.class)); cards.add(new SetCardInfo("Watery Grave", 259, Rarity.RARE, mage.cards.w.WateryGrave.class)); } }