Commit 5226a156895e2992c8aff720d80a8c44200b9307
1 parent
bf096b07
每日抽卡礼包bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/models/Store.lua
| ... | ... | @@ -375,7 +375,6 @@ function Store:OnTriggerLimitTimePack(eventType, param) |
| 375 | 375 | gift_id = rechargeCfg.id, --礼包ID |
| 376 | 376 | gift_name = rechargeCfg.title, --礼包名称 |
| 377 | 377 | }) |
| 378 | - self:updateProperty({field = "limitTPack", value = limitPack}) | |
| 379 | 378 | -- 每日抽卡限时礼包 触发重置 |
| 380 | 379 | if eventType == TriggerEventType.DrawHeroCnt then |
| 381 | 380 | local payR = self:getProperty("payR") |
| ... | ... | @@ -384,6 +383,7 @@ function Store:OnTriggerLimitTimePack(eventType, param) |
| 384 | 383 | self:updateProperty({field = "payR", value = payR}) |
| 385 | 384 | end |
| 386 | 385 | end |
| 386 | + self:updateProperty({field = "limitTPack", value = limitPack}) | |
| 387 | 387 | end |
| 388 | 388 | end |
| 389 | 389 | --if next(result) then | ... | ... |