From a1449fd504ed832c7c22f4fb8992bd471b22214a Mon Sep 17 00:00:00 2001 From: gaoxin Date: Wed, 27 Oct 2021 15:14:47 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=B8=83=E7=95=8C=E8=AF=95=E7=82=BC?= =?UTF-8?q?=E3=80=91=E4=BF=AE=E5=A4=8D=E8=B7=A8=E5=A4=A9=E7=BA=A2=E7=82=B9?= =?UTF-8?q?=E4=B8=8D=E5=88=B7=E6=96=B0=E7=9A=84=E7=BB=B4=E5=A6=AE=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()