diff --git a/comm/const.go b/comm/const.go index 69580943f..b278b56f2 100644 --- a/comm/const.go +++ b/comm/const.go @@ -1014,6 +1014,7 @@ const ( Rtype251 TaskType = 251 //在{0}回合内完成狩猎内{1}key值 Rtype252 TaskType = 252 //完成指定世界任务 Rtype253 TaskType = 253 //退出公会 + Rtype254 TaskType = 254 //通关积分BOSS难度{0} ) const ( MailLineEasy int32 = 1 // 简单 diff --git a/modules/integral/api_challengeover.go b/modules/integral/api_challengeover.go index 28a08f53e..2f9f89da9 100644 --- a/modules/integral/api_challengeover.go +++ b/modules/integral/api_challengeover.go @@ -163,5 +163,12 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.IntegralCh Heroexp: changExp, }) + // 任务埋点 + var tasks []*pb.BuriedParam + tasks = append(tasks, comm.GetBuriedParam(comm.Rtype254, req.Nandu)) + go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { + + this.module.ModuleBuried.TriggerBuried(session, tasks...) + }) return }