Merge branch 'meixiongfeng' of http://git.legu.cc/liwei_3d/go_dreamfactory into meixiongfeng

This commit is contained in:
meixiongfeng 2022-12-22 11:41:38 +08:00
commit bb45eff4d5

View File

@ -59,7 +59,7 @@ func (this *apiComp) Challenge(session comm.IUserSession, req *pb.EnchantChallen
var format []int32
score = int32(enchant.Boss[req.BossType])
for _, v := range cfgData {
if v.ScoreLow >= score && v.ScoreUp >= score {
if v.ScoreLow <= score && v.ScoreUp >= score {
format = v.Boss
}
}