v2.0.0: weakened knockback vs. bosses now rounds up

This commit is contained in:
Evan Debenham
2022-11-24 14:48:23 -05:00
parent 406dce63ac
commit 85c9529c25

View File

@@ -114,7 +114,7 @@ public class WandOfBlastWave extends DamageWand {
public static void throwChar(final Char ch, final Ballistica trajectory, int power,
boolean closeDoors, boolean collideDmg, Class cause){
if (ch.properties().contains(Char.Property.BOSS)) {
power /= 2;
power = (power+1)/2;
}
int dist = Math.min(trajectory.dist, power);