Update - 1.16.0.138

EN: 1.16.0.138
CN: 1.16.0.137
JP: 1.16.0.141
KR: 1.16.0.143
This commit is contained in:
SL1900
2026-09-29 12:00:00 +09:00
parent 1d209ec368
commit 1aa6ba19a4
767 changed files with 1389523 additions and 2758 deletions
@@ -57,6 +57,7 @@ function GoldenSpyResultCtrl:Awake()
local tbParam = self:GetPanelParam()
if type(tbParam) == "table" then
self.data = tbParam[1]
self.nActId = tbParam[2]
end
self.bResult = self.data.bResult
self.nLevelId = self.data.nLevelId
@@ -145,7 +146,13 @@ function GoldenSpyResultCtrl:SetFinishActive(bActive)
UTILS.OpenReceiveByChangeInfo(msgData)
self.nextGroupId = nextGroupId
self.nextLevelId = nextLevelId
if self.bSuccess and self.nextGroupId ~= nil and self.nextLevelId ~= nil then
local bCurLevelPass = false
local actData = PlayerData.Activity:GetActivityDataById(self.nActId)
local levelData = actData:GetLevelDataById(self.nLevelId)
if levelData ~= nil then
bCurLevelPass = levelData.nMaxScore >= self.levelCfg.Score
end
if self.bSuccess and self.nextGroupId ~= nil and self.nextLevelId ~= nil and bCurLevelPass then
self._mapNode.btn_goNext2.gameObject:SetActive(true)
else
self._mapNode.btn_goNext2.gameObject:SetActive(false)