【云游商人】顺序修改
parent
61539a1e89
commit
f3e9d3b2a5
|
@ -20,6 +20,7 @@ local TypeUpdateFunc = {
|
|||
curData.rewards[i].otherData.needItems = configData[j].NeedItems
|
||||
curData.rewards[i].otherData.count = configData[j].Count
|
||||
curData.rewards[i].otherData.composeType = configData[j].ComposeType
|
||||
curData.rewards[i].otherData.Sort = configData[j].Sort
|
||||
curData.rewards[i].otherData.IsShowItem = configData[j].IsShowItem == 1 and true or false
|
||||
curData.rewards[i].otherData.selectId = 0
|
||||
end
|
||||
|
@ -32,11 +33,9 @@ local TypeUpdateFunc = {
|
|||
if a.progress > 0 and b.progress == 0 then
|
||||
return true
|
||||
end
|
||||
return a.missionId < b.missionId
|
||||
-- if a.progress == b.progress then
|
||||
-- else
|
||||
-- return a.progress > b.progress
|
||||
-- end
|
||||
if (a.progress == 0 and b.progress == 0) or (a.progress > 0 and b.progress > 0) then
|
||||
return a.otherData.Sort < b.otherData.Sort
|
||||
end
|
||||
end)
|
||||
end,
|
||||
[ActivityTypeDef.ContinuityRecharge] = function ()
|
||||
|
|
Loading…
Reference in New Issue