点将台引导修改提交

dev_chengFeng
jiaoyangna 2021-12-20 16:31:57 +08:00
parent d947607282
commit 0051c48c65
3 changed files with 5 additions and 1 deletions

View File

@ -22,6 +22,7 @@ function this.Initialize()
Game.GlobalEvent:AddEvent(GameEvent.Mission.OnPassFight,this.OnFightPass)
end
this.IsFirstOpenHarmonyBei = false
this.curId = -1
function this.EndlessGuideFun()
if not AppConst.isGuide then

View File

@ -605,6 +605,7 @@ function this.NextGuide(nextId)
end
GuideManager.SyncServer(curId)
local next = type(nextId) == "number" and nextId or GuideConfig[curId].Next
GuideManager.curId = next
Log("下一个引导Id = ".. tostring(next))
if next ~= 0 and GuideConfig[next].OpenType == 0 then --触发方式为0时直接跳转
GuideManager.ShowGuide(next)

View File

@ -307,8 +307,10 @@ function RecruitMainPanel:OnOpen(_index)
self.CurRecruitId = TableRecruitType.Putong
elseif GuideManager.IsInMainGuide() and GuideManager.GetCurId(1) == 1003 then
self.CurRecruitId = TableRecruitType.Shenjiang
elseif GuideManager.IsFunctionGuideExist() then
elseif GuideManager.IsFunctionGuideExist() and GuideManager.curId == 101402 then
self.CurRecruitId = TableRecruitType.Siyuanzhen
elseif GuideManager.IsFunctionGuideExist() and GuideManager.curId == 103705 then
self.CurRecruitId = TableRecruitType.Shenjiang
else
local data = RecruitManager.GetRecruitData()
local isRed = 0