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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4162 51575b47-30f0-44d4-a5cc-537603b46e54
parent d02292a8
No related branches found
No related tags found
No related merge requests found
......@@ -62,14 +62,18 @@ newTalent{
require = techs_req3,
mode = "passive",
points = 5,
getPercent = function (self, t) return self:getTalentLevel(t) * 20 end,
getRes = function(self, t) return 2 * self:getTalentLevelRaw(t) end,
on_learn = function(self, t)
self.resists.all = (self.resists.all or 0) + 2
end,
on_unlearn = function(self, t)
self.resists.all = (self.resists.all or 0) - 2
end,
info = function(self, t)
local percent = t.getPercent(self, t)
return ([[You've learned to shrug off more damage then is normal. Increases your effective constitution for resist all bonuses by %d%%.]]):
local res = t.getRes(self, t)
info = function(self, t)
local percent = t.getRes(self, t)
return ([[You've learned to shrug off more damage then is normal. Increases all damage reduction by %d%%.]]):
format(percent)
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