竞技场类型修改礼物修改

TCX_LongZhu
PC-202302260912\Administrator 2025-06-01 19:24:53 +08:00
parent a3efff6e68
commit 23bac06410
3 changed files with 5991 additions and 387 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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

View File

@ -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