From 9db47caa8eb47b16f724ffd3022b62879817367f Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Mon, 6 Dec 2021 18:59:57 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=BF=9E=E8=B4=AD=E7=A4=BC=E5=8C=85?= =?UTF-8?q?=E3=80=91=E8=B7=B3=E8=BD=AC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Player/JumpManager.lua | 6 +++++- Assets/ManagedResources/~Lua/View/UpView.lua | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Player/JumpManager.lua b/Assets/ManagedResources/~Lua/Modules/Player/JumpManager.lua index 81772df2f1..ded7d6e2f5 100644 --- a/Assets/ManagedResources/~Lua/Modules/Player/JumpManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Player/JumpManager.lua @@ -728,7 +728,11 @@ local jumpDic = { end end, [JumpType.zhenqibaoge] = function(data) - this.JumpActivity(JumpType.zhenqibaoge,data[1]) + local id= ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.ContinuePackage) + local id2= ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.YiJingBaoKu) + if id then + JumpManager.GoJump(40050,nil,id2) + end end, [JumpType.LingShouTehui] = function(data)--零售特惠 this.JumpActivity(JumpType.LingShouTehui,data[1]) diff --git a/Assets/ManagedResources/~Lua/View/UpView.lua b/Assets/ManagedResources/~Lua/View/UpView.lua index cc40517b0b..0ba57f356f 100644 --- a/Assets/ManagedResources/~Lua/View/UpView.lua +++ b/Assets/ManagedResources/~Lua/View/UpView.lua @@ -363,8 +363,12 @@ function UpView:RechargeType(_type) JumpManager.GoJump(40014) elseif _type == UpViewRechargeType.HuaLingFu then--跳灵兽特惠 JumpManager.GoJump(40010) - elseif _type == UpViewRechargeType.XunBaoMiZong then--寻宝迷踪->惊喜礼盒 - JumpManager.GoJump(36041) + elseif _type == UpViewRechargeType.XunBaoMiZong then--寻宝迷踪->珍奇宝阁 + local id= ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.ContinuePackage) + local id2= ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.XunBaoMiZong) + if id then + JumpManager.GoJump(40050,nil,id2) + end elseif _type == UpViewRechargeType.GrowthAmulet or _type == UpViewRechargeType.Yaoh or _type == UpViewRechargeType.Panacea or