diff --git a/Assets/ManagedResources/~Lua/Modules/Player/RedpotManager.lua b/Assets/ManagedResources/~Lua/Modules/Player/RedpotManager.lua index 9f47c087c2..3aafdce8d0 100644 --- a/Assets/ManagedResources/~Lua/Modules/Player/RedpotManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Player/RedpotManager.lua @@ -103,6 +103,8 @@ function this.InitRedPointAllRelate() RPData:SetParent(RedPointType.OrdinaryExplore, RedPointType.ExploreMain)--大闹天宫 RPData:SetParent(RedPointType.HeroExplore, RedPointType.ExploreMain)--日常副本 RPData:SetParent(RedPointType.EpicExplore, RedPointType.ExploreMain)--心魔试炼 + RPData:SetParent(RedPointType.FightLevel, RedPointType.ExploreMain)--山河社稷图 + RPData:SetParent(RedPointType.LegendExplore, RedPointType.Guild)--车迟斗法 RPData:SetParent(RedPointType.HeartDemon,RedPointType.EpicExplore) RPData:SetParent(RedPointType.PersonTrail,RedPointType.EpicExplore) @@ -165,7 +167,7 @@ function this.InitRedPointAllRelate() RPData:SetParent(RedPointType.DailyTask, RedPointType.DailyTaskMain) RPData:SetParent(RedPointType.QinglongSerectTreasure, RedPointType.DailyTaskMain) RPData:SetParent(RedPointType.QinglongSerectTreasureTrail, RedPointType.DailyTaskMain) - RPData:SetParent(RedPointType.FightLevel, RedPointType.SecretTer) + -- RPData:SetParent(RedPointType.FightLevel, RedPointType.SecretTer) RPData:SetParent(RedPointType.JourneyWithWind, RedPointType.SecretTer) -- RPData:SetParent(RedPointType.QinglongSerectTreasure, RedPointType.TreasureOfSl) -- RPData:SetParent(RedPointType.QinglongSerectTreasureTrail, RedPointType.TreasureOfSl) diff --git a/Assets/ManagedResources/~Lua/Modules/QiJieShiLian/QiJieShiLianManager.lua b/Assets/ManagedResources/~Lua/Modules/QiJieShiLian/QiJieShiLianManager.lua index 773a9bb2d1..005a6556ac 100644 --- a/Assets/ManagedResources/~Lua/Modules/QiJieShiLian/QiJieShiLianManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/QiJieShiLian/QiJieShiLianManager.lua @@ -23,6 +23,14 @@ function this.Initialize() this.treasureActiveList = {} this.InitTreasureData() this.battleResult = {} + + -- 特权刷新时,刷新红点 + Game.GlobalEvent:AddEvent(GameEvent.Privilege.OnPrivilegeUpdate, function(PrivilegeId) + if PrivilegeId == 3201 then + -- 检测七界试炼红点 + CheckRedPointStatus(RedPointType.QiJieShiLian) + end + end) end function this.InitTreasureData()