模块:装备获得:修订间差异
来自舰R百科
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第8行: | 第8行: | ||
local equiptName = frame.args[1] | local equiptName = frame.args[1] | ||
local ret = '' | local ret = '' | ||
for i, | for i = 1,1300 do | ||
local shipName = byIndex[v.index] | local shipName = byIndex[i] | ||
if shipName ~= nil then | |||
local shipName = byIndex[v.index] | |||
local eq = {ships[shipName].eq1, ships[shipName].eq2, ships[shipName].eq3, ships[shipName].eq4} | |||
for k = 1, 4 do | |||
if eq[k] == equiptName then | |||
if 1000 < v.index and v.index < 2000 then | |||
ret = ret .. '[[' .. string.sub(shipName, 1, -6) .. '|' .. shipName .. ']]、' | |||
else | |||
ret = ret .. '[[' .. shipName .. ']]、' | |||
end | |||
end | end | ||
end | end | ||