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

Slime Roots can not reset passives or ubers

Acid Splash radius reduced by 1


git-svn-id: http://svn.net-core.org/repos/t-engine4@6682 51575b47-30f0-44d4-a5cc-537603b46e54
parent 861a1512
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ newTalent{
equilibrium = 10,
cooldown = 10,
range = 7,
radius = function(self, t) return 3 + (self:getTalentLevel(t) >= 5 and 1 or 0) end,
radius = function(self, t) return 2 + (self:getTalentLevel(t) >= 5 and 1 or 0) end,
target = function(self, t) return {type="ball", range=self:getTalentRange(t), radius=self:getTalentRadius(t), friendlyfire=false} end,
tactical = { ATTACKAREA = { ACID = 2, NATURE = 1 } },
requires_target = true,
......
......@@ -147,7 +147,10 @@ newTalent{
local nb = t.getNbTalents(self, t)
local list = {}
for tid, cd in pairs(self.talents_cd) do list[#list+1] = tid end
for tid, cd in pairs(self.talents_cd) do
local tt = self:getTalentFromId(tid)
if tt.mode ~= "passive" and not tt.uber then list[#list+1] = tid end
end
while #list > 0 and nb > 0 do
self.talents_cd[rng.tableRemove(list)] = nil
nb = nb - 1
......
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