New ConditionalMana support.

This commit is contained in:
magenoxx 2011-08-04 18:10:57 +04:00
parent 67a6c9dcf5
commit ed3f96c668
58 changed files with 612 additions and 145 deletions

View file

@ -76,6 +76,8 @@ import mage.target.common.TargetCreatureOrPlayer;
import mage.target.common.TargetCreaturePermanent;
import mage.target.common.TargetDefender;
import javax.xml.transform.Source;
/**
*
* @author BetaSteward_at_googlemail.com
@ -372,7 +374,7 @@ public class HumanPlayer extends PlayerImpl<HumanPlayer> {
if (cost instanceof PhyrexianManaCost) {
PhyrexianManaCost ph = (PhyrexianManaCost)cost;
if (ph.canPay(null, playerId, game)) {
((PhyrexianManaCost)cost).pay(game, null, playerId, false);
((PhyrexianManaCost)cost).pay(null, game, null, playerId, false);
}
break;
}