[CLB] Fixed Myrkul Indestructible condition (#9236)

This commit is contained in:
Bobke 2022-07-07 06:21:14 +02:00 committed by GitHub
parent 33dd776b77
commit f113a590b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ enum MyrkulLordOfBonesCondition implements Condition {
public boolean apply(Game game, Ability source) {
return Optional.ofNullable(game.getPlayer(source.getControllerId()))
.map(Player::getLife)
.map(x -> 2 * x >= game.getStartingLife())
.map(x -> (2 * x) <= game.getStartingLife())
.orElse(false);
}
}