ETB zone fixed

This commit is contained in:
Maxmtg
2011-09-20 00:26:07 +00:00
parent dd25a45362
commit 9917121e0c
2 changed files with 3 additions and 4 deletions

View File

@@ -1559,9 +1559,7 @@ public class GameAction {
if (c.isLand() && human.canPlayLand()) {
PlayerZone zone = AllZone.getZoneOf(c);
if (zone.is(Constant.Zone.Hand)
|| (!zone.is(Constant.Zone.Battlefield)) && c.hasKeyword("May be played"))
{
if (zone.is(Zone.Hand) || (!zone.is(Zone.Battlefield)) && c.hasKeyword("May be played")) {
choices.add("Play land");
}
}

View File

@@ -67,7 +67,8 @@ public abstract class Player extends GameEntity {
*/
public Player(String myName, int myLife, int myPoisonCounters) {
for (Zone z : ALL_ZONES) {
zones.put(z, new DefaultPlayerZone(z, this));
PlayerZone toPut = z == Zone.Battlefield ? new PlayerZone_ComesIntoPlay(z, this) : new DefaultPlayerZone(z, this);
zones.put(z, toPut);
}
reset();