diff --git a/Assets/ManagedResources/~Lua/Modules/Harmony/Manager/HarmonyManager.lua b/Assets/ManagedResources/~Lua/Modules/Harmony/Manager/HarmonyManager.lua index 87d360d104..ef232eb44d 100644 --- a/Assets/ManagedResources/~Lua/Modules/Harmony/Manager/HarmonyManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Harmony/Manager/HarmonyManager.lua @@ -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) diff --git a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua index 8d89160c0f..2e4bb972a6 100644 --- a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua @@ -1245,6 +1245,9 @@ function this:OnShow() --检测灵兽红点 PokemonManager.CheckRedPointStatusPokemonMainCityRed() + + --检测鸿蒙碑红点 + HarmonyManager.CheckRedPoinStatusUpTowerMainCityRed() end