diff --git a/comm/const.go b/comm/const.go index aea37cc69..303f3b50b 100644 --- a/comm/const.go +++ b/comm/const.go @@ -1017,6 +1017,8 @@ const ( Rtype254 TaskType = 254 //通关积分BOSS难度{0} Rtype255 TaskType = 255 //积分BOSS进行{0}场战斗 Rtype256 TaskType = 256 //积分BOSS{0}难度获得{1}及以上评级 + Rtype257 TaskType = 257 //积分BOSS触发{0}次敌方全体复活 + Rtype258 TaskType = 258 //积分BOSS{0}难度累计击杀BOSS{1}次 Rtype259 TaskType = 259 //积分BOSS{0}难度,使用异化组合{1}通关挑战 ) diff --git a/modules/hunting/api_challengeover.go b/modules/hunting/api_challengeover.go index 1f11691d7..ed93c1b51 100644 --- a/modules/hunting/api_challengeover.go +++ b/modules/hunting/api_challengeover.go @@ -230,6 +230,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.HuntingCha tasks = append(tasks, comm.GetBuriedParam(comm.Rtype200, 1)) tasks = append(tasks, comm.GetBuriedParam(comm.Rtype251, 1, cfgHunting.Id, req.Report.Round)) go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { + this.chat.SendSysChatToWorld(session, comm.ChatSystem15, nil, req.Difficulty, req.BossType, user.Name) this.module.ModuleBuried.TriggerBuried(session, tasks...) this.module.WriteUserLog(session.GetUserId(), req, comm.GMResAddType, "HuntingChallengeOverReq", szAtno) }) diff --git a/modules/viking/api_challengeover.go b/modules/viking/api_challengeover.go index 08898cf40..18967d872 100644 --- a/modules/viking/api_challengeover.go +++ b/modules/viking/api_challengeover.go @@ -261,7 +261,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.VikingChal } if len(tasks) > 0 { go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { - this.chat.SendSysChatToWorld(session, comm.ChatSystem14, nil, req.BossId, req.Difficulty, user.Name) + this.chat.SendSysChatToWorld(session, comm.ChatSystem14, nil, req.Difficulty, req.BossId, user.Name) this.module.ModuleBuried.TriggerBuried(session, tasks...) this.module.WriteUserLog(session.GetUserId(), req, comm.GMResAddType, "VikingChallengeOverReq", atno) })