v3.0.0: corrected quick spell fix not working with light reading talent

This commit is contained in:
Evan Debenham
2025-01-06 14:37:47 -05:00
parent 265805f283
commit 1d5f57e6a2

View File

@@ -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 ){