系统广播消息
This commit is contained in:
parent
d46f52050d
commit
2a3ee38feb
@ -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}通关挑战
|
||||
|
||||
)
|
||||
|
@ -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)
|
||||
})
|
||||
|
@ -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)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user