【寻仙招募】奖励预览报错
parent
be34fccc5c
commit
ee77648eb1
|
@ -53,7 +53,6 @@ function this:OnShow(_parent,_Data)
|
|||
this.content.text= str
|
||||
|
||||
activityType = args[2]
|
||||
local str2 = ActivityGiftManager.GetTimeStartToEnd(activityType)
|
||||
|
||||
local poolUpType = args[3] or 0
|
||||
local poolType = args[4] or 0
|
||||
|
@ -200,10 +199,12 @@ function this:BuildRateData(actType,UpItem,upItemList)
|
|||
local itemConfig=ConfigManager.TryGetConfigData(ConfigName.ItemConfig, m.Reward[1])
|
||||
table.insert(rateList,{id = m.Reward[1],tag = "心愿UP神将/道具", name=itemConfig.Name,value = m.Weight,color = "AD4152"})
|
||||
table.insert(_upRateList,{id = m.Reward[1],tag = "5星神将UP!", name=itemConfig.Name,value = m.Weight})
|
||||
LogGreen("name:"..tostring(itemConfig.Name).." weight:"..tostring(m.Weight))
|
||||
end
|
||||
for n,m in ipairs(UpItem) do
|
||||
local itemConfig=ConfigManager.TryGetConfigData(ConfigName.ItemConfig, m.Reward[1])
|
||||
table.insert(rateList,{id = m.Reward[1],tag = itemConfig.Name, name=m.Reward[2],value = m.Weight,color = "BDB69C" })
|
||||
LogYellow("name:"..tostring(itemConfig.Name).." weight:"..tostring(m.Weight))
|
||||
end
|
||||
elseif actType == ActivityTypeDef.tiandihonglu then
|
||||
for n,m in ipairs(upItemList) do
|
||||
|
|
Loading…
Reference in New Issue