From 80d19ac2d0d11d0d18cd1b8df9883fbb2b1c9813 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 27 Jan 2018 00:02:54 -0500 Subject: [PATCH] v0.6.3: fixed a bug in battlemage frost logic --- .../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 e925f7a1d..56052940d 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 @@ -104,7 +104,7 @@ public class WandOfFrost extends DamageWand { @Override public void onHit(MagesStaff staff, Char attacker, Char defender, int damage) { Chill chill = defender.buff(Chill.class); - if (chill != null && Random.IntRange(2, 10) > chill.cooldown()){ + if (chill != null && Random.IntRange(2, 10) <= chill.cooldown()){ //need to delay this through an actor so that the freezing isn't broken by taking damage from the staff hit. new FlavourBuff(){ {actPriority = VFX_PRIO;}