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

Method isPermanent

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

Source from the content-addressed store, hash-verified

5539 }
5540
5541 public final boolean isPermanent() {
5542 return !isImmutable() && (isInPlay() || getType().isPermanent());
5543 }
5544
5545 public final boolean isSpell() {
5546 return isInstant() || isSorcery() || (isAura() && !isInZone(ZoneType.Battlefield));

Callers 8

isValidMethod · 0.95
getAbilityMethod · 0.95
resolvePreAbilitiesMethod · 0.95
resolveMethod · 0.95
addCardToZoneMethod · 0.95
checkApiLogicMethod · 0.95
canPlayMethod · 0.95

Calls 4

isImmutableMethod · 0.95
isInPlayMethod · 0.95
getTypeMethod · 0.95
isPermanentMethod · 0.65

Tested by

no test coverage detected