无编辑摘要
无编辑摘要 |
无编辑摘要 |
||
第37行: | 第37行: | ||
local ship = ships[frame.args[1]] | local ship = ships[frame.args[1]] | ||
if ship == nil then return '' end | if ship == nil then return '' end | ||
local ret = ship | |||
if ship.index < 1000 then | if ship.index < 1000 then | ||
ship = byIndex[ship.index] | ship = ships[byIndex[ship.index + 1000]] | ||
if ship ~= nil then ret = ship end | |||
end | end | ||
return ret.index | |||
end | end | ||
return p | return p |