竞技场类型修改礼物修改
parent
a3efff6e68
commit
23bac06410
File diff suppressed because it is too large
Load Diff
|
|
@ -174,7 +174,7 @@ function this.RefreshWindowData()
|
||||||
this.ChangePowerValue()
|
this.ChangePowerValue()
|
||||||
--显示上面赠送的
|
--显示上面赠送的
|
||||||
local list=GiftManager.GetPlayerGifts()
|
local list=GiftManager.GetPlayerGifts()
|
||||||
local maxNum=16
|
local maxNum=12
|
||||||
if #list>maxNum then
|
if #list>maxNum then
|
||||||
maxNum=#list+4
|
maxNum=#list+4
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -228,13 +228,13 @@ function this.RefreshWindowData()
|
||||||
--显示上面赠送的
|
--显示上面赠送的
|
||||||
local list=GiftManager.GetHeroGifts(curHeroData.dynamicId)
|
local list=GiftManager.GetHeroGifts(curHeroData.dynamicId)
|
||||||
lv,curNum,maxNum=GiftManager.GetCollectLvAndNum()
|
lv,curNum,maxNum=GiftManager.GetCollectLvAndNum()
|
||||||
if #list>=50 then
|
--if #list>=50 then
|
||||||
curNum=#list+6
|
--curNum=#list+6
|
||||||
maxNum=#list+6
|
--maxNum=#list+6
|
||||||
else
|
--else
|
||||||
curNum=50
|
curNum=12
|
||||||
maxNum=50
|
maxNum=12
|
||||||
end
|
--end
|
||||||
this.lvTxt.text="收集度"..lv.."级"
|
this.lvTxt.text="收集度"..lv.."级"
|
||||||
LogError("lv========="..lv.." curnum=="..curNum.." maxNum=="..maxNum)
|
LogError("lv========="..lv.." curnum=="..curNum.." maxNum=="..maxNum)
|
||||||
--maxNum=0
|
--maxNum=0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue