Skip to content
Snippets Groups Projects
Commit 3bb8a95b authored by DarkGod's avatar DarkGod
Browse files

Fix Kinetic Surge to let you self-target even with only one foe around

parent c6e51187
No related branches found
Tags tome-1.6.7
No related merge requests found
......@@ -70,7 +70,7 @@ newTalent{
requires_target = true,
target = function(self, t) return {type="ball", range=self:getTalentRange(t), radius=2, selffire=false, talent=t} end,
action = function(self, t)
local tg = {type="hit", range=1, nowarning=true, nolock=true }
local tg = {type="hit", range=1, nowarning=true, nolock=true, simple_dir_request=true }
local x, y, target = self:getTarget(tg)
if not x or not y or not target then return nil end
if core.fov.distance(self.x, self.y, x, y) > 1 then return nil end
......
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