Fixed phyrexian mana can't be paid when player has 2 life.

This commit is contained in:
magenoxx 2011-12-30 17:04:23 +04:00
parent 4be5ae4fd0
commit 259fce0182

View file

@ -28,13 +28,13 @@
package mage.abilities.costs.mana; package mage.abilities.costs.mana;
import java.util.UUID;
import mage.Constants.ColoredManaSymbol; import mage.Constants.ColoredManaSymbol;
import mage.abilities.Ability; import mage.abilities.Ability;
import mage.game.Game; import mage.game.Game;
import mage.players.ManaPool; import mage.players.ManaPool;
import java.util.UUID;
/** /**
* *
* @author nantuko * @author nantuko
@ -70,7 +70,7 @@ public class PhyrexianManaCost extends ColoredManaCost {
if (!game.getPlayer(controllerId).isLifeTotalCanChange()) { if (!game.getPlayer(controllerId).isLifeTotalCanChange()) {
return false; return false;
} }
return game.getPlayer(controllerId).getLife() > 2; return game.getPlayer(controllerId).getLife() >= 2;
} }
@Override @Override