From 0eeada32649992031e0045a3f7ebd6810111f17d Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Fri, 23 Mar 2018 11:10:52 +0400 Subject: [PATCH] [DOM] Fixed not working Fall into Oblivion --- Mage.Sets/src/mage/cards/f/FallIntoOblivion.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/cards/f/FallIntoOblivion.java b/Mage.Sets/src/mage/cards/f/FallIntoOblivion.java index 212ec99ebb6..da5d99dc357 100644 --- a/Mage.Sets/src/mage/cards/f/FallIntoOblivion.java +++ b/Mage.Sets/src/mage/cards/f/FallIntoOblivion.java @@ -15,7 +15,6 @@ import java.util.UUID; public class FallIntoOblivion extends CardImpl { private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("nonlegendary creature"); - static { filter.add(Predicates.not(new SupertypePredicate(SuperType.LEGENDARY))); } @@ -23,9 +22,9 @@ public class FallIntoOblivion extends CardImpl { public FallIntoOblivion(UUID ownerId, CardSetInfo cardSetInfo){ super(ownerId, cardSetInfo, new CardType[] { CardType.INSTANT }, "{1}{B}"); - //destroy target non legendary creature - spellAbility.addEffect(new DestroyTargetEffect()); - spellAbility.addTarget(new TargetCreaturePermanent(filter)); + // Destroy target nonlegendary creature. + this.getSpellAbility().addEffect(new DestroyTargetEffect()); + this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); } public FallIntoOblivion(final FallIntoOblivion fallIntoOblivion){ @@ -35,4 +34,4 @@ public class FallIntoOblivion extends CardImpl { public FallIntoOblivion copy(){ return new FallIntoOblivion(this); } -} +} \ No newline at end of file