- Added all of the required checks into canPlayLand() so they can't be played illegally through alternate effects.

This commit is contained in:
jendave
2011-08-06 05:19:12 +00:00
parent 86d2743415
commit 4aa31e30d5
3 changed files with 11 additions and 7 deletions

View File

@@ -2738,8 +2738,7 @@ public class CardFactory_Creatures {
if(card.getController() == Constant.Player.Human) canPlayLand = CardFactoryUtil.canHumanPlayLand();
else canPlayLand = CardFactoryUtil.canComputerPlayLand();
return (AllZone.GameAction.isCardInZone(card, play) && library.get(0).getType().contains("Land") && canPlayLand)
&& (AllZone.Stack.size() == 0) && AllZone.GameAction.getLastPlayerToDraw().equals(card.getController());
return (AllZone.GameAction.isCardInZone(card, play) && library.get(0).getType().contains("Land") && canPlayLand);
}
};
ability.setStackDescription(card.getController() + " - plays land from top of library.");