v0.2.3d: damage from viscocity glyph no longer interrupts movement

This commit is contained in:
Evan Debenham 2015-01-13 09:01:20 -05:00
parent 15802423a8
commit 51edf3e49a

View File

@ -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){