From f7e1d4c9233804af2281d47666fac19661f120ac Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Thu, 30 Mar 2023 13:59:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=9F=8B=E7=82=B9=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/api_strengthenUpSkill.go | 2 +- modules/hunting/api_challengeover.go | 4 ++-- modules/viking/api_challengeover.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/hero/api_strengthenUpSkill.go b/modules/hero/api_strengthenUpSkill.go index 721078bf3..4c839a13a 100644 --- a/modules/hero/api_strengthenUpSkill.go +++ b/modules/hero/api_strengthenUpSkill.go @@ -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...) diff --git a/modules/hunting/api_challengeover.go b/modules/hunting/api_challengeover.go index 3ca137135..362696479 100644 --- a/modules/hunting/api_challengeover.go +++ b/modules/hunting/api_challengeover.go @@ -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 { diff --git a/modules/viking/api_challengeover.go b/modules/viking/api_challengeover.go index ad495c633..4f51d57c0 100644 --- a/modules/viking/api_challengeover.go +++ b/modules/viking/api_challengeover.go @@ -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))