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

Method getCMC

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

Source from the content-addressed store, hash-verified

7250 }
7251
7252 public int getCMC() {
7253 return getCMC(SplitCMCMode.CurrentSideCMC);
7254 }
7255 public int getCMC(SplitCMCMode mode) {
7256 if (lkiCMC >= 0) {
7257 return lkiCMC; // a workaround used by getLKICopy

Callers 15

adjustCostByEmergeMethod · 0.95
canTargetMethod · 0.95
sharesCMCWithMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95
clashWithOpponentMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95
chooseCollectEvidenceMethod · 0.95
considerMethod · 0.95
considerDiscardTargetMethod · 0.95

Calls 12

isInZoneMethod · 0.95
getManaCostMethod · 0.95
getXManaCostPaidMethod · 0.95
isSplitCardMethod · 0.95
getStateMethod · 0.95
concatWithSpaceMethod · 0.95
isModalMethod · 0.95
getCopiedPermanentMethod · 0.95
getMeldedWithMethod · 0.95
countXMethod · 0.80
getManaCostMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected