Merge branch 'onepiece_demo' of http://192.168.1.21:3000/root/miduo_client into onepiece_demo

onepiece_demo_arena
xiejun 2023-12-12 11:44:31 +08:00
commit 816b2f478f
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)