* Peer into the Abyss - Fixed that the numbers were not rounded up (#6646).

This commit is contained in:
LevelX2 2020-06-29 15:13:46 +02:00
parent 370d821dbf
commit 34dbf7b67e

View file

@ -58,8 +58,8 @@ class PeerIntoTheAbyssEffect extends OneShotEffect {
if (player == null) {
return false;
}
player.drawCards((int) Math.ceil(player.getLibrary().size() / 2), source.getSourceId(), game);
player.loseLife((int) Math.ceil(player.getLife() / 2), game, false);
player.drawCards((int) Math.ceil(player.getLibrary().size() / 2.0), source.getSourceId(), game);
player.loseLife((int) Math.ceil(player.getLife() / 2.0), game, false);
return true;
}
}