代码提交
This commit is contained in:
parent
135920f5c7
commit
b8bbad816b
@ -36,7 +36,7 @@ function DailyChallengeData:init(data)
|
||||
self.fixedChapterId = data.today_fixed_chapter_id or 1
|
||||
self.chapterDailyId = data.rand_chapter_daily_id or 1
|
||||
self.tasks = data.tasks or {}
|
||||
self.buffId = data.buff_id or {}
|
||||
self.buffIds = data.buff_id or {}
|
||||
self.totalFightCount = data.totalFightCount or 0
|
||||
self.todayFightCount = data.today_challenge_count or 0
|
||||
end
|
||||
@ -78,12 +78,12 @@ end
|
||||
|
||||
-- 获取今日通关次数
|
||||
function DailyChallengeData:getTodayPassNum()
|
||||
-- body
|
||||
return self.todayFightCount
|
||||
end
|
||||
|
||||
-- 获取今日增益、负面buff
|
||||
function DailyChallengeData:getTodayBuff()
|
||||
-- body
|
||||
return self.buffIds
|
||||
end
|
||||
|
||||
-- 获取今日剩余时间
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user