forked from External/mage
New ConditionalMana support.
This commit is contained in:
parent
67a6c9dcf5
commit
ed3f96c668
58 changed files with 612 additions and 145 deletions
|
|
@ -30,6 +30,7 @@ package mage.abilities.costs.common;
|
|||
|
||||
import java.util.UUID;
|
||||
import mage.Constants.Outcome;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.costs.CostImpl;
|
||||
import mage.abilities.costs.VariableCost;
|
||||
import mage.game.Game;
|
||||
|
|
@ -62,7 +63,7 @@ public class TapVariableTargetCost extends CostImpl<TapVariableTargetCost> imple
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean pay(Game game, UUID sourceId, UUID controllerId, boolean noMana) {
|
||||
public boolean pay(Ability ability, Game game, UUID sourceId, UUID controllerId, boolean noMana) {
|
||||
amountPaid = 0;
|
||||
while (true) {
|
||||
target.clearChosen();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue