竞技场类型修改礼物修改

SK_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()
--显示上面赠送的
local list=GiftManager.GetPlayerGifts()
local maxNum=16
local maxNum=12
if #list>maxNum then
maxNum=#list+4
end

View File

@ -228,13 +228,13 @@ function this.RefreshWindowData()
--显示上面赠送的
local list=GiftManager.GetHeroGifts(curHeroData.dynamicId)
lv,curNum,maxNum=GiftManager.GetCollectLvAndNum()
if #list>=50 then
curNum=#list+6
maxNum=#list+6
else
curNum=50
maxNum=50
end
--if #list>=50 then
--curNum=#list+6
--maxNum=#list+6
--else
curNum=12
maxNum=12
--end
this.lvTxt.text="收集度"..lv..""
LogError("lv========="..lv.." curnum=="..curNum.." maxNum=="..maxNum)
--maxNum=0
@ -340,11 +340,11 @@ function this.SingleUpItemShow(_go,data,_index)
icon.sprite=this.spLoader:LoadSprite(GetResourcePath(itemConfig[data.id].ResourceID))
SetHeroStars(this.spLoader,starGrid,equipConfig[data.id].Star,1,nil,-15)
Util.AddOnceClick(icon.gameObject,function()
if curHeroData==nil then
return
end
BagManager.isBagPanel=false
UIManager.OpenPanel(UIName.RewardEquipSingleShowPopup2,this,data,2,false,nil,curHeroData,4)
if curHeroData==nil then
return
end
BagManager.isBagPanel=false
UIManager.OpenPanel(UIName.RewardEquipSingleShowPopup2,this,data,2,false,nil,curHeroData,4)
end
)
else