From 62f7f2293bb0f5a5b5995a4e104ec5d9b60a297d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 17 Jul 2019 02:36:51 -0400 Subject: [PATCH] v0.7.4: cursed wand discovery message now plays before the cursed effect --- .../shatteredpixeldungeon/items/wands/Wand.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java index 56eb3d114..7b75e399d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java @@ -446,6 +446,9 @@ public abstract class Wand extends Item { Invisibility.dispel(); if (curWand.cursed){ + if (!curWand.cursedKnown){ + GLog.n(Messages.get(Wand.class, "curse_discover", curWand.name())); + } CursedWand.cursedZap(curWand, curUser, new Ballistica(curUser.pos, target, Ballistica.MAGIC_BOLT), @@ -455,9 +458,6 @@ public abstract class Wand extends Item { curWand.wandUsed(); } }); - if (!curWand.cursedKnown){ - GLog.n(Messages.get(Wand.class, "curse_discover", curWand.name())); - } } else { curWand.fx(shot, new Callback() { public void call() {