上传boos难度保存

This commit is contained in:
liwei1dao 2023-09-06 10:00:12 +08:00
parent 449fc414ba
commit 976e458493

View File

@ -67,8 +67,9 @@ func (this *apiComp) BoosChallengeOver(session comm.IUserSession, req *pb.Mainli
this.module.Debugf("Mline Boos DispenseRes err:+%v", conf.Reward)
return
}
info.Chapterboos[conf.MonsterChapter] = conf.MonsterStrength
if info.Chapterboos[conf.MonsterChapter] < conf.MonsterStrength {
info.Chapterboos[conf.MonsterChapter] = conf.MonsterStrength
}
info.Currbooschallengenum++
if err = this.module.modelMline.Change(session.GetUserId(), map[string]interface{}{
"chapterboos": info.Chapterboos,