Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev
commit
f6f48149b1
|
@ -518,6 +518,9 @@ function this.SetSelectHero(isFirstIn,isFirstData,isMainIn)
|
|||
end
|
||||
end
|
||||
end
|
||||
table.sort(d,function (a,b)
|
||||
return HeroManager.GetSingleHeroData(a.heroId).warPower > HeroManager.GetSingleHeroData(b.heroId).warPower
|
||||
end)
|
||||
for i, v in ipairs(d) do
|
||||
if MapTrialManager.selectHeroDid ~= "" then
|
||||
if MapTrialManager.selectHeroDid==v.heroId and v.heroHp <= 0 then
|
||||
|
|
Loading…
Reference in New Issue