Merge branch 'onepiece_demo' of http://192.168.1.21:3000/root/miduo_client into onepiece_demo
commit
816b2f478f
|
@ -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