biandui update

dev_chengFeng
jiaoyangna 2020-08-27 21:29:03 +08:00
parent f25bdb2d17
commit f2f3b77260
1 changed files with 0 additions and 2 deletions

View File

@ -2963,12 +2963,10 @@ function this.ByReplaceHeroGetAllHeros()
for k,v in ipairs(sortHeroList) do
local isFormations = {}
for n, w in ipairs(v.formationList) do
if w ~= 1301 and w ~= 401 then
local isFormationStr = HeroManager.GetHeroFormationStr(w)
if isFormationStr and isFormationStr ~= "" then
table.insert(isFormations, w)
end
end
end
v.isFormations = isFormations
end