From c9f2b8e36cd242e1ad476a8b03a4300a121d6d2d Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Mon, 29 Jan 2024 10:50:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E5=9F=8B=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- comm/const.go | 2 ++ modules/integral/api_challengeover.go | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/comm/const.go b/comm/const.go index b278b56f2..efa5cbc21 100644 --- a/comm/const.go +++ b/comm/const.go @@ -1015,6 +1015,8 @@ const ( Rtype252 TaskType = 252 //完成指定世界任务 Rtype253 TaskType = 253 //退出公会 Rtype254 TaskType = 254 //通关积分BOSS难度{0} + Rtype255 TaskType = 255 //积分BOSS进行{0}场战斗 + Rtype256 TaskType = 256 //积分BOSS{0}难度获得{1}及以上评级 ) const ( MailLineEasy int32 = 1 // 简单 diff --git a/modules/integral/api_challengeover.go b/modules/integral/api_challengeover.go index 2f9f89da9..e4599f161 100644 --- a/modules/integral/api_challengeover.go +++ b/modules/integral/api_challengeover.go @@ -165,7 +165,9 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.IntegralCh // 任务埋点 var tasks []*pb.BuriedParam - tasks = append(tasks, comm.GetBuriedParam(comm.Rtype254, req.Nandu)) + tasks = append(tasks, comm.GetBuriedParam(comm.Rtype254, 1, req.Nandu)) + tasks = append(tasks, comm.GetBuriedParam(comm.Rtype255, 1)) + tasks = append(tasks, comm.GetBuriedParam(comm.Rtype256, req.Nandu, req.Report.Grade)) go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { this.module.ModuleBuried.TriggerBuried(session, tasks...)