挂机界面=========章节开启剧情显示修改
parent
561aaf7bf6
commit
dfc6689bfb
|
@ -817,13 +817,19 @@ function this.ExcuteBattle()
|
||||||
local chapterId = math.floor(FightPointPassManager.lastPassFightId / 1000)
|
local chapterId = math.floor(FightPointPassManager.lastPassFightId / 1000)
|
||||||
LogError("chapterid==================="..chapterId)
|
LogError("chapterid==================="..chapterId)
|
||||||
local curChapterId = fightLevelSetConfig[chapterId].EventId
|
local curChapterId = fightLevelSetConfig[chapterId].EventId
|
||||||
StoryManager.EventTrigger(curChapterId, function()
|
if curChapterId>0 then
|
||||||
LogGreen("打开挂机界面")
|
StoryManager.EventTrigger(curChapterId, function()
|
||||||
|
LogGreen("打开挂机界面")
|
||||||
|
UIManager.OpenPanel(UIName.FightPointPassMainPanel)
|
||||||
|
end)
|
||||||
|
else
|
||||||
UIManager.OpenPanel(UIName.FightPointPassMainPanel)
|
UIManager.OpenPanel(UIName.FightPointPassMainPanel)
|
||||||
end)
|
end
|
||||||
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if isCounting then PopupTipPanel.ShowTip(Language[10615]) return end
|
if isCounting then PopupTipPanel.ShowTip(Language[10615]) return end
|
||||||
local curFightId = FightPointPassManager.curOpenFight
|
local curFightId = FightPointPassManager.curOpenFight
|
||||||
local state, tip = FightPointPassManager.IsCanFight(curFightId)
|
local state, tip = FightPointPassManager.IsCanFight(curFightId)
|
||||||
|
|
Loading…
Reference in New Issue