From 2e157723858354d828b4bbddec744e45876d7f68 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Wed, 22 May 2013 19:07:18 +0200 Subject: [PATCH] Fixed a bug of Lodestone Myr targeting allowing only to target creature artifacts instead of all controlled artifacts. --- Mage.Sets/src/mage/sets/planechase/LodestoneMyr.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/sets/planechase/LodestoneMyr.java b/Mage.Sets/src/mage/sets/planechase/LodestoneMyr.java index c963da8947..2de5d03c1c 100644 --- a/Mage.Sets/src/mage/sets/planechase/LodestoneMyr.java +++ b/Mage.Sets/src/mage/sets/planechase/LodestoneMyr.java @@ -29,16 +29,17 @@ package mage.sets.planechase; import java.util.UUID; -import mage.Constants; import mage.Constants.CardType; +import mage.Constants.Duration; import mage.Constants.Rarity; +import mage.Constants.Zone; import mage.MageInt; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.common.TapTargetCost; import mage.abilities.effects.common.continious.BoostSourceEffect; import mage.abilities.keyword.TrampleAbility; import mage.cards.CardImpl; -import mage.filter.common.FilterControlledCreaturePermanent; +import mage.filter.common.FilterControlledArtifactPermanent; import mage.filter.predicate.Predicates; import mage.filter.predicate.mageobject.CardTypePredicate; import mage.filter.predicate.permanent.TappedPredicate; @@ -49,11 +50,10 @@ import mage.target.common.TargetControlledPermanent; */ public class LodestoneMyr extends CardImpl { - private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("untapped artifact you control"); + private static final FilterControlledArtifactPermanent filter = new FilterControlledArtifactPermanent("untapped artifact you control"); static { filter.add(Predicates.not(new TappedPredicate())); - filter.add(new CardTypePredicate(CardType.ARTIFACT)); } public LodestoneMyr(UUID ownerId) { @@ -63,7 +63,7 @@ public class LodestoneMyr extends CardImpl { this.power = new MageInt(2); this.toughness = new MageInt(2); this.addAbility(TrampleAbility.getInstance()); - this.addAbility(new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new BoostSourceEffect(1, 1, Constants.Duration.EndOfTurn), new TapTargetCost(new TargetControlledPermanent(filter)))); + this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 1, Duration.EndOfTurn), new TapTargetCost(new TargetControlledPermanent(filter)))); } public LodestoneMyr(final LodestoneMyr card) {