任务埋点参数调整
This commit is contained in:
parent
440f4fe1f9
commit
f7e1d4c923
@ -136,7 +136,7 @@ func (this *apiComp) StrengthenUpSkill(session comm.IUserSession, req *pb.HeroSt
|
||||
szTask = append(szTask, comm.GettaskParam(comm.Rtype57, 1))
|
||||
}
|
||||
if cfg := this.module.configure.GetHeroConfig(_hero.HeroID); cfg != nil {
|
||||
szTask = append(szTask, comm.GettaskParam(comm.Rtype55, cfg.Color, 1))
|
||||
szTask = append(szTask, comm.GettaskParam(comm.Rtype55, 1, cfg.Color))
|
||||
szTask = append(szTask, comm.GettaskParam(comm.Rtype56, 1, 1, cfg.Job))
|
||||
}
|
||||
go this.module.ModuleRtask.TriggerTask(session.GetUserId(), szTask...)
|
||||
|
@ -108,12 +108,12 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.HuntingCha
|
||||
}
|
||||
}
|
||||
session.SendMsg(string(this.module.GetType()), HuntingChallengeOverResp, &pb.HuntingChallengeOverResp{Data: hunting})
|
||||
|
||||
tasks = append(tasks, comm.GettaskParam(comm.Rtype80, 1, req.Difficulty, req.BossType))
|
||||
// 随机任务统计
|
||||
// this.module.ModuleRtask.SendToRtask(session, comm.Rtype81, req.Difficulty, req.BossType)
|
||||
// this.module.ModuleRtask.SendToRtask(session, comm.Rtype82, req.BossType)
|
||||
tasks = append(tasks, comm.GettaskParam(comm.Rtype81, req.Difficulty, req.BossType))
|
||||
tasks = append(tasks, comm.GettaskParam(comm.Rtype82, req.BossType))
|
||||
tasks = append(tasks, comm.GettaskParam(comm.Rtype82, 1, req.BossType))
|
||||
// 狩猎副本掉落觉醒材料
|
||||
for _, v := range reward {
|
||||
if _conf, err := this.module.configure.GetItemConfigureData(v.T); err == nil {
|
||||
|
@ -153,7 +153,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.VikingChal
|
||||
}
|
||||
// 随机任务统计
|
||||
var szTask []*comm.TaskParam
|
||||
szTask = append(szTask, comm.GettaskParam(comm.Rtype73, req.Difficulty, req.BossId, 1))
|
||||
szTask = append(szTask, comm.GettaskParam(comm.Rtype73, 1, req.Difficulty, req.BossId))
|
||||
szTask = append(szTask, comm.GettaskParam(comm.Rtype74, req.Difficulty, req.BossId))
|
||||
szTask = append(szTask, comm.GettaskParam(comm.Rtype78, req.Difficulty, req.BossId, req.Report.Costtime))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user