From de4013d7e91deb7567a3eeb4fed74cc45ae32142 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Wed, 8 Feb 2023 15:31:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=AE=A2=E6=88=B7=E7=AB=AF?= =?UTF-8?q?=20=E8=BF=99=E4=B8=AA=E8=8B=B1=E9=9B=84=E6=98=AF=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E8=8E=B7=E5=BE=97=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/comp_configure.go | 2 +- modules/hero/api_drawCard.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/comp_configure.go b/modules/comp_configure.go index 03eff39b1..014617f50 100644 --- a/modules/comp_configure.go +++ b/modules/comp_configure.go @@ -363,7 +363,7 @@ func (this *MCompConfigure) GetAllItemConfigure() (item []*cfg.GameItemData) { return } -func (this *MCompConfigure) GetAllEquipmentConfigure(equipmentId string) (configure []*cfg.GameEquipData) { +func (this *MCompConfigure) GetAllEquipmentConfigure() (configure []*cfg.GameEquipData) { if v, err := this.GetConfigure(game_equip); err == nil { for _, v1 := range v.(*cfg.GameEquip).GetDataMap() { diff --git a/modules/hero/api_drawCard.go b/modules/hero/api_drawCard.go index 0e7d3c05d..08ce48eb0 100644 --- a/modules/hero/api_drawCard.go +++ b/modules/hero/api_drawCard.go @@ -349,6 +349,7 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq } } } + session.SendMsg(string(this.module.GetType()), DrawCard, rsp) // 任务统计