diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/HolyTome.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/HolyTome.java index f6d5e07d8..2bfec0516 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/HolyTome.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/HolyTome.java @@ -144,7 +144,9 @@ public class HolyTome extends Artifact { public boolean canCast( Hero hero, ClericSpell spell ){ return (isEquipped(hero) || (Dungeon.hero.hasTalent(Talent.LIGHT_READING) && hero.belongings.contains(this))) - && charge >= spell.chargeUse(hero) && spell.canCast(hero); + && hero.buff(MagicImmune.class) == null + && charge >= spell.chargeUse(hero) + && spell.canCast(hero); } public void spendCharge( float chargesSpent ){