天地烘炉提交
parent
4a82bcc664
commit
410fb55f66
|
@ -120,14 +120,10 @@ function this:OnShow(_parent,_Data)
|
||||||
local newList = {}
|
local newList = {}
|
||||||
itemList = RecruitManager.GetRewardPreviewData(poolType)
|
itemList = RecruitManager.GetRewardPreviewData(poolType)
|
||||||
local souls = RecruitManager.GetWishTailsManSoulChips()
|
local souls = RecruitManager.GetWishTailsManSoulChips()
|
||||||
for i = 1,#itemList do
|
|
||||||
for k,v in pairs(souls) do
|
for k,v in pairs(souls) do
|
||||||
if itemList[i].Reward[1] == v then
|
table.insert(newList,{Reward = {v,1},WeightShow = itemList[k].WeightShow})
|
||||||
table.insert(newList,itemList[i])
|
|
||||||
break
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
LogGreen("#newList:"..#newList)
|
||||||
UpItemList = newList
|
UpItemList = newList
|
||||||
else
|
else
|
||||||
UpItemList = RecruitManager.GetRewardPreviewData(poolUpType)
|
UpItemList = RecruitManager.GetRewardPreviewData(poolUpType)
|
||||||
|
@ -204,7 +200,7 @@ function this:BuildRateData(actType,UpItem,upItemList)
|
||||||
elseif actType == ActivityTypeDef.tiandihonglu then
|
elseif actType == ActivityTypeDef.tiandihonglu then
|
||||||
for n,m in ipairs(upItemList) do
|
for n,m in ipairs(upItemList) do
|
||||||
local itemConfig=ConfigManager.TryGetConfigData(ConfigName.ItemConfig, m.Reward[1])
|
local itemConfig=ConfigManager.TryGetConfigData(ConfigName.ItemConfig, m.Reward[1])
|
||||||
table.insert(_upRateList,{id = m.Reward[1],tag = "法宝碎片UP!", name=itemConfig.Name,value = m.Weight,color = "AD4152"})
|
table.insert(_upRateList,{id = m.Reward[1],tag = "法宝碎片UP!", name=itemConfig.Name,value = m.WeightShow,color = "AD4152"})
|
||||||
end
|
end
|
||||||
rateList = this:RefreshSoulRate(UpItem,_upRateList,ItemType.talismanSoulChip)
|
rateList = this:RefreshSoulRate(UpItem,_upRateList,ItemType.talismanSoulChip)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue