diff --git a/comm/const.go b/comm/const.go index 86127891f..627d0f5d9 100644 --- a/comm/const.go +++ b/comm/const.go @@ -998,6 +998,8 @@ const ( Rtype247 TaskType = 247 //完成X品质的武馆派遣Y个 Rtype248 TaskType = 248 //在维京表内指定类型的boss副本内,消耗X点体力 Rtype249 TaskType = 249 //赢得X把快速接龙 + Rtype250 TaskType = 250 //在{0}回合内完成维京{1}key值 + Rtype251 TaskType = 251 //在{0}回合内完成狩猎内{1}key值 ) const ( MailLineEasy int32 = 1 // 简单 diff --git a/modules/hunting/api_challengeover.go b/modules/hunting/api_challengeover.go index fdeddd370..a27554d65 100644 --- a/modules/hunting/api_challengeover.go +++ b/modules/hunting/api_challengeover.go @@ -228,6 +228,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.HuntingCha 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.Rtype251, cfgHunting.Id, req.Report.Round)) go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { this.module.ModuleBuried.TriggerBuried(session, tasks...) this.module.WriteUserLog(session.GetUserId(), req, comm.GMResAddType, "HuntingChallengeOverReq", szAtno) diff --git a/modules/pagoda/api_racechallenge.go b/modules/pagoda/api_racechallenge.go index c38a5815b..8094c8dbb 100644 --- a/modules/pagoda/api_racechallenge.go +++ b/modules/pagoda/api_racechallenge.go @@ -81,7 +81,7 @@ func (this *apiComp) ChallengeRace(session comm.IUserSession, req *pb.PagodaChal return } } - if pagoda.Battlecount > 10 { + if pagoda.Battlecount > 9999 { // 暂时不做限制 errdata = &pb.ErrorData{ // 今日挑战达到上限 Code: pb.ErrorCode_PagodaMaxCount, Title: pb.ErrorCode_PagodaMaxCount.ToString(), diff --git a/modules/viking/api_challengeover.go b/modules/viking/api_challengeover.go index 25012045b..3c0f0bc92 100644 --- a/modules/viking/api_challengeover.go +++ b/modules/viking/api_challengeover.go @@ -249,6 +249,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.VikingChal // tasks = append(tasks, comm.GetBuriedParam(comm.Rtype237, consumPs)) tasks = append(tasks, comm.GetBuriedParam(comm.Rtype201, consumPs)) tasks = append(tasks, comm.GetBuriedParam(comm.Rtype76, 1, req.BossId)) + tasks = append(tasks, comm.GetBuriedParam(comm.Rtype250, vikingCfg.Id, req.Report.Round)) // 回合数 tasks = append(tasks, comm.GetBuriedParam(comm.Rtype77, 1, req.BossId, req.Difficulty)) if bHelp { tasks = append(tasks, comm.GetBuriedParam(comm.Rtype180, req.BossId, 1))