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

Method isSpell

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

Source from the content-addressed store, hash-verified

5543 }
5544
5545 public final boolean isSpell() {
5546 return isInstant() || isSorcery() || (isAura() && !isInZone(ZoneType.Battlefield));
5547 }
5548
5549 public final boolean hasPlayableLandFace() { return isLand() || (isModal() && getState(CardStateName.Backside).getType().isLand()); }
5550

Callers 15

isValidMethod · 0.95
canLootMethod · 0.95
canFightMethod · 0.95
checkApiLogicMethod · 0.95
getAlternativeCostsMethod · 0.45
getOptionalCostValuesMethod · 0.45
addExtraKeywordCostMethod · 0.45
visitMethod · 0.45
changeZoneMethod · 0.45
getMaxAmountXMethod · 0.45

Calls 4

isInstantMethod · 0.95
isSorceryMethod · 0.95
isAuraMethod · 0.95
isInZoneMethod · 0.95

Tested by

no test coverage detected