From 24200738957d2a071e00a29e1ef9409a2acf8726 Mon Sep 17 00:00:00 2001 From: Zzooouhh Date: Wed, 20 Dec 2017 00:35:26 +0100 Subject: [PATCH] Changed integer amount declaration --- Mage.Sets/src/mage/cards/p/PersonalIncarnation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/p/PersonalIncarnation.java b/Mage.Sets/src/mage/cards/p/PersonalIncarnation.java index 63ff9fa5de..a9cdf4be71 100644 --- a/Mage.Sets/src/mage/cards/p/PersonalIncarnation.java +++ b/Mage.Sets/src/mage/cards/p/PersonalIncarnation.java @@ -128,7 +128,7 @@ class PersonalIncarnationLoseHalfLifeEffect extends OneShotEffect { public boolean apply(Game game, Ability source) { Player player = game.getPlayer(game.getOwnerId(source.getSourceId())); if (player != null) { - int amount = (player.getLife() + 1) / 2; + Integer amount = (int) Math.ceil(player.getLife() / 2f); if (amount > 0) { player.loseLife(amount, game, false); return true;