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

Method cantWin

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

Source from the content-addressed store, hash-verified

2026 }
2027
2028 public final boolean cantWin() {
2029 return game.getReplacementHandler().cantHappenCheck(ReplacementType.GameWin, AbilityKey.mapFromAffected(this));
2030 }
2031
2032 public final boolean checkLoseCondition() {
2033 // Just in case player already lost

Callers 7

altWinBySpellEffectMethod · 0.95
hasWonMethod · 0.95
willPayUnlessCostMethod · 0.95
doAssaultMethod · 0.80
targetAIMethod · 0.80
willPayUnlessCostMethod · 0.80
canPlayMethod · 0.80

Calls 3

mapFromAffectedMethod · 0.95
cantHappenCheckMethod · 0.80
getReplacementHandlerMethod · 0.80

Tested by

no test coverage detected