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

Method canGainLife

forge-game/src/main/java/forge/game/player/Player.java:504–506  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

502 }
503
504 public final boolean canGainLife() {
505 return isInGame() && !StaticAbilityCantGainLosePayLife.anyCantGainLife(this);
506 }
507
508 public final int loseLife(int toLose, final boolean damage, final boolean manaBurn) {
509 // Rule 118.4

Callers 15

gainLifeMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95
checkApiLogicMethod · 0.95
canPayMethod · 0.80
payAsDecidedMethod · 0.80
getDistributionMethod · 0.80
visitMethod · 0.80
visitMethod · 0.80
shouldPumpCardMethod · 0.80
lifegainPositiveMethod · 0.80
lifegainNegativeMethod · 0.80

Calls 2

isInGameMethod · 0.95
anyCantGainLifeMethod · 0.95

Tested by

no test coverage detected