Skip to content
Snippets Groups Projects
Commit 123b0aef authored by yutio888's avatar yutio888
Browse files

Living lightning correctly works with Range Amplification Device

parent d6ff5357
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ newTalent{
target = function(self, t) return{type="hit", range=self:getTalentRange(t), talent=t, friendlyblock=false, friendlyfire=false} end,
callbackOnActBase = function(self, t)
local tgts = {}
local grids = core.fov.circle_grids(self.x, self.y, 6, true)
local grids = core.fov.circle_grids(self.x, self.y, self:getTalentRange(t), true)
for x, yy in pairs(grids) do for y, _ in pairs(grids[x]) do
local a = game.level.map(x, y, Map.ACTOR)
if a and self:reactionToward(a) < 0 then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment