diff --git a/Mage.Sets/src/mage/cards/a/AuntiesSentence.java b/Mage.Sets/src/mage/cards/a/AuntiesSentence.java new file mode 100644 index 00000000000..975d8bef220 --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/AuntiesSentence.java @@ -0,0 +1,51 @@ +package mage.cards.a; + +import java.util.UUID; + +import mage.abilities.Mode; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.abilities.effects.common.discard.DiscardCardYouChooseTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.filter.FilterCard; +import mage.filter.common.FilterPermanentCard; +import mage.filter.predicate.Predicates; +import mage.target.common.TargetCreaturePermanent; +import mage.target.common.TargetOpponent; + +/** + * + * @author muz + */ +public final class AuntiesSentence extends CardImpl { + + private static final FilterCard filter = new FilterPermanentCard("a nonland permanent card"); + + static { + filter.add(Predicates.not(CardType.LAND.getPredicate())); + } + + public AuntiesSentence(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{B}"); + + // Choose one -- + // * Target opponent reveals their hand. You choose a nonland permanent card from it. That player discards that card. + this.getSpellAbility().addTarget(new TargetOpponent()); + this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(filter)); + + // * Target creature gets -2/-2 until end of turn. + Mode mode = new Mode(new BoostTargetEffect(-2, -2)); + mode.addTarget(new TargetCreaturePermanent()); + this.getSpellAbility().addMode(mode); + } + + private AuntiesSentence(final AuntiesSentence card) { + super(card); + } + + @Override + public AuntiesSentence copy() { + return new AuntiesSentence(this); + } +} diff --git a/Mage.Sets/src/mage/sets/LorwynEclipsed.java b/Mage.Sets/src/mage/sets/LorwynEclipsed.java index bd2d330172b..8d5ab6ad16d 100644 --- a/Mage.Sets/src/mage/sets/LorwynEclipsed.java +++ b/Mage.Sets/src/mage/sets/LorwynEclipsed.java @@ -31,6 +31,7 @@ public final class LorwynEclipsed extends ExpansionSet { cards.add(new SetCardInfo("Ashling, Rekindled", 124, Rarity.RARE, mage.cards.a.AshlingRekindled.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Ashling, Rekindled", 290, Rarity.RARE, mage.cards.a.AshlingRekindled.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Assert Perfection", 164, Rarity.COMMON, mage.cards.a.AssertPerfection.class)); + cards.add(new SetCardInfo("Auntie's Sentence", 85, Rarity.COMMON, mage.cards.a.AuntiesSentence.class)); cards.add(new SetCardInfo("Aurora Awakener", 165, Rarity.MYTHIC, mage.cards.a.AuroraAwakener.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Aurora Awakener", 323, Rarity.MYTHIC, mage.cards.a.AuroraAwakener.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Barbed Bloodletter", 86, Rarity.COMMON, mage.cards.b.BarbedBloodletter.class));