Commit 63c0245e2b76f6732aebd695ff57f8219ce65405
1 parent
c242dda6
fix: 跨天资源值未重置的bug
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
src/models/Daily.lua
... | ... | @@ -68,6 +68,8 @@ function Daily:refreshDailyData(notify) |
68 | 68 | end |
69 | 69 | elseif field == "id" then |
70 | 70 | -- skip |
71 | + elseif field == "treasureBase" then | |
72 | + dataMap[field] = globalCsv.idle_treasure_base | |
71 | 73 | elseif field == "treasureList" then |
72 | 74 | dataMap[field] = self:getTreasrueList() |
73 | 75 | elseif field == "pvpBought" then |
... | ... | @@ -405,6 +407,7 @@ function Daily:data() |
405 | 407 | goldBuyT = self:getProperty("goldBuyT"), |
406 | 408 | unlockPool = self:getProperty("unlockPool"), |
407 | 409 | curPool = self:getProperty("curPool"), |
410 | + treasureBase = self:getProperty("treasureBase"), | |
408 | 411 | treasureList = self:getProperty("treasureList"), |
409 | 412 | } |
410 | 413 | end | ... | ... |