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

Super high level psionic leeches can not get 0 cooldown

git-svn-id: http://svn.net-core.org/repos/t-engine4@3504 51575b47-30f0-44d4-a5cc-537603b46e54
parent cfc645b8
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ newTalent{
points = 5,
psi = 0,
cooldown = function(self, t)
return math.ceil(25 - self:getTalentLevelRaw(t)*3)
return math.max(6, math.ceil(25 - self:getTalentLevelRaw(t)*3))
end,
tactical = { DEFEND = 1, DISABLE = 2 },
direct_hit = true,
......@@ -67,7 +67,7 @@ newTalent{
require = psi_wil_req2,
points = 5,
cooldown = function(self, t)
return math.ceil(25 - self:getTalentLevelRaw(t)*3)
return math.max(6, math.ceil(25 - self:getTalentLevelRaw(t)*3))
end,
psi = 0,
tactical = { DEFEND = 2, DISABLE = 2 },
......@@ -112,7 +112,7 @@ newTalent{
points = 5,
psi = 0,
cooldown = function(self, t)
return math.ceil(25 - self:getTalentLevelRaw(t)*3)
return math.max(6, math.ceil(25 - self:getTalentLevelRaw(t)*3))
end,
tactical = { DEFEND = 2, ATTACKAREA = 2, DISABLE = 1 },
direct_hit = true,
......
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