红点修改
This commit is contained in:
parent
7ffd2ee992
commit
9740e4b4f6
@ -94,7 +94,8 @@ function HeroCell:refreshRedPoint()
|
||||
if self.heroEntity == nil then
|
||||
return
|
||||
end
|
||||
if DataManager.EquipData:canUpgradeEquip(self.heroEntity:getCfgId()) then
|
||||
|
||||
if DataManager.FormationData:heroInFormation(GConst.BattleConst.FORMATION_TYPE.STAGE, self.heroEntity:getCfgId()) and DataManager.EquipData:canUpgradeEquip(self.heroEntity:getCfgId()) then
|
||||
self.selfNode:addRedPoint(55, -35, 0.64)
|
||||
else
|
||||
self.selfNode:removeRedPoint()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user