diff --git a/Mage.Sets/src/mage/cards/o/Oliphaunt.java b/Mage.Sets/src/mage/cards/o/Oliphaunt.java index 908973b1f04..e56ad330897 100644 --- a/Mage.Sets/src/mage/cards/o/Oliphaunt.java +++ b/Mage.Sets/src/mage/cards/o/Oliphaunt.java @@ -22,6 +22,13 @@ import java.util.UUID; */ public final class Oliphaunt extends CardImpl { + private static final FilterPermanent filter + = new FilterControlledCreaturePermanent("another target creature you control"); + + static { + filter.add(AnotherPredicate.instance); + } + public Oliphaunt(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{R}"); @@ -37,7 +44,7 @@ public final class Oliphaunt extends CardImpl { .setText("another target creature you control gets +2/+0")); ability.addEffect(new GainAbilityTargetEffect(TrampleAbility.getInstance()) .setText("and gains trample until end of turn")); - ability.addTarget(new TargetPermanent(StaticFilters.FILTER_ANOTHER_TARGET_CREATURE)); + ability.addTarget(new TargetPermanent(filter)); this.addAbility(ability); // Mountaincycling {1}