From 5ad8920407aa55be45a7228ed6e3b14dce00ad39 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 17 Mar 2013 08:43:43 +0100 Subject: [PATCH] Fixed a bug of Ethersworn Adjudicator targeting only controlles targets instead of targets of all players. --- .../src/mage/sets/conflux/EtherswornAdjudicator.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/conflux/EtherswornAdjudicator.java b/Mage.Sets/src/mage/sets/conflux/EtherswornAdjudicator.java index 14683ecf0f..679812a054 100644 --- a/Mage.Sets/src/mage/sets/conflux/EtherswornAdjudicator.java +++ b/Mage.Sets/src/mage/sets/conflux/EtherswornAdjudicator.java @@ -44,7 +44,8 @@ import mage.cards.CardImpl; import mage.filter.common.FilterControlledPermanent; import mage.filter.predicate.Predicates; import mage.filter.predicate.mageobject.CardTypePredicate; -import mage.target.common.TargetControlledPermanent; +import mage.target.Target; +import mage.target.TargetPermanent; /** * @@ -68,11 +69,17 @@ public class EtherswornAdjudicator extends CardImpl { this.color.setBlue(true); this.power = new MageInt(4); this.toughness = new MageInt(4); + + // Flying this.addAbility(FlyingAbility.getInstance()); + // {1}{W}{B}, {T}: Destroy target creature or enchantment. Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{W}{B}")); ability.addCost(new TapSourceCost()); - ability.addTarget(new TargetControlledPermanent(filter)); + Target target = new TargetPermanent(filter); + target.setRequired(true); + ability.addTarget(target); this.addAbility(ability); + // {2}{U}: Untap Ethersworn Adjudicator. this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new ManaCostsImpl("{2}{U}"))); }