From be34fccc5cb575d002902c7fcaeeff137821d66d Mon Sep 17 00:00:00 2001 From: gaoxin Date: Tue, 1 Mar 2022 18:35:16 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=87=B3=E5=B0=8A=E9=99=8D=E4=B8=96?= =?UTF-8?q?=E3=80=91=E4=BF=AE=E5=A4=8D=E9=A2=86=E5=8F=96=E5=89=8D=E4=B8=89?= =?UTF-8?q?=E4=B8=AA=E5=A5=96=E5=8A=B1=E5=90=8E=E5=85=A5=E5=8F=A3=E6=B6=88?= =?UTF-8?q?=E5=A4=B1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Main/MainPanel.lua | 10 ++++++++-- .../~Lua/Modules/Popup/RewardItemSingleShowPopup.lua | 5 ++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua index 4621126854..fa78d4b0d0 100644 --- a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua @@ -1458,7 +1458,10 @@ function this.TimeFormat() local QingLong = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType) if QingLong and QingLong > 0 and ActivityGiftManager.IsQualifiled(v.ActiveType) then if v.ActiveType == 42 then - if ActivityGiftManager.CheckSupremeMission(1,true) and ActivityGiftManager.CheckSupremeMission(2,true) and ActivityGiftManager.CheckSupremeMission(3,true) then + if ActivityGiftManager.CheckSupremeMission(1,true) + and ActivityGiftManager.CheckSupremeMission(2,true) + and ActivityGiftManager.CheckSupremeMission(3,true) + and ActivityGiftManager.CheckSupremeMission(4,true) then showTab = false else local endTime = ActivityGiftManager.GetTaskEndTime(ActivityTypeDef.SupremeHero) @@ -1721,7 +1724,10 @@ function this.RefreshActivityShow() local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType) if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(v.ActiveType) then if v.ActiveType == 42 then - if ActivityGiftManager.CheckSupremeMission(1,true) and ActivityGiftManager.CheckSupremeMission(2,true) and ActivityGiftManager.CheckSupremeMission(3,true) then + if ActivityGiftManager.CheckSupremeMission(1,true) + and ActivityGiftManager.CheckSupremeMission(2,true) + and ActivityGiftManager.CheckSupremeMission(3,true) + and ActivityGiftManager.CheckSupremeMission(4,true) then showTab = false else local endTime = ActivityGiftManager.GetTaskEndTime(ActivityTypeDef.SupremeHero) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemSingleShowPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemSingleShowPopup.lua index 538ea71b6e..1a6dd69ba1 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemSingleShowPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemSingleShowPopup.lua @@ -426,7 +426,10 @@ function RewardItemSingleShowPopup:OnShow() elseif JumpConfig[jumpDataList[i]].Type == JumpType.ZhiZunJiangShi then local id = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.SupremeHero) if id and id > 0 then - if ActivityGiftManager.CheckSupremeMission(1,true) and ActivityGiftManager.CheckSupremeMission(2,true) and ActivityGiftManager.CheckSupremeMission(3,true) then + if ActivityGiftManager.CheckSupremeMission(1,true) + and ActivityGiftManager.CheckSupremeMission(2,true) + and ActivityGiftManager.CheckSupremeMission(3,true) + and ActivityGiftManager.CheckSupremeMission(4,true)then isShow = false else local endTime = ActivityGiftManager.GetTaskEndTime(ActivityTypeDef.SupremeHero)