新增任务埋点类型208 拥有X名回响达到满级的X阵容守护者

This commit is contained in:
meixiongfeng 2023-08-09 18:16:51 +08:00
parent 37521c3256
commit cb960129f4
2 changed files with 5 additions and 0 deletions

View File

@ -834,6 +834,7 @@ const (
Rtype205 TaskType = 205 //拾取宝箱 Rtype205 TaskType = 205 //拾取宝箱
Rtype206 TaskType = 206 //完成X次复合事件 Rtype206 TaskType = 206 //完成X次复合事件
Rtype207 TaskType = 207 //完成X组事件 Rtype207 TaskType = 207 //完成X组事件
Rtype208 TaskType = 208 // 拥有X名回响达到满级的X阵容守护者
) )
const ( const (
MailLineEasy int32 = 1 // 简单 MailLineEasy int32 = 1 // 简单

View File

@ -204,6 +204,10 @@ func (this *apiComp) TalentLearn(session comm.IUserSession, req *pb.HeroTalentLe
} }
} }
} }
// 满回响
if this.module.configure.GetHeroTalentMaxLv(heroObj.HeroID) == int32(len(talent.Talent)) {
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype128, 1, cfg.Race))
}
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype199, 1)) szTask = append(szTask, comm.GetBuriedParam(comm.Rtype199, 1))
go this.module.ModuleBuried.TriggerBuried(session.Clone(), szTask...) go this.module.ModuleBuried.TriggerBuried(session.Clone(), szTask...)
} }