模块:ItemInfo:修订间差异
跳转到导航
跳转到搜索
fixed a bug
(fixed bugs) |
(fixed a bug) |
||
第28行: | 第28行: | ||
local function recryFilter(recry) | local function recryFilter(recry) | ||
local game = 'AT1' | |||
if recry.s_prod == -1 then | if recry.s_prod == -1 then | ||
recry.s_prod = nil | recry.s_prod = nil | ||
else | else | ||
recry.s_prod = p.loadItemById(recry.s_prod).name | recry.s_prod = p.loadItemById(game, recry.s_prod).name | ||
end | end | ||
if recry.a_prod == -1 then | if recry.a_prod == -1 then | ||
recry.a_prod = nil | recry.a_prod = nil | ||
else | else | ||
recry.a_prod = p.loadItemById(recry.a_prod).name | recry.a_prod = p.loadItemById(game, recry.a_prod).name | ||
end | end | ||
if recry.b_prod == -1 then | if recry.b_prod == -1 then | ||
recry.b_prod = nil | recry.b_prod = nil | ||
else | else | ||
recry.b_prod = p.loadItemById(recry.b_prod).name | recry.b_prod = p.loadItemById(game, recry.b_prod).name | ||
end | end | ||
if recry.c_prod == -1 then | if recry.c_prod == -1 then | ||
recry.c_prod = nil | recry.c_prod = nil | ||
else | else | ||
recry.c_prod = p.loadItemById(recry.c_prod).name | recry.c_prod = p.loadItemById(game, recry.c_prod).name | ||
end | end | ||
end | end |