Update - 1.11.0.113

EN: 1.11.0.113
CN: 1.11.0.114
JP: 1.11.0.118
KR: 1.11.0.118
This commit is contained in:
SL1900
2026-06-02 16:00:00 +09:00
parent 343b24c91b
commit dcc2c4a2a9
621 changed files with 518699 additions and 4157 deletions
@@ -63,7 +63,6 @@ BreakOutPlayCtrl._mapEventConfig = {
BrickBreaker_Time = "OnEvent_Time",
BrickBreaker_Life = "OnEvent_HPChange",
BrickBreaker_Scrole = "OnEvent_ScoreChange",
BrickBreaker_GameEnd_Pre = "OnEvent_GameEnd_Pre",
BrickBreaker_GameEnd = "OnEvent_FinishGame",
Brick_Monster = "OnEvent_KillMonster",
Brick_Wall = "OnEvent_BreakBricks",
@@ -130,7 +129,6 @@ function BreakOutPlayCtrl:InitState()
self.nKillMonster = 0
self.nBreakBricks = 0
self.tbDropCollect = self.BreakOutData.BreakOutLevelData:GetCurrentFloorDrops(self.FloorData)
self.IsGameEnd = false
NovaAPI.SetTMPText(self._mapNode.txt_TargetScore, "/" .. self.nTargetScore)
NovaAPI.SetTMPText(self._mapNode.txt_CurrentScore, self.nCurrentScore)
self:SetCurrentTime(self.FloorData.Time)
@@ -210,15 +208,11 @@ function BreakOutPlayCtrl:OnEvent_DropCollect(id)
end
end
function BreakOutPlayCtrl:OnEvent_InputEnable(bEnable)
self:ActiveBtnPause(bEnable)
self._mapNode.btn_pause.interactable = bEnable == true
end
function BreakOutPlayCtrl:OnBtnClick_Pause()
EventManager.Hit("Open_BattlePause")
end
function BreakOutPlayCtrl:OnEvent_GameEnd_Pre(nResult)
self.IsGameEnd = true
self:ActiveBtnPause(not self.IsGameEnd)
end
function BreakOutPlayCtrl:OnEvent_FinishGame(nResult)
if not self.BreakOutData.BreakOutLevelData:GetIsBreakOut_Complete() or self.BreakOutData.BreakOutLevelData:GetIsFinishGame() then
return
@@ -226,9 +220,6 @@ function BreakOutPlayCtrl:OnEvent_FinishGame(nResult)
if self.bInLockState then
return
end
if not self.IsGameEnd then
return
end
local bResult = nResult == GameEnum.levelState.Success
EventManager.Hit("BreakOut_Complete", true)
local requestCb = function(mapChangeInfo)
@@ -247,7 +238,6 @@ function BreakOutPlayCtrl:OnEvent_Exit()
self.bInLockState = false
end
local confirmCallback = function()
self.IsGameEnd = true
EventManager.Hit("Close_BattlePause")
EventManager.Hit("BreakOut_Complete", true)
EventManager.Hit("SetBreakOutPlaySkill_Visible", false)
@@ -275,9 +265,6 @@ function BreakOutPlayCtrl:OpenBreakOutResultPanel(Result, cb, mapChangeInfo)
EventManager.Hit("OpenBreakOutResultPanel", Result, sLevelName, cb, mapChangeInfo)
end
function BreakOutPlayCtrl:OnEvent_Restart()
if self.IsGameEnd then
return
end
if self.bInLockState then
self.bInLockState = false
NovaAPI.DispatchEventWithData("TGM_SET_BRICKER", nil, {2, 0})
@@ -351,7 +338,4 @@ function BreakOutPlayCtrl:BuildFinishData(bWin)
DropCollect = self.tbDropCollect
}
end
function BreakOutPlayCtrl:ActiveBtnPause(bEnable)
self._mapNode.btn_pause.interactable = bEnable
end
return BreakOutPlayCtrl