From 51edf3e49a3cd5c2f6a0d2477750e33d014cd6f8 Mon Sep 17 00:00:00 2001 From: Evan Debenham <Evan@ShatteredPixel.com> Date: Tue, 13 Jan 2015 09:01:20 -0500 Subject: [PATCH] v0.2.3d: damage from viscocity glyph no longer interrupts movement --- .../shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java index c1450d828..7ddb762f2 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java @@ -62,6 +62,7 @@ import com.shatteredpixel.shatteredpixeldungeon.items.Heap.Type; import com.shatteredpixel.shatteredpixeldungeon.items.Item; import com.shatteredpixel.shatteredpixeldungeon.items.KindOfWeapon; import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor; +import com.shatteredpixel.shatteredpixeldungeon.items.armor.glyphs.Viscosity; import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.CapeOfThorns; import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.DriedRose; import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.TalismanOfForesight; @@ -929,7 +930,7 @@ public class Hero extends Char { restoreHealth = false; - if (!(src instanceof Hunger) && damageInterrupt) + if (!(src instanceof Hunger || src instanceof Viscosity.DeferedDamage) && damageInterrupt) interrupt(); if (this.buff(Drowsy.class) != null){