【限时活动】奖励顺序调整

dev_chengFeng
ZhangBiao 2021-04-22 15:53:47 +08:00
parent 2b122d7fee
commit 045b0d80b3
1 changed files with 7 additions and 0 deletions

View File

@ -139,6 +139,13 @@ function this.GetExpertData(indexType,actType)
end
end
end
table.sort(dataList[actType].rewards,function (a,b)
if a.state == b.state then
return a.missionId < b.missionId
else
return a.state < b.state
end
end)
end
function this.GetData(actType)