mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
ETB zone fixed
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user