Update - 1.3.0.69

EN: 1.3.0.69
CN: 1.3.0.70
JP: 1.3.0.72
KR: 1.3.0.76
This commit is contained in:
SL1900
2025-12-14 22:30:00 +09:00
parent 5e0d58cfad
commit 5f417fbe9d
603 changed files with 1017024 additions and 5253 deletions
@@ -30,6 +30,7 @@ local UnlockConditionPriority = {
[6] = "MustAchievementIds"
}
function ChapterLineCtrl:Awake()
self.bCanClick = true
local callback = function()
self.bHasAchievementData = true
end
@@ -548,6 +549,9 @@ function ChapterLineCtrl:PlayLineAnim(goLine)
lineRect:DOScaleX(1, self.lineAnimTime)
end
function ChapterLineCtrl:OnClickGrid(avgId)
if self.bCanClick == false then
return
end
local storyConfig = AvgData:GetStoryCfgData(avgId)
local bUnlock, tbResult = AvgData:IsUnlock(storyConfig.ConditionId)
if not bUnlock then
@@ -686,4 +690,10 @@ function ChapterLineCtrl:IsAllStoryCompleted()
end
return false
end
function ChapterLineCtrl:ForbidClick()
self.bCanClick = false
self:AddTimer(1, 1.5, function()
self.bCanClick = true
end, true, true, true)
end
return ChapterLineCtrl
@@ -206,6 +206,9 @@ function MainlineExCtrl:OnEvent_SelectMainlineBattle(bConfirm)
end
function MainlineExCtrl:OnEvent_Story_Done(bHasReward)
self:RefreshPanel()
if bHasReward and self.curChapterCtrl ~= nil then
self.curChapterCtrl:ForbidClick()
end
end
function MainlineExCtrl:OnEvent_UIBackConfirm(nPanelId)
if self._panel._nPanelId ~= nPanelId then
@@ -172,6 +172,7 @@ function StoryChapterCtrl:RefreshChapterList(grid, index)
btn.onClick:RemoveAllListeners()
btn.onClick:AddListener(function()
if isUnlock then
goLock.gameObject:SetActive(false)
aniTrans:Play("StoryChapter_chapter_setout")
self:OnBtn_ClickChapterGrid(chapterData.Id, grid)
else