From 976e4584933e63f26d44b3e99e8d9e62e354132c Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Wed, 6 Sep 2023 10:00:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0boos=E9=9A=BE=E5=BA=A6?= =?UTF-8?q?=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/mainline/api_booschallengeover.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/mainline/api_booschallengeover.go b/modules/mainline/api_booschallengeover.go index 4e50ab3d9..a0daa091c 100644 --- a/modules/mainline/api_booschallengeover.go +++ b/modules/mainline/api_booschallengeover.go @@ -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,