Update - 1.7.0.89

EN: 1.7.0.89
CN: 1.7.0.91
JP: 1.7.0.92
KR: 1.7.0.95
This commit is contained in:
SL1900
2026-02-28 15:00:00 +09:00
parent 86d82306fe
commit e01012cbcc
92 changed files with 1562 additions and 936 deletions
@@ -82,18 +82,16 @@ function PenguinCardActData:CreateQuest(mapQuestData)
elseif mapQuestData.Status == 2 then
tbQuestData.nStatus = AllEnum.ActQuestStatus.Received
end
if tbQuestData.nStatus == AllEnum.ActQuestStatus.Received then
tbQuestData.nCur = tbQuestData.nMax
end
return tbQuestData
end
function PenguinCardActData:GetQuestMaxProgress(nId)
local nMax = 0
local mapCfg = ConfigTable.GetData("ActivityPenguinCardQuest", nId)
if mapCfg then
if mapCfg.FinishType == GameEnum.activityQuestCompleteCond.ActivityPenguinCardLevelPassedScore then
nMax = 1
elseif mapCfg.FinishType == GameEnum.activityQuestCompleteCond.ActivityPenguinCardLevelPassedWithStar then
local tbParam = decodeJson(mapCfg.FinishParams)
nMax = tbParam[2]
end
if mapCfg and (mapCfg.FinishType == GameEnum.activityQuestCompleteCond.ActivityPenguinCardLevelPassedScore or mapCfg.FinishType == GameEnum.activityQuestCompleteCond.ActivityPenguinCardLevelPassedWithStar) then
nMax = 1
end
return nMax
end
@@ -424,7 +424,7 @@ end
function PlayerTalentData:UpdateCharTalentRedDotByItem(mapChange)
for _, v in ipairs(mapChange) do
local charId = self.FragmentsToChar[v.Tid]
if charId and v.Qty > 0 then
if charId then
self:UpdateCharTalentRedDot(charId)
end
end