Update - 1.9.0.103

EN: 1.9.0.103
CN: 1.9.0.104
JP: 1.9.0.106
KR: 1.9.0.108
This commit is contained in:
SL1900
2026-04-18 00:15:00 +09:00
parent 35fe1f046d
commit e0549005e1
1150 changed files with 941124 additions and 19847 deletions
+11 -6
View File
@@ -292,7 +292,9 @@ function ChapterLineCtrl:RefreshBranchGrid(root, avgId, depth, isNeedPlayUnlockA
if bUnlock then
bHasUnlockBranch = true
end
table.insert(self.tbLockedBranchGrid, avgId)
if table.indexof(self.tbLockedBranchGrid, avgId) <= 0 then
table.insert(self.tbLockedBranchGrid, avgId)
end
if bUnlock and table.indexof(self.tbLockedBranchGrid, avgId) > 0 then
table.removebyvalue(self.tbLockedBranchGrid, avgId)
end
@@ -350,6 +352,13 @@ function ChapterLineCtrl:RefreshBranchGrid(root, avgId, depth, isNeedPlayUnlockA
index = index + 1
end
root.gameObject:SetActive(bHasUnlockBranch)
if bHasUnlockBranch then
if not isNeedPlayUnlockAnim then
self:PlayUnlockAnim(root, "BranchRoot_loop" .. #self.tbBranch[avgId])
else
self:PlayUnlockAnim(root, "BranchRoot_Empty")
end
end
end
function ChapterLineCtrl:RefreshTimeStamp(goTimeStamp, index)
local timeStampName
@@ -528,11 +537,7 @@ function ChapterLineCtrl:PlayNormalNodeUnlockAnim(nodeInfo, depth)
end, true, true, true)
end
function ChapterLineCtrl:PlayBranchNodeUnlockAnim(nodeInfo, depth)
if nodeInfo.totalCount > 1 then
self:PlayUnlockAnim(nodeInfo.grid, "BranchRoot_in3")
else
self:PlayUnlockAnim(nodeInfo.grid, "BranchRoot_in" .. nodeInfo.index)
end
self:PlayUnlockAnim(nodeInfo.grid, "BranchRoot_in" .. nodeInfo.totalCount)
WwiseAudioMgr:PostEvent("ui_mainline_newending")
local storyConfig = AvgData:GetStoryCfgData(nodeInfo.avgId)
LocalData.SetPlayerLocalData("MainlineUnlock_" .. storyConfig.Id, 1)