Code: Select all
game/modules/tome/data/damage_types.lua | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/modules/tome/data/damage_types.lua b/game/modules/tome/data/damage_types.lua
index e569d89..5dfa5de 100644
--- a/game/modules/tome/data/damage_types.lua
+++ b/game/modules/tome/data/damage_types.lua
@@ -295,7 +295,7 @@ setDefaultProjector(function(src, x, y, type, dam, tmp, no_martyr)
end
if src.__projecting_for then
- if src.talent_on_spell and next(src.talent_on_spell) and t.is_spell and not src.turn_procs.spell_talent then
+ if src.talent_on_spell and next(src.talent_on_spell) and t.is_spell and src.turn_procs and not src.turn_procs.spell_talent then
for id, d in pairs(src.talent_on_spell) do
if rng.percent(d.chance) and t.id ~= d.talent then
src.turn_procs.spell_talent = true