what_string=what_string..table.concat(first_effects,", ").." or "..what[#what]
else
what_string=what[1]
end
localwhat=table.concatNice(table.keys(data.what),", "," or ")
return([[Activate the infusion to cure yourself of one random %s effect and reduce all damage taken by %d%% for %d turns.
return([[Activate the infusion to cure yourself of one random %s effect and reduce all damage taken by %d%% for %d turns.]]):format(what_string,data.power+data.inc_stat,data.dur)
Also removes cross-tier effects of the affected types for free.]]):format(what,data.power+data.inc_stat,data.dur)
end,
short_info=function(self,t)
localdata=self:getInscriptionData(t.short_name)
...
...
@@ -266,19 +258,11 @@ newInscription{
end,
info=function(self,t)
localdata=self:getInscriptionData(t.short_name)
localwhat=table.keys(data.what)
localwhat_string=""
if#what>1then
localfirst_effects={}
fori=1,#what-1do
table.insert(first_effects,what[i])
end
what_string=what_string..table.concat(first_effects,", ").." or "..what[#what]
else
what_string=what[1]
end
localwhat=table.concatNice(table.keys(data.what),", "," or ")
return([[Activate the infusion to cure yourself of one random %s effect and increase affinity for all damage by %d%% for %d turns.
return([[Activate the infusion to cure yourself of one random %s effect and increase affinity for all damage by %d%% for %d turns.]]):format(what_string,data.power+data.inc_stat,data.dur)
Also removes cross-tier effects of the affected types for free.]]):format(what,data.power+data.inc_stat,data.dur)