点将台引导修改提交
parent
d947607282
commit
0051c48c65
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue