forked from External/mage
Fix #6942
This commit is contained in:
parent
dbd09db223
commit
9355c8ace3
1 changed files with 2 additions and 2 deletions
|
|
@ -43,11 +43,11 @@ public class PayVariableLifeCost extends VariableCostImpl {
|
|||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (controller != null) {
|
||||
// Paying 0 life is not considered paying any life, so paying 0 is still allowed
|
||||
if (game.getPlayer(source.getControllerId()).canPayLifeCost(source)) {
|
||||
if (controller.canPayLifeCost(source)) {
|
||||
maxValue = controller.getLife();
|
||||
}
|
||||
}
|
||||
return maxValue;
|
||||
return Math.max(0, maxValue);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue