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

Method canLoseLife

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

Source from the content-addressed store, hash-verified

557 }
558
559 public final boolean canLoseLife() {
560 return isInGame() && !StaticAbilityCantGainLosePayLife.anyCantLoseLife(this);
561 }
562
563 public final boolean canPayLife(final int lifePayment, final boolean effect, SpellAbility cause) {
564 if (lifePayment > 0 && life < lifePayment) {

Callers 15

loseLifeMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95
canPlayMethod · 0.95
checkApiLogicMethod · 0.95
sacrificeTgtAIMethod · 0.95
checkApiLogicMethod · 0.95
willPayUnlessCostMethod · 0.95
canPlayMethod · 0.95
shouldPutCountersMethod · 0.95
doTriggerNoCostMethod · 0.95

Calls 2

isInGameMethod · 0.95
anyCantLoseLifeMethod · 0.95

Tested by

no test coverage detected