mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
[ZNR] fixed Maddening Cacophony rounding (#7046)
This commit is contained in:
parent
eaaf68350c
commit
f3bc18af3f
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class MaddeningCacophonyEffect extends OneShotEffect {
|
|||
}
|
||||
int toMill = 8;
|
||||
if (kicked) {
|
||||
toMill = (int) Math.ceil(player.getLibrary().size() / 2);
|
||||
toMill = Math.floorDiv(player.getLibrary().size(), 2) + player.getLibrary().size() % 2;
|
||||
}
|
||||
player.millCards(toMill, source, game);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue