diff --git a/game/modules/tome/data/talents/celestial/sunlight.lua b/game/modules/tome/data/talents/celestial/sunlight.lua index e9b7e316d6db49ef4427ed1a6f23c25d11a85d4c..afbceb77112eb20ff42c6f133df3f377d36c2f10 100644 --- a/game/modules/tome/data/talents/celestial/sunlight.lua +++ b/game/modules/tome/data/talents/celestial/sunlight.lua @@ -35,13 +35,13 @@ newTalent{ requires_target = true, getDamage = function(self, t) return self:combatTalentSpellDamage(t, 15, 170) end, action = function(self, t) - local tg = {type="ball", range=self:getTalentRange(t), radius=1, talent=t} + local tg = {type="ball", range=self:getTalentRange(t), radius=1} local x, y, target = self:getTarget(tg) if not x or not y then return nil end local _ _, x, y = self:canProject(tg, x, y) local dam = self:spellCrit(t.getDamage(self, t)) - if target then self:project({type="hit", talent=t}, target.x, target.y, DamageType.LIGHT, dam, {type="light"}) end + self:project({type="hit", talent=t}, x, y, DamageType.LIGHT, dam, {type="light"}) -- Add a lasting map effect game.level.map:addEffect(self,