From a09b718ce233bc82730115925a30329539033521 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 30 Aug 2022 13:22:42 -0400 Subject: [PATCH] v1.4.0: fixed unintentionally committed debug code in blastwave --- .../shatteredpixeldungeon/items/wands/WandOfBlastWave.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java index ac7668abb..d278c5149 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java @@ -158,7 +158,7 @@ public class WandOfBlastWave extends DamageWand { int oldPos = ch.pos; ch.pos = newPos; if (finalCollided && ch.isAlive()) { - ch.damage(Random.NormalIntRange(50, 50), this); + ch.damage(Random.NormalIntRange(finalDist, 2*finalDist), this); if (ch.isAlive()) { Paralysis.prolong(ch, Paralysis.class, 1 + finalDist/2f); } else if (ch == Dungeon.hero){