【至尊降世】修复领取前三个奖励后入口消失的问题

dev_chengFeng
gaoxin 2022-03-01 18:35:16 +08:00
parent 9a60ee25f1
commit be34fccc5c
2 changed files with 12 additions and 3 deletions

View File

@ -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)

View File

@ -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)