英雄礼物显示修改
parent
f2e064faf3
commit
97fc7811be
|
@ -44,6 +44,9 @@ function this.GetCollectLvAndNum()
|
|||
break
|
||||
end
|
||||
end
|
||||
if maxNum==0 then
|
||||
maxNum=curNum
|
||||
end
|
||||
return lv,curNum,maxNum
|
||||
end
|
||||
|
||||
|
|
|
@ -209,8 +209,8 @@ function this.RefreshWindowData()
|
|||
local list=GiftManager.GetHeroGifts(curHeroData.dynamicId)
|
||||
lv,curNum,maxNum=GiftManager.GetCollectLvAndNum()
|
||||
this.lvTxt.text="收集度"..lv.."级"
|
||||
--LogError("lv========="..lv.." curnum=="..curNum.." maxNum=="..maxNum)
|
||||
--local maxNum=20
|
||||
LogError("lv========="..lv.." curnum=="..curNum.." maxNum=="..maxNum)
|
||||
--maxNum=0
|
||||
local giftDatas={}
|
||||
allUpIds={}
|
||||
for i=1,maxNum do
|
||||
|
|
Loading…
Reference in New Issue