From 9101edc0ac9635794287358dc7d00d93947ef59d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 22 Oct 2023 15:44:14 -0400 Subject: [PATCH] v2.2.1: fixed crystal spire being vulernable to certain specific effects --- .../shatteredpixeldungeon/actors/mobs/CrystalSpire.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/CrystalSpire.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/CrystalSpire.java index e9e238391..86475e55e 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/CrystalSpire.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/CrystalSpire.java @@ -291,6 +291,11 @@ public class CrystalSpire extends Mob { super.damage(dmg, src); } + @Override + public boolean isInvulnerable(Class effect) { + return effect != Pickaxe.class; + } + @Override public boolean add( Buff buff ) { return false; //immune to all buffs and debuffs