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

Method wasCast

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

Source from the content-addressed store, hash-verified

7123 castFrom = castFrom0;
7124 }
7125 public boolean wasCast() {
7126 if (hasMergedCard()) {
7127 boolean wasCast = false;
7128 for (Card c : getMergedCards()) {
7129 if (null != c.getCastFrom()) {
7130 wasCast = true;
7131 break;
7132 }
7133 }
7134 return wasCast;
7135 }
7136 return getCastFrom() != null;
7137 }
7138
7139 public SpellAbility getCastSA() {
7140 return castSA;

Callers 6

addExtraKeywordCostMethod · 0.95
checkRequirementMethod · 0.95
resolveMethod · 0.95
cardHasPropertyMethod · 0.80
getDefinedPlayersMethod · 0.80
xCountMethod · 0.80

Calls 3

hasMergedCardMethod · 0.95
getMergedCardsMethod · 0.95
getCastFromMethod · 0.95

Tested by

no test coverage detected