至尊降世活动结束不关闭提交
parent
f7db9fc907
commit
031895a9d1
|
@ -1360,9 +1360,9 @@ 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) then
|
||||
showTab = false
|
||||
else
|
||||
-- if ActivityGiftManager.CheckSupremeMission(1,true) and ActivityGiftManager.CheckSupremeMission(2,true) then
|
||||
-- showTab = false
|
||||
-- else
|
||||
local endTime = ActivityGiftManager.GetTaskEndTime(ActivityTypeDef.SupremeHero)
|
||||
if endTime - PlayerManager.serverTime > 0 then
|
||||
local time = endTime - PlayerManager.serverTime
|
||||
|
@ -1374,7 +1374,7 @@ function this.TimeFormat()
|
|||
else
|
||||
showTab = false
|
||||
end
|
||||
end
|
||||
--end
|
||||
elseif v.ActiveType == ActivityTypeDef.TreasureStore then
|
||||
local endTime = CalculateSecondsNowTo_N_OClock(24)
|
||||
if endTime > 0 then
|
||||
|
@ -1617,16 +1617,16 @@ 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) then
|
||||
showTab = false
|
||||
else
|
||||
-- if ActivityGiftManager.CheckSupremeMission(1,true) and ActivityGiftManager.CheckSupremeMission(2,true) then
|
||||
-- showTab = false
|
||||
-- else
|
||||
local endTime = ActivityGiftManager.GetTaskEndTime(ActivityTypeDef.SupremeHero)
|
||||
if endTime - PlayerManager.serverTime > 0 then
|
||||
showTab = true
|
||||
else
|
||||
showTab = false
|
||||
end
|
||||
end
|
||||
--end
|
||||
elseif v.FunType and v.FunType == 41 then
|
||||
showTab = DailyRechargeManager.GetDailyRechargeExist()
|
||||
elseif v.ActiveType == 78 then
|
||||
|
|
|
@ -384,16 +384,16 @@ 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) then
|
||||
isShow = false
|
||||
else
|
||||
-- if ActivityGiftManager.CheckSupremeMission(1,true) and ActivityGiftManager.CheckSupremeMission(2,true) then
|
||||
-- isShow = false
|
||||
-- else
|
||||
local endTime = ActivityGiftManager.GetTaskEndTime(ActivityTypeDef.SupremeHero)
|
||||
if endTime - PlayerManager.serverTime > 0 then
|
||||
isShow = true
|
||||
else
|
||||
isShow = false
|
||||
end
|
||||
end
|
||||
--end
|
||||
else
|
||||
isShow = false
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue