bug修改

dev_chengFeng
wangzhenxing 2021-10-14 21:36:29 +08:00
parent 444f8259ee
commit 474549ea24
3 changed files with 4 additions and 4 deletions

View File

@ -167,7 +167,7 @@ function JumpServerPanel:BtnClick(id)
end
if id == JumpServer_Type.YuXuLunDao then
NetManager.CrossYuXuLunDaoGetInfoRequest(function(msg)
NetManager.CrossYuXuLunDaoGetInfoRequest(1,function(msg)
UIManager.OpenPanel(UIName.WorldArenaMainPanel,msg)
self:ClosePanel()
end)

View File

@ -267,7 +267,7 @@ function WorldArenaBattleInfoPanel:BindEvent()
local haveNum = BagManager.GetItemCountById(itemId)
if haveNum < needNum then
--UIManager.OpenPanel(UIName.QuickPurchasePanel, { type = UpViewRechargeType.yuxulundaoTicket })
PopupTipPanel.ShowTip("邀请函不足!")
PopupTipPanel.ShowTip("挑战券不足!")
return
end
end

View File

@ -62,7 +62,7 @@ function WorldArenaOtherTeamPanel:BindEvent()
end)
Util.AddClick(self.btnChallenge, function()
if time==0 and haveNum<needNum then
PopupTipPanel.ShowTip("邀请函不足!")
PopupTipPanel.ShowTip("挑战券不足!")
return
end
NetManager.CrossYuXuLunDaoChallengeBeforeRequest(PlayerManager.uid,self.playerId,function(msg)
@ -218,7 +218,7 @@ function WorldArenaOtherTeamPanel:SetTeamInfo(_go,teamData)
if not hero.heroid then
return
end
heroData= GoodFriendManager.GetHeroDatas(msg.hero,msg.force,msg.SpecialEffects,msg.guildSkill)
heroData= GoodFriendManager.GetHeroDatas(msg.hero,msg.force,msg.SpecialEffects,msg.guildSkill,msg.treeLevel)
GoodFriendManager.InitEquipData(msg.equip,heroData)--HeroManager.GetSingleHeroData(heroData.dynamicId)
UIManager.OpenPanel(UIName.RoleInfoPopup, heroData,true)
end)