forked from External/mage
Remove superfluous addManaCost method (#11288)
* no need to specify mana cost, just add cost * handle all mana costs through addcost method only * eliminate another constructor * more constructor cleanup
This commit is contained in:
parent
4e2a5bd5a9
commit
d7afa37893
53 changed files with 153 additions and 338 deletions
|
|
@ -132,7 +132,7 @@ public class SuspendAbility extends SpecialAction {
|
|||
if (suspend == Integer.MAX_VALUE) {
|
||||
VariableManaCost xCosts = new VariableManaCost(VariableCostType.ALTERNATIVE);
|
||||
xCosts.setMinX(1);
|
||||
this.addManaCost(xCosts);
|
||||
this.addCost(xCosts);
|
||||
cost = new ManaCostsImpl<>("{X}" + cost.getText());
|
||||
}
|
||||
StringBuilder sb = new StringBuilder("Suspend ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue