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()) {
|
if (c.isLand() && human.canPlayLand()) {
|
||||||
PlayerZone zone = AllZone.getZoneOf(c);
|
PlayerZone zone = AllZone.getZoneOf(c);
|
||||||
|
|
||||||
if (zone.is(Constant.Zone.Hand)
|
if (zone.is(Zone.Hand) || (!zone.is(Zone.Battlefield)) && c.hasKeyword("May be played")) {
|
||||||
|| (!zone.is(Constant.Zone.Battlefield)) && c.hasKeyword("May be played"))
|
|
||||||
{
|
|
||||||
choices.add("Play land");
|
choices.add("Play land");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,7 +67,8 @@ public abstract class Player extends GameEntity {
|
|||||||
*/
|
*/
|
||||||
public Player(String myName, int myLife, int myPoisonCounters) {
|
public Player(String myName, int myLife, int myPoisonCounters) {
|
||||||
for (Zone z : ALL_ZONES) {
|
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();
|
reset();
|
||||||
|
|||||||
Reference in New Issue
Block a user