[ZNR] fixed Maddening Cacophony rounding (#7046)

This commit is contained in:
Evan Kranzler 2020-09-11 18:24:14 -04:00
parent eaaf68350c
commit f3bc18af3f

View file

@ -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);
}