共鸣中去掉一键装备红点
parent
2f47e10caf
commit
548e43b486
|
@ -1092,7 +1092,10 @@ function this.UpdateEquipPosHeroData(_equipOrTreasure, _type, _selectEquipDataLi
|
|||
--刷新界面
|
||||
this.ShowHeroEquip()
|
||||
--上阵刷新红点
|
||||
this.allEquipUpRedPoint:SetActive((#HeroManager.GetHeroIsUpEquip(curHeroData.dynamicId) > 0 or (isCanUpEquipTreasure and #HeroManager.GetHeroIsUpTreasure(curHeroData.dynamicId,0) > 0)) and isUpZhen)
|
||||
this.allEquipUpRedPoint:SetActive(isUpZhen and
|
||||
((#HeroManager.GetHeroIsUpEquip(curHeroData.dynamicId) > 0 and not (HarmonyManager.IsInfo(curHeroData.dynamicId) and HarmonyManager.GetSingleAdditions(HarmonyAddType.AddEquip) ~= -1)) or
|
||||
(isCanUpEquipTreasure and #HeroManager.GetHeroIsUpTreasure(curHeroData.dynamicId,0) > 0)
|
||||
))
|
||||
this:OnClickTabBtn(indexBtnNum)
|
||||
-- --刷新当前英雄可穿装备
|
||||
-- if indexBtnNum == PosIdConst.All then
|
||||
|
@ -1191,7 +1194,11 @@ end
|
|||
function this:SortEquipDatas(_equipDatas)
|
||||
if teamHero[curHeroData.dynamicId] then
|
||||
isUpZhen = true
|
||||
this.allEquipUpRedPoint:SetActive((#HeroManager.GetHeroIsUpEquip(curHeroData.dynamicId) > 0 or (isCanUpEquipTreasure and #HeroManager.GetHeroIsUpTreasure(curHeroData.dynamicId,0) > 0)) and isUpZhen)
|
||||
--上阵刷新红点
|
||||
this.allEquipUpRedPoint:SetActive(isUpZhen and
|
||||
((#HeroManager.GetHeroIsUpEquip(curHeroData.dynamicId) > 0 and not (HarmonyManager.IsInfo(curHeroData.dynamicId) and HarmonyManager.GetSingleAdditions(HarmonyAddType.AddEquip) ~= -1)) or
|
||||
(isCanUpEquipTreasure and #HeroManager.GetHeroIsUpTreasure(curHeroData.dynamicId,0) > 0)
|
||||
))
|
||||
curHeroCanUpEquipTabs = HeroManager.GetHeroIsUpEquip(curHeroData.dynamicId)
|
||||
else
|
||||
isUpZhen = false
|
||||
|
|
Loading…
Reference in New Issue