diff --git a/Mage.Sets/src/mage/cards/m/MemoryDrain.java b/Mage.Sets/src/mage/cards/m/MemoryDrain.java new file mode 100644 index 0000000000..661efa3b61 --- /dev/null +++ b/Mage.Sets/src/mage/cards/m/MemoryDrain.java @@ -0,0 +1,34 @@ +package mage.cards.m; + +import mage.abilities.effects.keyword.ScryEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.TargetSpell; + +import java.util.UUID; + +/** + * @author jmharmon + */ + +public final class MemoryDrain extends CardImpl { + + public MemoryDrain(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}{U}"); + + // Counter target spell. Scry 2. + this.getSpellAbility().addEffect(new CounterSourceEffect()); + this.getSpellAbility().addTarget(new TargetSpell()); + this.getSpellAbility().addEffect(new ScryEffect(2)); + } + + public MemoryDrain(final MemoryDrain card) { + super(card); + } + + @Override + public MemoryDrain copy() { + return new MemoryDrain(this); + } +}