Skip to content

Commit

Permalink
Fix Oliphaunt to be creatures you control.
Browse files Browse the repository at this point in the history
  • Loading branch information
Grath authored Aug 9, 2023
1 parent 722627b commit c826c11
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Mage.Sets/src/mage/cards/o/Oliphaunt.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
*/
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}");

Expand All @@ -37,7 +44,7 @@ public Oliphaunt(UUID ownerId, CardSetInfo setInfo) {
.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}
Expand Down

0 comments on commit c826c11

Please sign in to comment.