【任务跳转】未解锁灵兽山,灵兽招募任务前往提示活动未开启,应提示功能未解锁

【红点】车迟斗法的红点仍绑在副本入口处,而非公会按钮
dev_chengFeng
ZhangBiao 2021-07-28 11:20:27 +08:00
parent c8d35b5458
commit ffd0685d97
3 changed files with 14 additions and 4 deletions

View File

@ -490,6 +490,10 @@ function this.IsActivityOpenByJumpIndex(pageIndex, jumpIndex)
if tb[i].IfBack then
if tb[i].ActiveType > 0 then
local id = ActivityGiftManager.IsActivityTypeOpen(tb[i].ActiveType)
-- return id and id > 0 and ActivityGiftManager.IsQualifiled(tb[i].ActiveType)
if not ActivityGiftManager.IsQualifiled(tb[i].ActiveType) then
return 1
end
return id and id > 0 and ActivityGiftManager.IsQualifiled(tb[i].ActiveType)
elseif tb[i].FunType > 0 then
return ActTimeCtrlManager.SingleFuncState(tb[i].FunType)

View File

@ -757,6 +757,11 @@ function this.JumpActivity(data,skipfactor)
this.isOpen = false
return
end
if isOpen == 1 then
PopupTipPanel.ShowTip("功能尚未开启")
this.isOpen = false
return
end
if DynamicActivityManager.curActivityType == data then
DynamicActivityManager.RemoveUIList()
end
@ -800,6 +805,7 @@ function this.GoJumpWithoutTip(_jumpId)
end
function this.GoJump(_jumpId,fun)
Log("jumpId:"..tostring(_jumpId))
this.isOpen = true
this.jumpId = _jumpId
local jumpSData = JumpConfig[_jumpId]

View File

@ -100,10 +100,10 @@ end
-- 初始化红点关系
function this.InitRedPointAllRelate()
RPData:SetParent(RedPointType.OrdinaryExplore, RedPointType.ExploreMain)
RPData:SetParent(RedPointType.HeroExplore, RedPointType.ExploreMain)
RPData:SetParent(RedPointType.EpicExplore, RedPointType.ExploreMain)
RPData:SetParent(RedPointType.LegendExplore, RedPointType.ExploreMain)
RPData:SetParent(RedPointType.OrdinaryExplore, RedPointType.ExploreMain)--大闹天宫
RPData:SetParent(RedPointType.HeroExplore, RedPointType.ExploreMain)--日常副本
RPData:SetParent(RedPointType.EpicExplore, RedPointType.ExploreMain)--心魔试炼
RPData:SetParent(RedPointType.LegendExplore, RedPointType.Guild)--车迟斗法
RPData:SetParent(RedPointType.People_Mirror, RedPointType.Vientiane)
RPData:SetParent(RedPointType.Trial, RedPointType.Vientiane)