From 7224ab1614f25175819f7d098fd38970da8fcdca Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 21 Sep 2015 16:32:57 +0200 Subject: [PATCH] * Hull Breach - Fixed that the first target of the third mode was not destroyed. --- Mage.Sets/src/mage/sets/commander2013/HullBreach.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/sets/commander2013/HullBreach.java b/Mage.Sets/src/mage/sets/commander2013/HullBreach.java index d6a51a6574..0ab48a04ed 100644 --- a/Mage.Sets/src/mage/sets/commander2013/HullBreach.java +++ b/Mage.Sets/src/mage/sets/commander2013/HullBreach.java @@ -38,7 +38,7 @@ import mage.filter.common.FilterEnchantmentPermanent; import mage.target.Target; import mage.target.TargetPermanent; import mage.target.common.TargetArtifactPermanent; -import mage.target.targetpointer.SecondTargetPointer; +import mage.target.common.TargetEnchantmentPermanent; /** * @@ -62,12 +62,11 @@ public class HullBreach extends CardImpl { this.getSpellAbility().addMode(mode); // or destroy target artifact and target enchantment. mode = new Mode(); - Effect effect = new DestroyTargetEffect(); - effect.setTargetPointer(new SecondTargetPointer()); + Effect effect = new DestroyTargetEffect(false, true); effect.setText("destroy target artifact and target enchantment"); mode.getEffects().add(effect); mode.getTargets().add(new TargetArtifactPermanent()); - mode.getTargets().add(new TargetPermanent(new FilterEnchantmentPermanent())); + mode.getTargets().add(new TargetEnchantmentPermanent()); this.getSpellAbility().addMode(mode); }