diff --git a/Mage.Sets/src/mage/cards/s/SimicGuildmage.java b/Mage.Sets/src/mage/cards/s/SimicGuildmage.java index 78c9fa5c90..49a4a52627 100644 --- a/Mage.Sets/src/mage/cards/s/SimicGuildmage.java +++ b/Mage.Sets/src/mage/cards/s/SimicGuildmage.java @@ -30,7 +30,6 @@ package mage.cards.s; import java.util.UUID; import mage.MageInt; import mage.MageItem; -import mage.MageObject; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.mana.ManaCostsImpl; @@ -41,7 +40,7 @@ import mage.constants.CardType; import mage.constants.Outcome; import mage.constants.Zone; import mage.counters.CounterType; -import mage.filter.FilterPermanent; +import mage.filter.Filter; import mage.filter.common.FilterCreaturePermanent; import mage.filter.common.FilterEnchantmentPermanent; import mage.filter.predicate.ObjectSourcePlayer; @@ -64,15 +63,15 @@ import mage.target.common.TargetCreaturePermanent; * @author anonymous */ public class SimicGuildmage extends CardImpl { - - private static final FilterEnchantmentPermanent filter = new FilterEnchantmentPermanent("Aura"); + + private static final FilterEnchantmentPermanent auraFilter = new FilterEnchantmentPermanent("Aura"); static { - filter.add(new SubtypePredicate("Aura")); + auraFilter.add(new SubtypePredicate("Aura")); } public SimicGuildmage(UUID ownerId, CardSetInfo setInfo) { - super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{G/U}{G/U}"); + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{G/U}{G/U}"); this.subtype.add("Elf"); this.subtype.add("Wizard"); this.power = new MageInt(2); @@ -84,7 +83,7 @@ public class SimicGuildmage extends CardImpl { new FilterCreaturePermanent("creature (you take counter from)")); target.setTargetTag(1); countersAbility.addTarget(target); - + FilterCreaturePermanent filter = new FilterCreaturePermanent( "another target creature with the same controller (counter goes to)"); filter.add(new AnotherTargetPredicate(2)); @@ -93,12 +92,12 @@ public class SimicGuildmage extends CardImpl { target2.setTargetTag(2); countersAbility.addTarget(target2); this.addAbility(countersAbility); + // {1}{U}: Attach target Aura enchanting a permanent to another permanent with the same controller. Ability auraAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new MoveAuraEffect(), new ManaCostsImpl("{1}{U}")); - auraAbility.addTarget(new TargetPermanent(filter)); + auraAbility.addTarget(new TargetPermanent(auraFilter)); this.addAbility(auraAbility); - } public SimicGuildmage(final SimicGuildmage card) { @@ -155,7 +154,7 @@ class SameControllerPredicate implements ObjectSourcePlayerPredicate