From b3f7cf3a8eadefdd7dc7c2cdf5e97811bab2caf8 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 6 Aug 2022 11:44:10 -0400 Subject: [PATCH] v1.4.0: fixed armband not breaking invis --- .../items/artifacts/MasterThievesArmband.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/MasterThievesArmband.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/MasterThievesArmband.java index af2ce55a0..505bd9123 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/MasterThievesArmband.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/MasterThievesArmband.java @@ -30,6 +30,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Blindness; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.CounterBuff; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Cripple; +import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Invisibility; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.MagicImmune; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Talent; @@ -137,6 +138,8 @@ public class MasterThievesArmband extends Artifact { float lootMultiplier = 1f + 0.1f*level(); int debuffDuration = 3 + level()/2; + Invisibility.dispel(curUser); + if (surprised){ lootMultiplier += 0.5f; Surprise.hit(ch);