【归元】三星卡不在归元列表显示,不能对三星的归元
parent
404a0ffedb
commit
be357f9268
|
@ -100,17 +100,10 @@ function this.GetHeroData(_sortType)
|
|||
for n=1,#data do
|
||||
tempHeros[#tempHeros+1]=data[n]
|
||||
end
|
||||
--筛选非狗粮Hero
|
||||
local noDogHeros={}
|
||||
for k, v in pairs(tempHeros) do
|
||||
if heroConfig[v.id].RankupConsumeMaterial~=nil then
|
||||
noDogHeros[#noDogHeros+1]=v
|
||||
end
|
||||
end
|
||||
--根据元素筛选
|
||||
local heros={}
|
||||
if noDogHeros and LengthOfTable(noDogHeros)>0 then
|
||||
for i, v in pairs(noDogHeros) do
|
||||
if tempHeros and LengthOfTable(tempHeros)>0 then
|
||||
for i, v in pairs(tempHeros) do
|
||||
if _sortType ==0 then
|
||||
table.insert(heros,v)
|
||||
-- elseif _sortType>=7 then
|
||||
|
|
Loading…
Reference in New Issue