Skip to content
Snippets Groups Projects
Commit 458f50e5 authored by DarkGod's avatar DarkGod
Browse files

Stone Walking and Gem Portal do not fail due to melee autotarget

parent 74373a8d
No related branches found
No related tags found
No related merge requests found
......@@ -493,7 +493,7 @@ newTalent{
return math.max(1, math.floor(self:combatScale(0.04*self:getCon() + self:getTalentLevel(t), 2.4, 1.4, 10, 9)))
end,
action = function(self, t)
local tg = {type="bolt", range=self:getTalentRange(t), nolock=true, talent=t}
local tg = {type="bolt", range=self:getTalentRange(t), nolock=true, simple_dir_request=true, talent=t}
local x, y = self:getTarget(tg)
if not x or not y then return nil end
local _ _, x, y = self:canProject(tg, x, y)
......
......@@ -174,7 +174,7 @@ newTalent{
return
end
local tg = {type="bolt", range=self:getTalentRange(t), nolock=true, talent=t}
local tg = {type="bolt", range=self:getTalentRange(t), nolock=true, talent=t, simple_dir_request=true}
local x, y = self:getTarget(tg)
if not x or not y then return nil end
local _ _, x, y = self:canProject(tg, x, y)
......
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