From 0311ca8c6e1c27bd528567e5f1b8db3ea53a7e4a Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 12 Jan 2019 17:18:31 -0500 Subject: [PATCH] fixed Mass Manipulation targeting issues --- Mage.Sets/src/mage/cards/m/MassManipulation.java | 2 +- .../java/mage/target/common/TargetCreatureOrPlaneswalker.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/m/MassManipulation.java b/Mage.Sets/src/mage/cards/m/MassManipulation.java index c60e54e428..61104d45bb 100644 --- a/Mage.Sets/src/mage/cards/m/MassManipulation.java +++ b/Mage.Sets/src/mage/cards/m/MassManipulation.java @@ -45,6 +45,6 @@ enum MassManipulationAdjuster implements TargetAdjuster { @Override public void adjustTargets(Ability ability, Game game) { ability.getTargets().clear(); - ability.addTarget(new TargetCreatureOrPlaneswalker(ability.getManaCosts().getX())); + ability.addTarget(new TargetCreatureOrPlaneswalker(ability.getManaCostsToPay().getX())); } } diff --git a/Mage/src/main/java/mage/target/common/TargetCreatureOrPlaneswalker.java b/Mage/src/main/java/mage/target/common/TargetCreatureOrPlaneswalker.java index 041cc8081d..f9c867c1e3 100644 --- a/Mage/src/main/java/mage/target/common/TargetCreatureOrPlaneswalker.java +++ b/Mage/src/main/java/mage/target/common/TargetCreatureOrPlaneswalker.java @@ -23,7 +23,7 @@ public class TargetCreatureOrPlaneswalker extends TargetPermanent { } public TargetCreatureOrPlaneswalker(int minNumTargets, int maxNumTargets) { - this(1, 1, new FilterCreatureOrPlaneswalkerPermanent(), false); + this(minNumTargets, maxNumTargets, new FilterCreatureOrPlaneswalkerPermanent(), false); } public TargetCreatureOrPlaneswalker(int minNumTargets, int maxNumTargets, FilterCreatureOrPlaneswalkerPermanent filter, boolean notTarget) {