上传boos难度保存
This commit is contained in:
parent
449fc414ba
commit
976e458493
@ -67,8 +67,9 @@ func (this *apiComp) BoosChallengeOver(session comm.IUserSession, req *pb.Mainli
|
|||||||
this.module.Debugf("Mline Boos DispenseRes err:+%v", conf.Reward)
|
this.module.Debugf("Mline Boos DispenseRes err:+%v", conf.Reward)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if info.Chapterboos[conf.MonsterChapter] < conf.MonsterStrength {
|
||||||
info.Chapterboos[conf.MonsterChapter] = conf.MonsterStrength
|
info.Chapterboos[conf.MonsterChapter] = conf.MonsterStrength
|
||||||
|
}
|
||||||
info.Currbooschallengenum++
|
info.Currbooschallengenum++
|
||||||
if err = this.module.modelMline.Change(session.GetUserId(), map[string]interface{}{
|
if err = this.module.modelMline.Change(session.GetUserId(), map[string]interface{}{
|
||||||
"chapterboos": info.Chapterboos,
|
"chapterboos": info.Chapterboos,
|
||||||
|
Loading…
Reference in New Issue
Block a user