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