mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
restrict Mirror Universe ability to controller's upkeep.
This commit is contained in:
@@ -11242,14 +11242,12 @@ public class CardFactory implements NewConstants {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canPlay() {
|
public boolean canPlay() {
|
||||||
//TODO: This should be limited to Upkeep when we have a phase for that
|
return super.canPlay() && AllZone.Phase.getPhase().equals(Constant.Phase.Upkeep)
|
||||||
return super.canPlay() && AllZone.Phase.getPhase().equals(Constant.Phase.Main1);
|
&& AllZone.Phase.getPlayerTurn().equals(card.getController());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canPlayAI() {
|
public boolean canPlayAI() {
|
||||||
//PlayerLife compy = AllZone.GameAction.getPlayerLife(AllZone.ComputerPlayer);
|
|
||||||
//PlayerLife human = AllZone.GameAction.getPlayerLife(AllZone.HumanPlayer);
|
|
||||||
if(AllZone.ComputerPlayer.getLife() < 5 && AllZone.HumanPlayer.getLife() > 5) {
|
if(AllZone.ComputerPlayer.getLife() < 5 && AllZone.HumanPlayer.getLife() > 5) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user