挂机界面=========章节开启剧情显示修改

onepiece_demo_arena
wangzhenxing 2023-12-12 11:43:32 +08:00
parent 561aaf7bf6
commit dfc6689bfb
1 changed files with 9 additions and 3 deletions

View File

@ -817,13 +817,19 @@ function this.ExcuteBattle()
local chapterId = math.floor(FightPointPassManager.lastPassFightId / 1000)
LogError("chapterid==================="..chapterId)
local curChapterId = fightLevelSetConfig[chapterId].EventId
StoryManager.EventTrigger(curChapterId, function()
LogGreen("打开挂机界面")
if curChapterId>0 then
StoryManager.EventTrigger(curChapterId, function()
LogGreen("打开挂机界面")
UIManager.OpenPanel(UIName.FightPointPassMainPanel)
end)
else
UIManager.OpenPanel(UIName.FightPointPassMainPanel)
end)
end
return
end
if isCounting then PopupTipPanel.ShowTip(Language[10615]) return end
local curFightId = FightPointPassManager.curOpenFight
local state, tip = FightPointPassManager.IsCanFight(curFightId)