diff --git a/comm/const.go b/comm/const.go index 4edb543c0..90d4a0557 100644 --- a/comm/const.go +++ b/comm/const.go @@ -834,6 +834,7 @@ const ( Rtype205 TaskType = 205 //拾取宝箱 Rtype206 TaskType = 206 //完成X次复合事件 Rtype207 TaskType = 207 //完成X组事件 + Rtype208 TaskType = 208 // 拥有X名回响达到满级的X阵容守护者 ) const ( MailLineEasy int32 = 1 // 简单 diff --git a/modules/hero/api_talentlearn.go b/modules/hero/api_talentlearn.go index 9c53a29e8..ee0e4b29e 100644 --- a/modules/hero/api_talentlearn.go +++ b/modules/hero/api_talentlearn.go @@ -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)) go this.module.ModuleBuried.TriggerBuried(session.Clone(), szTask...) }