From 649245fb5dc61ae506638983c328e9e28175c2d1 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Wed, 23 Nov 2022 10:16:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=20=E4=B8=96=E7=95=8C=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E5=88=A0=E9=99=A4=20Rtype14=2015=20=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- comm/const.go | 4 ++-- modules/hero/api_drawCard.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/comm/const.go b/comm/const.go index 8f00ce588..6657fa8c1 100644 --- a/comm/const.go +++ b/comm/const.go @@ -372,8 +372,8 @@ const ( Rtype11 TaskType = 11 //赠送X次友情点 Rtype12 TaskType = 12 //使用好友助战英雄xx次 Rtype13 TaskType = 13 //更换X次助战英雄 - Rtype14 TaskType = 14 //累计xx次普通招募 - Rtype15 TaskType = 15 //累计xx次阵营招募 + //Rtype14 TaskType = 14 //累计xx次普通招募 + //Rtype15 TaskType = 15 //累计xx次阵营招募 Rtype16 TaskType = 16 //招募获得xx品质英雄xx个 Rtype17 TaskType = 17 //普通招募十连,获得xx个以上xx星英雄 Rtype18 TaskType = 18 //xx次普通招募 diff --git a/modules/hero/api_drawCard.go b/modules/hero/api_drawCard.go index c39231f49..d32421668 100644 --- a/modules/hero/api_drawCard.go +++ b/modules/hero/api_drawCard.go @@ -241,10 +241,10 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq this.module.ModuleRtask.SendToRtask(session, comm.Rtype17, 1, k) } } - this.module.ModuleRtask.SendToRtask(session, comm.Rtype14, req.DrawCount) + //this.module.ModuleRtask.SendToRtask(session, comm.Rtype14, req.DrawCount) this.module.ModuleRtask.SendToRtask(session, comm.Rtype18, req.DrawCount) } else { // 阵营招募 - this.module.ModuleRtask.SendToRtask(session, comm.Rtype15, req.DrawCount) + //this.module.ModuleRtask.SendToRtask(session, comm.Rtype15, req.DrawCount) this.module.ModuleRtask.SendToRtask(session, comm.Rtype19, req.DrawCount) if drawCount == 10 { this.module.ModuleRtask.SendToRtask(session, comm.Rtype91, 1) // 阵营10连 From 2626616cc2bcafce470e71aabe3689b25bbbbe32 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Wed, 23 Nov 2022 10:29:24 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8D=87=E6=98=9F=E6=B2=A1=E7=BB=99?= =?UTF-8?q?=E5=A4=A9=E8=B5=8B=E7=82=B9=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/json/game_herostarup.json | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/bin/json/game_herostarup.json b/bin/json/game_herostarup.json index 430927df6..5e8b1382c 100644 --- a/bin/json/game_herostarup.json +++ b/bin/json/game_herostarup.json @@ -1526,7 +1526,13 @@ "needracestar": 5, "needracenum": 5, "gold": 10000, - "starup": [] + "starup": [ + { + "a": "item", + "t": "90001", + "n": 1 + } + ] }, { "key": 94, @@ -1619,7 +1625,13 @@ "needracestar": 5, "needracenum": 5, "gold": 10000, - "starup": [] + "starup": [ + { + "a": "item", + "t": "90002", + "n": 1 + } + ] }, { "key": 100, @@ -3468,7 +3480,13 @@ "needracestar": 4, "needracenum": 4, "gold": 10000, - "starup": [] + "starup": [ + { + "a": "item", + "t": "90003", + "n": 1 + } + ] }, { "key": 213,