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...)