Commit 1dbeabff082c7c98179a58b6f4fa42c6547138bf

Authored by 熊润斐
2 parents a0b219dd 63c0245e

Merge branch 'cn/develop' into cn/player

Showing 1 changed file with 3 additions and 4 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
... ... @@ -136,10 +138,6 @@ function Daily:checkTreasureExpired(treasureAttr, treasureList)
136 138 end
137 139 curInfo = clone(treasureAttr)
138 140 end
139   - elseif curInfo["end_time"] then
140   - print("end_time")
141   - print(curInfo["end_time"])
142   - print(skynet.timex())
143 141 end
144 142 else
145 143 curInfo = clone(treasureAttr)
... ... @@ -409,6 +407,7 @@ function Daily:data()
409 407 goldBuyT = self:getProperty("goldBuyT"),
410 408 unlockPool = self:getProperty("unlockPool"),
411 409 curPool = self:getProperty("curPool"),
  410 + treasureBase = self:getProperty("treasureBase"),
412 411 treasureList = self:getProperty("treasureList"),
413 412 }
414 413 end
... ...