#41509 需求 【梦工场系统】 <-策划-> 【数值】半个小时后应该是回复到160 目前未回复
This commit is contained in:
parent
69ff573f16
commit
ddda51aece
@ -39,6 +39,7 @@ func (this *modelComp) getEntertainmList(uid string) (result *pb.DBXXLData, err
|
|||||||
|
|
||||||
Reward: map[int32]int32{},
|
Reward: map[int32]int32{},
|
||||||
Card: map[string]int32{},
|
Card: map[string]int32{},
|
||||||
|
Skill: map[int32]int32{},
|
||||||
}
|
}
|
||||||
if db.IsCross() {
|
if db.IsCross() {
|
||||||
if tag, _, b := utils.UIdSplit(uid); b {
|
if tag, _, b := utils.UIdSplit(uid); b {
|
||||||
|
@ -1088,7 +1088,7 @@ func (this *User) recoverUserPs(user *pb.DBUser) (change bool, total int32, next
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
total = pconf.PsCeiling
|
total = pconf.PsCeiling
|
||||||
cur := time.Now().Unix()
|
cur := configure.Now().Unix()
|
||||||
if user.LastRecoverPsSec == 0 {
|
if user.LastRecoverPsSec == 0 {
|
||||||
user.LastRecoverPsSec = cur
|
user.LastRecoverPsSec = cur
|
||||||
change = true
|
change = true
|
||||||
|
Loading…
Reference in New Issue
Block a user