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

Method getLethal

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

Source from the content-addressed store, hash-verified

6019
6020 // this is the amount of damage a creature needs to receive before it dies
6021 public final int getLethal() {
6022 if (hasKeyword("Lethal damage dealt to CARDNAME is determined by its power rather than its toughness.")) {
6023 return getNetPower();
6024 }
6025 return getNetToughness();
6026 }
6027
6028 // this is the minimal damage a trampling creature has to assign to a blocker
6029 public final int getLethalDamage() {

Callers 2

getLethalDamageMethod · 0.95
checkStateEffectsMethod · 0.80

Calls 3

hasKeywordMethod · 0.95
getNetPowerMethod · 0.95
getNetToughnessMethod · 0.95

Tested by

no test coverage detected