SK_LongZhu
parent
cdf0c441fc
commit
f3638cdc63
|
|
@ -401,7 +401,7 @@ function this.GetAllSEquipsByPosition(_position)
|
|||
|
||||
local equips = {}
|
||||
for i = 1, #starEquips do
|
||||
if starEquips[i].Star and starEquips[i].Star > 0 and starEquips[i].Star < 18 and starEquips[i].Star ~= 1 then --最低等级的装备 合成不了
|
||||
if starEquips[i].Star and starEquips[i].Star > 0 and starEquips[i].Star < 12 and starEquips[i].Star ~= 1 then --最低等级的装备 合成不了
|
||||
table.insert(equips, starEquips[i])
|
||||
end
|
||||
end
|
||||
|
|
@ -423,30 +423,33 @@ function this.GetAllSEquipsByPosition(_position)
|
|||
end
|
||||
function this.GetAllGodEquips()
|
||||
local starEquips={}
|
||||
local list = ConfigManager.GetAllConfigsDataByKey(ConfigName.EquipConfig, "Quality", 7)
|
||||
for i=1,#list do
|
||||
if list[i].Position<5 then
|
||||
table.insert(starEquips,list[i])
|
||||
end
|
||||
end
|
||||
local starEquips2 ={}
|
||||
local list2=ConfigManager.GetAllConfigsDataByKey(ConfigName.EquipConfig, "Quality", 8)
|
||||
local list2=ConfigManager.GetAllConfigsDataByKey(ConfigName.EquipConfig, "Quality", 6)
|
||||
for i=1,#list2 do
|
||||
if list2[i].Position<5 then
|
||||
table.insert(starEquips,list2[i])
|
||||
end
|
||||
end
|
||||
local list3=ConfigManager.GetAllConfigsDataByKey(ConfigName.EquipConfig, "Quality", 7)
|
||||
for i=1,#list3 do
|
||||
if list3[i].Position<5 then
|
||||
table.insert(starEquips,list3[i])
|
||||
end
|
||||
end
|
||||
local equips = {}
|
||||
for i = 1, #starEquips do
|
||||
if starEquips[i].Star and starEquips[i].Star > 0 and starEquips[i].Star ~= 18 then --最低等级的装备 合成不了
|
||||
if starEquips[i].Star and starEquips[i].Star > 0 and starEquips[i].Star ~= 12 then --最低等级的装备 合成不了
|
||||
table.insert(equips, starEquips[i])
|
||||
end
|
||||
end
|
||||
for i = 1, #starEquips2 do
|
||||
--[[
|
||||
for i = 1, #starEquips2 do
|
||||
if starEquips2[i].Star and starEquips2[i].Star > 0 and starEquips2[i].Star ~= 18 then --最低等级的装备 合成不了
|
||||
table.insert(equips, starEquips2[i])
|
||||
end
|
||||
end
|
||||
]]
|
||||
|
||||
table.sort(
|
||||
equips,
|
||||
function(a, b)
|
||||
|
|
|
|||
Loading…
Reference in New Issue