Merge branch 'meixiongfeng' of http://git.legu.cc/liwei_3d/go_dreamfactory into meixiongfeng
This commit is contained in:
commit
bb45eff4d5
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user