From a1449fd504ed832c7c22f4fb8992bd471b22214a Mon Sep 17 00:00:00 2001 From: gaoxin Date: Wed, 27 Oct 2021 15:14:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E3=80=90=E4=B8=83=E7=95=8C=E8=AF=95?= =?UTF-8?q?=E7=82=BC=E3=80=91=E4=BF=AE=E5=A4=8D=E8=B7=A8=E5=A4=A9=E7=BA=A2?= =?UTF-8?q?=E7=82=B9=E4=B8=8D=E5=88=B7=E6=96=B0=E7=9A=84=E7=BB=B4=E5=A6=AE?= =?UTF-8?q?=E5=A1=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/QiJieShiLian/QiJieShiLianManager.lua | 8 ++++++++ 1 file changed, 8 insertions(+) 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() From aabf86ba56eefb54079d1a4e69498ac2ba6c0a53 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Wed, 27 Oct 2021 16:36:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E3=80=90=E5=B1=B1=E6=B2=B3=E7=A4=BE?= =?UTF-8?q?=E7=A8=B7=E5=9B=BE=E3=80=91=E7=BA=A2=E7=82=B9=E7=88=B6=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Player/RedpotManager.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Player/RedpotManager.lua b/Assets/ManagedResources/~Lua/Modules/Player/RedpotManager.lua index d2a85c4ad7..0d688fb7a7 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)