新增维京 狩猎体力消耗埋点
This commit is contained in:
parent
3cd8e75da1
commit
dce50c2604
@ -720,6 +720,8 @@ const (
|
|||||||
Rtype189 TaskType = 189 //铁匠铺进行一次定制
|
Rtype189 TaskType = 189 //铁匠铺进行一次定制
|
||||||
Rtype199 TaskType = 199 //回想多少次
|
Rtype199 TaskType = 199 //回想多少次
|
||||||
Rtype200 TaskType = 200 //在狩猎内战斗X次
|
Rtype200 TaskType = 200 //在狩猎内战斗X次
|
||||||
|
Rtype201 TaskType = 201 //在维京体系的副本内消耗X体力
|
||||||
|
Rtype202 TaskType = 202 //在狩猎体系的副本内消耗X体力
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -50,10 +50,10 @@ func (this *apiComp) GetStory(session comm.IUserSession, req *pb.CaravanGetStory
|
|||||||
list.Taskid = wt.GetWorldTaskBy(session, conf.Worldtask)
|
list.Taskid = wt.GetWorldTaskBy(session, conf.Worldtask)
|
||||||
if list.Taskid != 0 { // 任务接取成功
|
if list.Taskid != 0 { // 任务接取成功
|
||||||
bAccept = true
|
bAccept = true
|
||||||
list.Eventid = req.Citystory
|
|
||||||
list.Taskid = conf.Worldtask
|
list.Taskid = conf.Worldtask
|
||||||
list.Tasktime = configure.Now().Unix()
|
list.Tasktime = configure.Now().Unix()
|
||||||
update["eventid"] = list.Eventid
|
//update["eventid"] = list.Eventid
|
||||||
update["task"] = list.Taskid
|
update["task"] = list.Taskid
|
||||||
update["tasktime"] = list.Tasktime
|
update["tasktime"] = list.Tasktime
|
||||||
}
|
}
|
||||||
|
@ -180,6 +180,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.HuntingCha
|
|||||||
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype172, 1))
|
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype172, 1))
|
||||||
}
|
}
|
||||||
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype83, 1, req.BossType, req.Difficulty))
|
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype83, 1, req.BossType, req.Difficulty))
|
||||||
|
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype202, consumPs))
|
||||||
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype200, 1))
|
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype200, 1))
|
||||||
go this.module.ModuleBuried.TriggerBuried(session.GetUserId(), tasks...)
|
go this.module.ModuleBuried.TriggerBuried(session.GetUserId(), tasks...)
|
||||||
return
|
return
|
||||||
|
@ -192,6 +192,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.VikingChal
|
|||||||
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype172, 1))
|
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype172, 1))
|
||||||
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype181, 1, req.BossId, req.Difficulty))
|
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype181, 1, req.BossId, req.Difficulty))
|
||||||
}
|
}
|
||||||
|
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype201, consumPs))
|
||||||
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype76, 1, req.BossId))
|
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype76, 1, req.BossId))
|
||||||
if bHelp {
|
if bHelp {
|
||||||
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype180, req.BossId, 1))
|
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype180, req.BossId, 1))
|
||||||
|
Loading…
Reference in New Issue
Block a user