mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 04:09:54 -08:00
New ConditionalMana support.
This commit is contained in:
parent
67a6c9dcf5
commit
ed3f96c668
58 changed files with 612 additions and 145 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue