Skip to content
Snippets Groups Projects
Commit 14370d9f authored by DarkGod's avatar DarkGod
Browse files

Fixed talent requirement description having a superfluous linefeed

parent e117b6cf
No related branches found
No related tags found
No related merge requests found
......@@ -635,14 +635,14 @@ function _M:getTalentReqDesc(t_id, levmod)
if type(tid) == "table" then
if type(tid[2]) == "boolean" and tid[2] == false then
local c = (not self:knowTalent(tid[1])) and {"color", 0x00,0xff,0x00} or {"color", 0xff,0x00,0x00}
str:add(c, ("- Talent %s (not known)\n"):format(self:getTalentFromId(tid[1]).name), true)
str:add(c, ("- Talent %s (not known)"):format(self:getTalentFromId(tid[1]).name), true)
else
local c = (self:getTalentLevelRaw(tid[1]) >= tid[2]) and {"color", 0x00,0xff,0x00} or {"color", 0xff,0x00,0x00}
str:add(c, ("- Talent %s (%d)\n"):format(self:getTalentFromId(tid[1]).name, tid[2]), true)
str:add(c, ("- Talent %s (%d)"):format(self:getTalentFromId(tid[1]).name, tid[2]), true)
end
else
local c = self:knowTalent(tid) and {"color", 0x00,0xff,0x00} or {"color", 0xff,0x00,0x00}
str:add(c, ("- Talent %s\n"):format(self:getTalentFromId(tid).name), true)
str:add(c, ("- Talent %s"):format(self:getTalentFromId(tid).name), true)
end
end
end
......
......@@ -1002,7 +1002,7 @@ newTalent{
end
end,
info = function(self, t)
return ([[When you crit you have a %d%% chance to reduce the remaining cooldown of one of your inscriptions and of any saturations effects.
return ([[When you crit you have a %d%% chance to reduce by 1 the remaining cooldown of one of your inscriptions and of any saturations effects.
This effect can only happen once per turn.]]):
format(t.getChance(self, t))
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