代码提交

This commit is contained in:
xiekaidong 2023-05-25 17:23:45 +08:00 committed by Fang
parent 135920f5c7
commit b8bbad816b

View File

@ -36,7 +36,7 @@ function DailyChallengeData:init(data)
self.fixedChapterId = data.today_fixed_chapter_id or 1 self.fixedChapterId = data.today_fixed_chapter_id or 1
self.chapterDailyId = data.rand_chapter_daily_id or 1 self.chapterDailyId = data.rand_chapter_daily_id or 1
self.tasks = data.tasks or {} self.tasks = data.tasks or {}
self.buffId = data.buff_id or {} self.buffIds = data.buff_id or {}
self.totalFightCount = data.totalFightCount or 0 self.totalFightCount = data.totalFightCount or 0
self.todayFightCount = data.today_challenge_count or 0 self.todayFightCount = data.today_challenge_count or 0
end end
@ -78,12 +78,12 @@ end
-- 获取今日通关次数 -- 获取今日通关次数
function DailyChallengeData:getTodayPassNum() function DailyChallengeData:getTodayPassNum()
-- body return self.todayFightCount
end end
-- 获取今日增益、负面buff -- 获取今日增益、负面buff
function DailyChallengeData:getTodayBuff() function DailyChallengeData:getTodayBuff()
-- body return self.buffIds
end end
-- 获取今日剩余时间 -- 获取今日剩余时间