From 3c3a90d30aa22af831dbad34f01ba2ddfd9d8ce3 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 4 Sep 2020 18:54:55 -0400 Subject: [PATCH] v0.9.0: fixed incorrect damage scaling with chill on frost wand --- .../shatteredpixeldungeon/items/wands/WandOfFrost.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfFrost.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfFrost.java index e930d25e3..2353ad47b 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfFrost.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfFrost.java @@ -72,7 +72,7 @@ public class WandOfFrost extends DamageWand { if (ch.buff(Chill.class) != null){ //6.67% less damage per turn of chill remaining, to a max of 10 turns (50% dmg) float chillturns = Math.min(10, ch.buff(Chill.class).cooldown()); - damage = (int)Math.round(damage * Math.pow(0.9633f, chillturns)); + damage = (int)Math.round(damage * Math.pow(0.9333f, chillturns)); } else { ch.sprite.burst( 0xFF99CCFF, buffedLvl() / 2 + 2 ); }