mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
* Peer into the Abyss - Fixed that the numbers were not rounded up (#6646).
This commit is contained in:
parent
370d821dbf
commit
34dbf7b67e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue