This commit is contained in:
@@ -110,6 +110,7 @@ func (s *InfoService) SetLogin() *model.PlayerInfo {
|
||||
//每天login时候检查重置时间,然后把电池,任务,挖矿重置
|
||||
//挖矿需要单独存,因为防止多开挖矿
|
||||
tt.Data.TimeToday = 0 //重置电池
|
||||
tt.Data.FightTime = 60*60*2//重置战斗次数
|
||||
|
||||
for _, v := range service.NewTaskService().GetDaily() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user