mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fixed Mass Manipulation targeting issues
This commit is contained in:
parent
36852c0bd5
commit
0311ca8c6e
2 changed files with 2 additions and 2 deletions
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue