Fix:
Code: Select all
Index: game/modules/tome/data/talents/cursed/darkness.lua
===================================================================
--- game/modules/tome/data/talents/cursed/darkness.lua (revision 6365)
+++ game/modules/tome/data/talents/cursed/darkness.lua (working copy)
@@ -223,7 +223,8 @@
local actor = game.level.map(self.x, self.y, Map.ACTOR)
if actor and actor ~= self.summoner and (not actor.summoner or actor.summoner ~= self.summoner) then
self.projecting = true -- simplest way to indicate that this damage should not be amplified by the in creeping dark bonus
- self.summoner:project({type="hit", range=self:getTalentRange(t), talent=self:getTalentFromId(self.T_CREEPING_DARKNESS)}, actor.x, actor.y, engine.DamageType.DARKNESS, self.damage)
+ local t = self.summoner:getTalentFromId(self.summoner.T_CREEPING_DARKNESS)
+ self.summoner:project({type="hit", range=self.summoner:getTalentRange(t), talent=t}, actor.x, actor.y, engine.DamageType.DARKNESS, self.damage)
self.projecting = false
end