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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4601 51575b47-30f0-44d4-a5cc-537603b46e54
parent d79bee5d
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ newTalent{
return util.bound(4 - self:getTalentLevel(t) / 2, 1, 4)
end,
getDuration = function(self, t)
return util.bound(7 - self:getTalentLevel(t) / 2, 2, 7)
return math.floor(util.bound(7 - self:getTalentLevel(t) / 2, 2, 7))
end,
action = function(self, t)
local range = self:getTalentRange(t)
......
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