【副本】=================================主线副本跳过小人跑地图的流程
parent
b58d68e5e7
commit
6ed182d53e
|
@ -806,9 +806,20 @@ function this.ExcuteBattle()
|
|||
--fightMap:OnClose()
|
||||
hasMap = false
|
||||
end
|
||||
UIManager.OpenPanel(UIName.FightMiddleChoosePanel, FightPointPassManager.curOpenFight, true,function ()
|
||||
--- 临时代码
|
||||
--FightPointPassManager.SetChapterOpenState(false)
|
||||
-- UIManager.OpenPanel(UIName.FightMiddleChoosePanel, FightPointPassManager.curOpenFight, true,function ()
|
||||
-- --- 临时代码
|
||||
-- --FightPointPassManager.SetChapterOpenState(false)
|
||||
-- end)
|
||||
-- 章节解锁时添加对话
|
||||
FightPointPassManager.SetChapterOpenState(false)
|
||||
LogError("FightPointPassManager.lastPassFightId=="..FightPointPassManager.lastPassFightId)
|
||||
LogError("FightPointPassManager.GetCurFightId()"..FightPointPassManager.GetCurFightId())
|
||||
local chapterId = math.floor(FightPointPassManager.lastPassFightId / 1000)
|
||||
LogError("chapterid==================="..chapterId)
|
||||
local curChapterId = fightLevelSetConfig[chapterId].EventId
|
||||
StoryManager.EventTrigger(curChapterId, function()
|
||||
LogGreen("打开挂机界面")
|
||||
UIManager.OpenPanel(UIName.FightPointPassMainPanel)
|
||||
end)
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue