From 936c41b01c60b419b266331a77d6a9c07cf0c8c9 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 29 Dec 2022 13:06:31 -0500 Subject: [PATCH] v2.0.0: fixed iron stomach being used to cancel chasm damage --- .../shatteredpixel/shatteredpixeldungeon/levels/Level.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java index eff7a2dce..2f827328b 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java @@ -539,6 +539,10 @@ public abstract class Level implements Bundlable { if (timeFreeze != null) timeFreeze.disarmPresses(); Swiftthistle.TimeBubble timeBubble = Dungeon.hero.buff(Swiftthistle.TimeBubble.class); if (timeBubble != null) timeBubble.disarmPresses(); + + //iron stomach does not persist through chasm falling + Talent.WarriorFoodImmunity foodImmune = Dungeon.hero.buff(Talent.WarriorFoodImmunity.class); + if (foodImmune != null) foodImmune.detach(); } public void seal(){