MCPcopy Create free account
hub / github.com/Card-Forge/forge / isForetold

Method isForetold

forge-game/src/main/java/forge/game/card/Card.java:6630–6640  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6628 }
6629
6630 public final boolean isForetold() {
6631 // in exile and foretold
6632 if (this.isInZone(ZoneType.Exile)) {
6633 return this.foretold;
6634 }
6635 // cast as foretold, currently only spells
6636 if (this.getCastSA() != null) {
6637 return this.getCastSA().isForetold();
6638 }
6639 return false;
6640 }
6641 public final void setForetold(final boolean foretold) {
6642 this.foretold = foretold;
6643 }

Callers 9

getAlternativeCostsMethod · 0.95
getFacedownImageKeyMethod · 0.95
addCardMethod · 0.45
getLKICopyMethod · 0.45
updateStateMethod · 0.45
cardHasPropertyMethod · 0.45
testMethod · 0.45
xCountMethod · 0.45
getPlayableCountersMethod · 0.45

Calls 2

isInZoneMethod · 0.95
getCastSAMethod · 0.95

Tested by

no test coverage detected