From 5e8bae8cfef6b4385e029d40216a7a7d6961f117 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 21 Jan 2025 14:05:02 -0500 Subject: [PATCH] v3.0.0: fixed geomancer rockfall be cleared on save/load --- .../actors/mobs/GnollGeomancer.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/GnollGeomancer.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/GnollGeomancer.java index da918dfda..ab7f85a01 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/GnollGeomancer.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/GnollGeomancer.java @@ -137,9 +137,12 @@ public class GnollGeomancer extends Mob { @Override public boolean add(Buff buff) { - //immune to buffs and debuff (except its own rock armor) while sleeping - if (state == SLEEPING && !(buff instanceof RockArmor)) return false; - else return super.add(buff); + //immune to buffs and debuff (except its own buffs) while sleeping + if (state == SLEEPING && !(buff instanceof RockArmor || buff instanceof DelayedRockFall)){ + return false; + } else { + return super.add(buff); + } } @Override