mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Improve flashback zone display
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user