From 18a438b117b5ebe9b9fb75661f7b355d765925a8 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Wed, 24 May 2023 19:13:35 +0800 Subject: [PATCH] =?UTF-8?q?83=E5=9F=8B=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- comm/const.go | 2 +- modules/hunting/api_challengeover.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/comm/const.go b/comm/const.go index a376e6c9a..a3f2afb44 100644 --- a/comm/const.go +++ b/comm/const.go @@ -559,7 +559,7 @@ const ( Rtype80 TaskType = 80 //通关难度A指定狩猎BOOS难度N次(从接到任务开始,只有通关A难度进度才+1) Rtype81 TaskType = 81 //通关A难度狩猎BOOS(检查最高难度记录是否达到了此难度,达到则完成) Rtype82 TaskType = 82 //通关狩猎指定BOOSN次(历史)(从创号开始记录登陆天数,通关任意难度进度都+1) - //Rtype83 TaskType = 83 //通关难度A及以上指定狩猎BOOSN次(从接到任务开始,若通关难度大于等于设定难度,则进度+1) + Rtype83 TaskType = 83 //通关难度A及以上指定狩猎BOOSN次(从接到任务开始,若通关难度大于等于设定难度,则进度+1) Rtype84 TaskType = 84 //普通塔达到XX层(检查最高难度记录是否达到了此难度,达到则完成) Rtype85 TaskType = 85 //赛季塔达到XX层(检查最高难度记录是否达到了此难度,达到则完成) Rtype86 TaskType = 86 //本赛季的赛季塔达到XX层(检查本赛季最高难度记录是否达到了此难度,达到则完成) diff --git a/modules/hunting/api_challengeover.go b/modules/hunting/api_challengeover.go index ed05ed6da..c5e61a0a3 100644 --- a/modules/hunting/api_challengeover.go +++ b/modules/hunting/api_challengeover.go @@ -171,6 +171,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.HuntingCha if req.Auto { tasks = append(tasks, comm.GettaskParam(comm.Rtype172, 1)) } + tasks = append(tasks, comm.GettaskParam(comm.Rtype83, 1, req.BossType, req.Difficulty)) go this.module.ModuleRtask.TriggerTask(session.GetUserId(), tasks...) return }