From c2c20474f09ed7ddf33b91b03a6a6f7f31629e51 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Thu, 18 May 2023 15:00:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E5=8D=95=2021936=20=E7=8B=A9?= =?UTF-8?q?=E7=8C=8E=E6=8E=89=E8=90=BD=E7=BB=84=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hunting/api_challengeover.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" {