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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@5711 51575b47-30f0-44d4-a5cc-537603b46e54
parent 20aa04d0
No related branches found
No related tags found
No related merge requests found
......@@ -304,6 +304,7 @@ function _M:learnTalent(t_id, force, nb)
if t.on_learn then
local ret = t.on_learn(self, t)
if ret then
if ret == true then ret = {} end
self.talents_learn_vals[t.id] = self.talents_learn_vals[t.id] or {}
self.talents_learn_vals[t.id][self.talents[t_id]] = ret
end
......
......@@ -28,12 +28,6 @@ newTalent{
require = cursed_wil_req1,
points = 5,
no_unlearn_last = true,
on_learn = function(self, t)
return true
end,
on_unlearn = function(self, t)
return true
end,
getHealPerKill = function(self, t)
return combatTalentDamage(self, t, 15, 50)
end,
......
* RSS feed of events in a character's life, exportable to FB
* auto-leveling for beginners/lazy
* better login screen in boot module
* chest : pop either mobs or items ?
after v1:
* donator's fight club
......
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