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

Fixed Lich negative energy regen when using Lunar Shield

git-svn-id: http://svn.net-core.org/repos/t-engine4@6264 51575b47-30f0-44d4-a5cc-537603b46e54
parent 482cd233
No related branches found
No related tags found
No related merge requests found
......@@ -567,8 +567,10 @@ function _M:updateTalentTypeMastery(tt)
for i, t in pairs(self.talents_types_def[tt] and self.talents_types_def[tt].talents or {}) do
if t.auto_relearn_passive or t.passives then
local lvl = self:getTalentLevelRaw(t)
self:unlearnTalent(t.id, lvl)
self:learnTalent(t.id, true, lvl)
if lvl > 0 then
self:unlearnTalent(t.id, lvl)
self:learnTalent(t.id, true, lvl)
end
end
end
end
......
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