Skip to content
Snippets Groups Projects
Commit ef32ad47 authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@6476 51575b47-30f0-44d4-a5cc-537603b46e54
parent b4e27a0a
No related branches found
No related tags found
No related merge requests found
......@@ -370,9 +370,6 @@ function _M:getType(t)
elseif t.type:find("beam") then
target_type.line = true
end
if t.type:find("trap") then
target_type.stop_last = true
end
end
table.update(t, target_type)
return t
......
......@@ -34,7 +34,7 @@ newTalent{
getDazeDuration = function(self, t) return 3 + self:getTalentLevelRaw(t) end,
getDuration = function(self, t) return 5 + self:getTalentLevel(t) end,
action = function(self, t)
local tg = {type="trap", nowarning=true, range=self:getTalentRange(t), nolock=true, talent=t}
local tg = {type="hit", nowarning=true, range=self:getTalentRange(t), nolock=true, talent=t}
local tx, ty = self:getTarget(tg)
if not tx or not ty then return nil end
local _ _, tx, ty = self:canProject(tg, tx, ty)
......
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