diff --git a/modules/hunting/api_challengeover.go b/modules/hunting/api_challengeover.go index 2b8efd849..6f5ccf830 100644 --- a/modules/hunting/api_challengeover.go +++ b/modules/hunting/api_challengeover.go @@ -98,7 +98,9 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.HuntingCha this.module.CheckRank(session.GetUserId(), req.BossType, req.Difficulty, req.Report, userinfo) } // 发放通关随机奖励 - reward = this.module.configure.GetDropReward(cfgHunting.Drop) // 获取掉落奖励 + //reward = this.module.configure.GetDropReward(cfgHunting.Drop) // 获取掉落奖励 + user := this.module.ModuleUser.GetUser(session.GetUserId()) + reward = this.module.ModuleTools.GetGroupDataByLottery(cfgHunting.Drop, user.Vip, user.Lv) // 走新的掉落 for _, v := range reward { bFound := false if v.A == "equp" {