Commit 123b0aef534fbbc4e535f99e0d29c40fbd2ea1b9
1 parent
d6ff5357
Living lightning correctly works with Range Amplification Device
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -152,7 +152,7 @@ newTalent{ | @@ -152,7 +152,7 @@ newTalent{ | ||
152 | target = function(self, t) return{type="hit", range=self:getTalentRange(t), talent=t, friendlyblock=false, friendlyfire=false} end, | 152 | target = function(self, t) return{type="hit", range=self:getTalentRange(t), talent=t, friendlyblock=false, friendlyfire=false} end, |
153 | callbackOnActBase = function(self, t) | 153 | callbackOnActBase = function(self, t) |
154 | local tgts = {} | 154 | local tgts = {} |
155 | - local grids = core.fov.circle_grids(self.x, self.y, 6, true) | 155 | + local grids = core.fov.circle_grids(self.x, self.y, self:getTalentRange(t), true) |
156 | for x, yy in pairs(grids) do for y, _ in pairs(grids[x]) do | 156 | for x, yy in pairs(grids) do for y, _ in pairs(grids[x]) do |
157 | local a = game.level.map(x, y, Map.ACTOR) | 157 | local a = game.level.map(x, y, Map.ACTOR) |
158 | if a and self:reactionToward(a) < 0 then | 158 | if a and self:reactionToward(a) < 0 then |
-
Please register or login to post a comment