- Simpler adventure card detection.

This commit is contained in:
Agetian
2019-11-07 08:08:03 +03:00
parent 8cb1789e60
commit 1af940b034

View File

@@ -360,7 +360,7 @@ public abstract class GameState {
if (c.isFaceDown()) {
newText.append("|FaceDown"); // Exiled face down
}
if (c.hasAlternateState() && c.getAlternateStateName() == CardStateName.Adventure && c.getZone().is(ZoneType.Exile)) {
if (c.isAdventureCard() && c.getZone().is(ZoneType.Exile)) {
// TODO: this will basically default all exiled cards with Adventure to being "On Adventure".
// Need to figure out a better way to detect if it's actually on adventure.
newText.append("|OnAdventure");