【ID1010432】

【四灵试炼】编队界面的神将排序改为与心魔试炼相同
dev_chengFeng
jiaoyangna 2021-10-11 11:33:55 +08:00
parent 1269b5b114
commit 5f15c8549e
1 changed files with 3 additions and 3 deletions

View File

@ -77,10 +77,10 @@ function this.SortHeroDatas(data)
end
table.sort(data,function(a,b)
if a.fourElementSortId == b.fourElementSortId then
if a.warPower == b.warPower then
return a.star > b.star
else
if a.star == b.star then
return a.warPower > b.warPower
else
return a.star > b.star
end
else
return a.fourElementSortId > b.fourElementSortId