法相属性刷新

dev_chengFeng
wangzhenxing 2023-02-20 11:44:20 +08:00
parent 726b53355e
commit 2218dd8f6e
1 changed files with 3 additions and 0 deletions

View File

@ -159,6 +159,7 @@ function RewardTalismanSingleShowPopup2:BindEvent()
NetManager.WearFaxiangEquipRequest(self.curHeroData.dynamicId,equipIdList,1,function ()
self:ClosePanel()
self.parent.UpdateEquipPosHeroData(3,typeToUpdate[self.openType],equipDataList,0,self.position)
HeroPropManager.SetDirtyByType(self.curHeroData.dynamicId, Hero_Prop_Type.FaXiang)
end)
else
NetManager.EquipWearRequest(self.curHeroData.dynamicId,equipIdList,2,function ()
@ -178,6 +179,7 @@ function RewardTalismanSingleShowPopup2:BindEvent()
NetManager.WearFaxiangEquipRequest(self.curHeroData.dynamicId,equipIdList,2,function ()
self:ClosePanel()
self.parent.UpdateEquipPosHeroData(3,typeToUpdate[self.openType],equipDataList)
HeroPropManager.SetDirtyByType(self.curHeroData.dynamicId, Hero_Prop_Type.FaXiang)
end)
else
NetManager.EquipUnLoadOptRequest(self.curHeroData.dynamicId,equipIdList ,2,function ()
@ -206,6 +208,7 @@ function RewardTalismanSingleShowPopup2:BindEvent()
NetManager.WearFaxiangEquipRequest(self.curHeroData.dynamicId,equipIdList,3,function ()
self:ClosePanel()
self.parent.UpdateEquipPosHeroData(3,typeToUpdate[self.openType],equipDataList,self.nextEquip,self.position)
HeroPropManager.SetDirtyByType(self.curHeroData.dynamicId, Hero_Prop_Type.FaXiang)
end)
else
NetManager.EquipWearRequest(self.curHeroData.dynamicId,equipIdList,2,function ()