【主城添加鸿蒙碑升级的红点检测】
parent
375f27f50e
commit
1e2c5ea7c6
|
@ -606,7 +606,7 @@ function this.RefreshUpTowerPoint()
|
|||
if prop and BagManager.GetTotalItemNum(UpViewRechargeType.Gold) >= prop.LevelUp[1][2] then
|
||||
-- body
|
||||
if BagManager.GetTotalItemNum(UpViewRechargeType.GrowthAmulet) >= prop.LevelUp[2][2] then
|
||||
print("true")
|
||||
LogGreen("true")
|
||||
return true
|
||||
end
|
||||
|
||||
|
@ -620,6 +620,10 @@ function this.RefreshUpTowerPoint()
|
|||
return false
|
||||
|
||||
end
|
||||
--检测主城红点
|
||||
function this.CheckRedPoinStatusUpTowerMainCityRed()
|
||||
CheckRedPointStatus(RedPointType.HongMeng_UpTower)
|
||||
end
|
||||
--票战力
|
||||
local oldPowerNum = 0
|
||||
function this.SetOldPowerNum(did)
|
||||
|
|
|
@ -1245,6 +1245,9 @@ function this:OnShow()
|
|||
|
||||
--检测灵兽红点
|
||||
PokemonManager.CheckRedPointStatusPokemonMainCityRed()
|
||||
|
||||
--检测鸿蒙碑红点
|
||||
HarmonyManager.CheckRedPoinStatusUpTowerMainCityRed()
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue