Update - 1.4.0.73

EN: 1.4.0.73
CN: 1.4.0.74
JP: 1.4.0.77
KR: 1.4.0.80
This commit is contained in:
SL1900
2025-12-25 19:00:00 +09:00
parent 5f417fbe9d
commit 35c8d87e86
1183 changed files with 893278 additions and 92778 deletions
+3 -4
View File
@@ -51,11 +51,9 @@ function DailyCheckInCtrl:Refresh()
self:RefreshSelect()
end
function DailyCheckInCtrl:RefreshRight()
local nTimeNow = CS.ClientManager.Instance.serverTimeStampWithTimeZone
local nYear = tonumber(os.date("!%Y", nTimeNow))
local nTens, _ = math.modf(self.nMonth / 10 % 10)
local nOnes, _ = math.modf(self.nMonth % 10)
NovaAPI.SetTMPText(self._mapNode.txtYear, nYear)
NovaAPI.SetTMPText(self._mapNode.txtYear, self.nYear)
self._mapNode.goSpace:SetActive(nTens == 1)
self:SetAtlasSprite(self._mapNode.imgMonth[1], "05_number", "zs_dailycheckin_month_" .. nTens)
NovaAPI.SetImageNativeSize(self._mapNode.imgMonth[1])
@@ -128,7 +126,8 @@ function DailyCheckInCtrl:Awake()
self.mapReward = tbParam[1]
self.callback = tbParam[2]
end
local nMonth, nDays = PlayerData.Daily.GetMonthAndDays()
local nYear, nMonth, nDays = PlayerData.Daily.GetMonthAndDays()
self.nYear = nYear
self.nMonth = nMonth
self.nIndex = PlayerData.Daily.GetDailyCheckInIndex()
self.tbList = PlayerData.Daily.GetDailyCheckInList(nDays)