parent
1269b5b114
commit
5f15c8549e
|
@ -77,10 +77,10 @@ function this.SortHeroDatas(data)
|
||||||
end
|
end
|
||||||
table.sort(data,function(a,b)
|
table.sort(data,function(a,b)
|
||||||
if a.fourElementSortId == b.fourElementSortId then
|
if a.fourElementSortId == b.fourElementSortId then
|
||||||
if a.warPower == b.warPower then
|
if a.star == b.star then
|
||||||
return a.star > b.star
|
|
||||||
else
|
|
||||||
return a.warPower > b.warPower
|
return a.warPower > b.warPower
|
||||||
|
else
|
||||||
|
return a.star > b.star
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
return a.fourElementSortId > b.fourElementSortId
|
return a.fourElementSortId > b.fourElementSortId
|
||||||
|
|
Loading…
Reference in New Issue