Improve flashback zone display

This commit is contained in:
Chris H
2018-10-13 19:14:19 -04:00
parent 01ab4d7467
commit 3889c75e32

View File

@@ -63,6 +63,8 @@ public class PlayerZone extends Zone {
return true;
}
boolean graveyardCastable = c.hasKeyword(Keyword.FLASHBACK) ||
c.hasKeyword(Keyword.RETRACE) || c.hasKeyword(Keyword.JUMP_START);
for (final SpellAbility sa : c.getSpellAbilities()) {
final ZoneType restrictZone = sa.getRestrictions().getZone();
@@ -76,7 +78,7 @@ public class PlayerZone extends Zone {
}
if (sa.isSpell()
&& (c.hasKeyword(Keyword.FLASHBACK) && PlayerZone.this.is(ZoneType.Graveyard))
&& (graveyardCastable && PlayerZone.this.is(ZoneType.Graveyard))
&& restrictZone.equals(ZoneType.Hand)) {
return true;
}