This commit is contained in:
Alex W. Jackson 2022-09-27 15:31:24 -04:00
parent dbd09db223
commit 9355c8ace3

View file

@ -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);
}
}