From 0d5a8dd57c9f8c19a52c12a07f6b8ec81131f0a6 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 22 Aug 2024 12:23:21 -0400 Subject: [PATCH] v2.5.0: fixed unintentional debug code giving gravity chaos a 100% rate --- .../shatteredpixeldungeon/items/wands/CursedWand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java index 95f800940..34c3bd7f2 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java @@ -120,7 +120,7 @@ public class CursedWand { public static void cursedZap(final Item origin, final Char user, final Ballistica bolt, final Callback afterZap){ boolean positiveOnly = user == Dungeon.hero && Random.Float() < WondrousResin.positiveCurseEffectChance(); - CursedEffect effect = new GravityChaos(); + CursedEffect effect = randomValidEffect(origin, user, bolt, positiveOnly); effect.FX(origin, user, bolt, new Callback() { @Override