【线上】【鸿蒙阵】共鸣装备无法卸下,弹服务器开小差
parent
5d57464da8
commit
23f90ccf52
|
@ -89,6 +89,7 @@ function RoleEquipChangePopup:BindEvent()
|
||||||
openThisPanel.UpdateEquipPosHeroData(1,type,equipDataList,0,position)
|
openThisPanel.UpdateEquipPosHeroData(1,type,equipDataList,0,position)
|
||||||
end)
|
end)
|
||||||
else
|
else
|
||||||
|
|
||||||
NetManager.EquipUnLoadOptRequest(curHeroData.dynamicId,equipIdList ,1, function ()
|
NetManager.EquipUnLoadOptRequest(curHeroData.dynamicId,equipIdList ,1, function ()
|
||||||
self:ClosePanel()
|
self:ClosePanel()
|
||||||
openThisPanel.UpdateEquipPosHeroData(1,type,equipDataList)
|
openThisPanel.UpdateEquipPosHeroData(1,type,equipDataList)
|
||||||
|
@ -151,8 +152,12 @@ function RoleEquipChangePopup:OnShow()
|
||||||
this.equipPanel[2].bg:SetActive(false)
|
this.equipPanel[2].bg:SetActive(false)
|
||||||
this.equipPanel[1].bg:SetActive(true)
|
this.equipPanel[1].bg:SetActive(true)
|
||||||
this.equipPanel[1].curEquipText:SetActive(false)
|
this.equipPanel[1].curEquipText:SetActive(false)
|
||||||
this.equipPanel[1].curEquipBtnDown:SetActive(true)
|
|
||||||
this.equipPanel[1].curEquipBtnDownText.text = Language[12221]
|
this.equipPanel[1].curEquipBtnDownText.text = Language[12221]
|
||||||
|
if HarmonyManager:IsShowGongMingEqiup(curHeroData.dynamicId) and curHeroData.harmonyGongMing then
|
||||||
|
this.equipPanel[1].curEquipBtnDown:SetActive(false)
|
||||||
|
else
|
||||||
|
this.equipPanel[1].curEquipBtnDown:SetActive(true)
|
||||||
|
end
|
||||||
this.ShowCurEquipData(1)
|
this.ShowCurEquipData(1)
|
||||||
elseif type==3 then
|
elseif type==3 then
|
||||||
this.equipPanel[2].bg:SetActive(true)
|
this.equipPanel[2].bg:SetActive(true)
|
||||||
|
|
Loading…
Reference in New Issue