模块:装备获得:修订间差异
来自舰R百科
更多操作
小 优化 |
小 防止出现重复的舰名 |
||
| 第14行: | 第14行: | ||
for k = 1, 4 do | for k = 1, 4 do | ||
if eq[k] == equiptName then | if eq[k] == equiptName then | ||
if eq[k] == eq[k-1] or eq[k] == eq[k-2] or eq[k] == eq[k-3] then | |||
break | |||
end | |||
if 1000 < ships[shipName].index and ships[shipName].index < 2000 then | if 1000 < ships[shipName].index and ships[shipName].index < 2000 then | ||
local shipBaseName = byIndex[i - 1000] | local shipBaseName = byIndex[i - 1000] | ||