From 1d5f57e6a2b6057716dfee4d79f7388cd622f976 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 6 Jan 2025 14:37:47 -0500 Subject: [PATCH] v3.0.0: corrected quick spell fix not working with light reading talent --- .../shatteredpixeldungeon/items/artifacts/HolyTome.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 6e4cc87bb..f6d5e07d8 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 @@ -143,7 +143,8 @@ public class HolyTome extends Artifact { } public boolean canCast( Hero hero, ClericSpell spell ){ - return isEquipped(hero) && charge >= spell.chargeUse(hero) && spell.canCast(hero); + return (isEquipped(hero) || (Dungeon.hero.hasTalent(Talent.LIGHT_READING) && hero.belongings.contains(this))) + && charge >= spell.chargeUse(hero) && spell.canCast(hero); } public void spendCharge( float chargesSpent ){