剧情跳过修改提交
parent
7118f60b9c
commit
b5dda1e81c
|
@ -224,7 +224,7 @@ function this:CheckTrigger(data,go)
|
||||||
this:RunMap(data.eventType)
|
this:RunMap(data.eventType)
|
||||||
elseif data.eventType == 3 then
|
elseif data.eventType == 3 then
|
||||||
this.eventIndex = 0
|
this.eventIndex = 0
|
||||||
--PopupTipPanel.ShowTip("进入一场假战斗")
|
PopupTipPanel.ShowTip("进入一场假战斗")
|
||||||
this:EnterFight()
|
this:EnterFight()
|
||||||
elseif data.eventType == 4 then --符咒闪烁了一下
|
elseif data.eventType == 4 then --符咒闪烁了一下
|
||||||
this.eventIndex = 0
|
this.eventIndex = 0
|
||||||
|
@ -398,6 +398,9 @@ function this:CheckTrigger(data,go)
|
||||||
this.btnSkipBtnComp.enabled = false
|
this.btnSkipBtnComp.enabled = false
|
||||||
Timer.New(function()
|
Timer.New(function()
|
||||||
this.btnSkipBtnComp.enabled = true
|
this.btnSkipBtnComp.enabled = true
|
||||||
|
if UIManager.IsOpen(UIName.BattlePanel) then
|
||||||
|
return
|
||||||
|
end
|
||||||
this:StackPop()
|
this:StackPop()
|
||||||
end,data.groups[1],1,false):Start()
|
end,data.groups[1],1,false):Start()
|
||||||
elseif data.eventType == 10 then --保持某方向移动
|
elseif data.eventType == 10 then --保持某方向移动
|
||||||
|
@ -474,6 +477,8 @@ function this:EnterFight()
|
||||||
maxRound = 20,
|
maxRound = 20,
|
||||||
}
|
}
|
||||||
UIManager.OpenPanel(UIName.BattlePanel, testFightData, BATTLE_TYPE.Test,function()
|
UIManager.OpenPanel(UIName.BattlePanel, testFightData, BATTLE_TYPE.Test,function()
|
||||||
|
LogGreen("战斗结束进入下一步")
|
||||||
|
PopupTipPanel.ShowTip("战斗结束进入下一步")
|
||||||
this:StackPop()
|
this:StackPop()
|
||||||
end,nil,true)
|
end,nil,true)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue