From 2a3ee38feb3d86d9c868bc00d6b079df06fcda23 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Mon, 29 Jan 2024 16:15:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=B9=BF=E6=92=AD=E6=B6=88?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- comm/const.go | 2 ++ modules/hunting/api_challengeover.go | 1 + modules/viking/api_challengeover.go | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/comm/const.go b/comm/const.go index aea37cc69..303f3b50b 100644 --- a/comm/const.go +++ b/comm/const.go @@ -1017,6 +1017,8 @@ const ( Rtype254 TaskType = 254 //通关积分BOSS难度{0} Rtype255 TaskType = 255 //积分BOSS进行{0}场战斗 Rtype256 TaskType = 256 //积分BOSS{0}难度获得{1}及以上评级 + Rtype257 TaskType = 257 //积分BOSS触发{0}次敌方全体复活 + Rtype258 TaskType = 258 //积分BOSS{0}难度累计击杀BOSS{1}次 Rtype259 TaskType = 259 //积分BOSS{0}难度,使用异化组合{1}通关挑战 ) diff --git a/modules/hunting/api_challengeover.go b/modules/hunting/api_challengeover.go index 1f11691d7..ed93c1b51 100644 --- a/modules/hunting/api_challengeover.go +++ b/modules/hunting/api_challengeover.go @@ -230,6 +230,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.HuntingCha tasks = append(tasks, comm.GetBuriedParam(comm.Rtype200, 1)) tasks = append(tasks, comm.GetBuriedParam(comm.Rtype251, 1, cfgHunting.Id, req.Report.Round)) go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { + this.chat.SendSysChatToWorld(session, comm.ChatSystem15, nil, req.Difficulty, req.BossType, user.Name) this.module.ModuleBuried.TriggerBuried(session, tasks...) this.module.WriteUserLog(session.GetUserId(), req, comm.GMResAddType, "HuntingChallengeOverReq", szAtno) }) diff --git a/modules/viking/api_challengeover.go b/modules/viking/api_challengeover.go index 08898cf40..18967d872 100644 --- a/modules/viking/api_challengeover.go +++ b/modules/viking/api_challengeover.go @@ -261,7 +261,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.VikingChal } if len(tasks) > 0 { go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { - this.chat.SendSysChatToWorld(session, comm.ChatSystem14, nil, req.BossId, req.Difficulty, user.Name) + this.chat.SendSysChatToWorld(session, comm.ChatSystem14, nil, req.Difficulty, req.BossId, user.Name) this.module.ModuleBuried.TriggerBuried(session, tasks...) this.module.WriteUserLog(session.GetUserId(), req, comm.GMResAddType, "VikingChallengeOverReq", atno) })