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

Fix inscriptions on the online chardumps

git-svn-id: http://svn.net-core.org/repos/t-engine4@2700 51575b47-30f0-44d4-a5cc-537603b46e54
parent 5ed9ff0e
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ function _M:dumpToJSON(js)
local ins = js:newSection(("inscriptions (%d/%d)"):format(nb_inscriptions, self.max_inscriptions), "inscriptions", "pairs", "break")
for i = 1, self.max_inscriptions do if self.inscriptions[i] then
local t = self:getTalentFromId("T_"..self.inscriptions[i])
local desc = self:getTalentFullDescription(t)
local desc = tostring(self:getTalentFullDescription(t))
local p = t.name:split(": ")
ins[#ins+1] = {[p[1]] = {val=p[2], tooltip=desc}}
end end
......
......@@ -66,7 +66,7 @@ newEntity{
use_no_silence = true,
is_magic_device = true,
fire_destroy = {{10,1}, {20,2}, {40,5}, {60,10}, {120,20}},
desc = [[Magical runes may be inscribes onto your body, granting you an on-demand ability.]],
desc = [[Magical runes may be inscribed onto your body, granting you an on-demand ability.]],
egos = "/data/general/objects/egos/infusions.lua", egos_chance = resolvers.mbonus(30, 5),
power_source = {arcane=true},
......
......@@ -105,7 +105,6 @@ newTalent{
game.level:removeEntity(self)
local mx, my = util.findFreeGrid(self.target.x, self.target.y, 20, true, {[engine.Map.ACTOR]=true})
game.zone:addEntity(game.level, self.target, "actor", mx, my)
game.level.map:redisplay()
end
end,
summoner_gain_exp = true,
......
......@@ -654,7 +654,6 @@ newInscription{
game.level:removeEntity(self)
local mx, my = util.findFreeGrid(self.target.x, self.target.y, 20, true, {[engine.Map.ACTOR]=true})
game.zone:addEntity(game.level, self.target, "actor", mx, my)
game.level.map:redisplay()
end
end,
summoner_gain_exp = true,
......
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