forked from External/mage
replaced X cmc targeting adjustment
This commit is contained in:
parent
9b94b618cd
commit
7305fbac3a
8 changed files with 13 additions and 27 deletions
|
|
@ -361,16 +361,6 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
|
|||
switch (ability.getTargetAdjustment()) {
|
||||
case NONE:
|
||||
break;
|
||||
case X_CMC_EQUAL_PERM:
|
||||
// xValue = ability.getManaCostsToPay().getX();
|
||||
// oldTargetPermanent = (TargetPermanent) ability.getTargets().get(0);
|
||||
// minTargets = oldTargetPermanent.getMinNumberOfTargets();
|
||||
// maxTargets = oldTargetPermanent.getMaxNumberOfTargets();
|
||||
// permanentFilter = oldTargetPermanent.getFilter().copy();
|
||||
// permanentFilter.add(new ConvertedManaCostPredicate(ComparisonType.EQUAL_TO, xValue));
|
||||
// ability.getTargets().clear();
|
||||
// ability.getTargets().add(new TargetPermanent(minTargets, maxTargets, permanentFilter, false));
|
||||
break;
|
||||
case X_TARGETS:
|
||||
xValue = ability.getManaCostsToPay().getX();
|
||||
permanentFilter = ((TargetPermanent) ability.getTargets().get(0)).getFilter();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue