From 34dbf7b67e59a140c51c1cb8a8ca71277ba16742 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 29 Jun 2020 15:13:46 +0200 Subject: [PATCH] * Peer into the Abyss - Fixed that the numbers were not rounded up (#6646). --- Mage.Sets/src/mage/cards/p/PeerIntoTheAbyss.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/p/PeerIntoTheAbyss.java b/Mage.Sets/src/mage/cards/p/PeerIntoTheAbyss.java index 7f5e8372eae..e27f70146b7 100644 --- a/Mage.Sets/src/mage/cards/p/PeerIntoTheAbyss.java +++ b/Mage.Sets/src/mage/cards/p/PeerIntoTheAbyss.java @@ -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; } } \ No newline at end of file