This commit is contained in:
tool4EvEr
2021-02-16 22:42:46 +01:00
parent 54d7e89953
commit 4b25332a9d

View File

@@ -700,14 +700,13 @@ public class CardPanel extends SkinnedPanel implements CardContainer, IDisposabl
else {
String keywordKey = card.getCurrentState().getKeywordKey();
String abilityText = card.getCurrentState().getAbilityText();
if ((keywordKey.indexOf("Flash") != -1)
if (((keywordKey.indexOf("Flashback") == -1)
&& (keywordKey.indexOf("Flash") != -1))
|| ((abilityText.indexOf("May be played by") != -1)
&& (abilityText.indexOf("and as though it has flash") != -1))){
if (keywordKey.indexOf("Flashback") == -1) {
&& (abilityText.indexOf("and as though it has flash") != -1))) {
hasFlash = !card.isFaceDown() && ((!ZoneType.Library.equals(card.getZone()) && !ZoneType.Hand.equals(card.getZone())) || matchUI.mayView(card));
if (hasFlash) {
CardFaceSymbols.drawAbilitySymbol("flash", g, cardXOffset + (cardWidth / 2) + (cardWidth / 3), cardWidth < 200 ? cardYOffset + 25 : cardYOffset + 50, cardWidth / 7, cardWidth / 7);
}
}
}
}