界面宝箱调整
This commit is contained in:
parent
5e2644ee6e
commit
5ee674bc60
@ -119,6 +119,10 @@ function MainComp:refreshChapter(force)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local rewardChapterId = DataManager.ChapterData:getIsHaveRewardsMinId()
|
local rewardChapterId = DataManager.ChapterData:getIsHaveRewardsMinId()
|
||||||
|
if rewardChapterId > chapterId then
|
||||||
|
rewardChapterId = chapterId
|
||||||
|
end
|
||||||
|
|
||||||
local curMaxWave = DataManager.ChapterData:getChapterMaxWave(rewardChapterId)
|
local curMaxWave = DataManager.ChapterData:getChapterMaxWave(rewardChapterId)
|
||||||
local boxCount = DataManager.ChapterData:getChapterBoxCount(rewardChapterId)
|
local boxCount = DataManager.ChapterData:getChapterBoxCount(rewardChapterId)
|
||||||
local unitValue = 1 / boxCount
|
local unitValue = 1 / boxCount
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user