From 2dcb9eab447565ae3df51bfd32f7688300d7e55a Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Fri, 19 Aug 2022 20:04:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E9=94=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/api_drawCard.go | 1 - modules/rtask/config.go | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/hero/api_drawCard.go b/modules/hero/api_drawCard.go index 909221422..2363dbf86 100644 --- a/modules/hero/api_drawCard.go +++ b/modules/hero/api_drawCard.go @@ -122,7 +122,6 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq } } - costAtn.N *= req.DrawCount costRes = append(costRes, costAtn) //阵营消耗 diff --git a/modules/rtask/config.go b/modules/rtask/config.go index 9181a363f..f8622bfc9 100644 --- a/modules/rtask/config.go +++ b/modules/rtask/config.go @@ -8,9 +8,9 @@ import ( ) const ( - gameRtask = "game_rdtaskall.json" + gameRtask = "game_rdtask.json" gameRtaskChoose = "game_rdtaskchoose.json" - gameRtaskType = "game_rdtasktype.json" + gameRtaskType = "game_rdtaskcondi.json" ) type configureComp struct {