diff --git a/Mage.Sets/src/mage/sets/gatecrash/LuminatePrimordial.java b/Mage.Sets/src/mage/sets/gatecrash/LuminatePrimordial.java index 3fa3ec9e86..645e5adfef 100644 --- a/Mage.Sets/src/mage/sets/gatecrash/LuminatePrimordial.java +++ b/Mage.Sets/src/mage/sets/gatecrash/LuminatePrimordial.java @@ -71,10 +71,10 @@ public class LuminatePrimordial extends CardImpl { @Override public void adjustTargets(Ability ability, Game game) { if (ability instanceof EntersBattlefieldTriggeredAbility) { + ability.getTargets().clear(); for(UUID opponentId : game.getOpponents(ability.getControllerId())) { Player opponent = game.getPlayer(opponentId); if (opponent != null) { - ability.getTargets().clear(); FilterCreaturePermanent filter = new FilterCreaturePermanent(new StringBuilder("creature from opponent ").append(opponent.getName()).toString()); filter.add(new ControllerIdPredicate(opponentId)); TargetCreaturePermanent target = new TargetCreaturePermanent(0,1, filter,false); diff --git a/Mage.Sets/src/mage/sets/gatecrash/MoltenPrimordial.java b/Mage.Sets/src/mage/sets/gatecrash/MoltenPrimordial.java index 95cfbaef0a..e3f85068bf 100644 --- a/Mage.Sets/src/mage/sets/gatecrash/MoltenPrimordial.java +++ b/Mage.Sets/src/mage/sets/gatecrash/MoltenPrimordial.java @@ -76,10 +76,10 @@ public class MoltenPrimordial extends CardImpl { @Override public void adjustTargets(Ability ability, Game game) { if (ability instanceof EntersBattlefieldTriggeredAbility) { + ability.getTargets().clear(); for(UUID opponentId : game.getOpponents(ability.getControllerId())) { Player opponent = game.getPlayer(opponentId); if (opponent != null) { - ability.getTargets().clear(); FilterCreaturePermanent filter = new FilterCreaturePermanent(new StringBuilder("creature from opponent ").append(opponent.getName()).toString()); filter.add(new ControllerIdPredicate(opponentId)); TargetCreaturePermanent target = new TargetCreaturePermanent(0,1, filter,false); diff --git a/Mage.Sets/src/mage/sets/gatecrash/SepulchralPrimordial.java b/Mage.Sets/src/mage/sets/gatecrash/SepulchralPrimordial.java index 2fb7e031ee..b84365351f 100644 --- a/Mage.Sets/src/mage/sets/gatecrash/SepulchralPrimordial.java +++ b/Mage.Sets/src/mage/sets/gatecrash/SepulchralPrimordial.java @@ -73,10 +73,10 @@ public class SepulchralPrimordial extends CardImpl { @Override public void adjustTargets(Ability ability, Game game) { if (ability instanceof EntersBattlefieldTriggeredAbility) { + ability.getTargets().clear(); for(UUID opponentId : game.getOpponents(ability.getControllerId())) { Player opponent = game.getPlayer(opponentId); if (opponent != null) { - ability.getTargets().clear(); FilterCard filter = new FilterCreatureCard(new StringBuilder("creature card from ").append(opponent.getName()).append("'s graveyard").toString()); filter.add(new OwnerIdPredicate(opponentId)); TargetCardInOpponentsGraveyard target = new TargetCardInOpponentsGraveyard(0,1, filter); diff --git a/Mage.Sets/src/mage/sets/gatecrash/SylvanPrimordial.java b/Mage.Sets/src/mage/sets/gatecrash/SylvanPrimordial.java index a6092d28ec..5e00d6e6b7 100644 --- a/Mage.Sets/src/mage/sets/gatecrash/SylvanPrimordial.java +++ b/Mage.Sets/src/mage/sets/gatecrash/SylvanPrimordial.java @@ -76,10 +76,10 @@ public class SylvanPrimordial extends CardImpl { @Override public void adjustTargets(Ability ability, Game game) { if (ability instanceof EntersBattlefieldTriggeredAbility) { + ability.getTargets().clear(); for(UUID opponentId : game.getOpponents(ability.getControllerId())) { Player opponent = game.getPlayer(opponentId); if (opponent != null) { - ability.getTargets().clear(); FilterPermanent filter = new FilterPermanent(new StringBuilder("noncreature permanent from opponent ").append(opponent.getName()).toString()); filter.add(new ControllerIdPredicate(opponentId)); filter.add(Predicates.not(new CardTypePredicate(CardType.CREATURE)));