【限时Up】加入神将版本判断

dev_chengFeng
gaoxin 2022-02-11 16:22:44 +08:00
parent 0ec5cf102a
commit c2b4647418
1 changed files with 4 additions and 1 deletions

View File

@ -101,7 +101,10 @@ function this:Refresh(_page)
if not heroDatas[heros[i][2]] then
heroDatas[heros[i][2]] = {}
end
table.insert(heroDatas[heros[i][2]],{CONFIG[heros[i][1]],heros[i][2]})
-- 特殊物品 或者 加入了版本的神将
if heros[i][2] == 5 or HeroManager.InVersion(heros[i][1]) then
table.insert(heroDatas[heros[i][2]],{CONFIG[heros[i][1]],heros[i][2]})
end
end
end
for i = 1, 5 do