diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfFrost.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfFrost.java index ddb94061c..fef7019f1 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfFrost.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfFrost.java @@ -48,10 +48,15 @@ public class WandOfFrost extends Wand { @Override protected void onZap(Ballistica bolt) { + + Heap heap = Dungeon.level.heaps.get(bolt.collisionPos); + if (heap != null) { + heap.freeze(); + } + Char ch = Actor.findChar(bolt.collisionPos); if (ch != null){ - int damage = Random.NormalIntRange(5+level, 10+(level*level/3)); if (ch.buff(Frost.class) != null){ @@ -77,12 +82,6 @@ public class WandOfFrost extends Wand { } } } - - Heap heap = Dungeon.level.heaps.get(bolt.collisionPos); - if (heap != null) { - heap.freeze(); - } - } @Override