parent
1269b5b114
commit
5f15c8549e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue