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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@3664 51575b47-30f0-44d4-a5cc-537603b46e54
parent 157dcb35
No related branches found
No related tags found
No related merge requests found
......@@ -806,8 +806,8 @@ function _M:onDrawItem(item)
text:add{"color","WHITE"}
text:add({"font", "bold"}, "First talent level: ", tostring(traw+1), " [-> ", tostring(traw + 2), "]", {"font", "normal"})
text:add(true)
text:merge(req:diffWith(req2, diff))
text:merge(self.actor:getTalentFullDescription(t, 1):diffWith(self.actor:getTalentFullDescription(t, 2), diff))
text:merge(req2:diffWith(req, diff))
text:merge(self.actor:getTalentFullDescription(t, 2):diffWith(self.actor:getTalentFullDescription(t, 1), diff))
elseif traw < self:getMaxTPoints(t) then
local req = self.actor:getTalentReqDesc(item.talent):toTString():tokenize(" ()[]")
local req2 = self.actor:getTalentReqDesc(item.talent, 1):toTString():tokenize(" ()[]")
......
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