From fc3f67c1f04a1494481b2a6cf9157fb188469c2b Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Wed, 23 Nov 2022 09:56:14 +0800 Subject: [PATCH] =?UTF-8?q?bingo=20=E4=BC=98=E5=8C=96=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=E5=BF=BD=E7=95=A5=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/json/game_daddy.json | 90 ++++++++++++++++++++++++++++++++++++++++ modules/gm/module.go | 1 + 2 files changed, 91 insertions(+) diff --git a/bin/json/game_daddy.json b/bin/json/game_daddy.json index 0d3e88987..71da4b9fc 100644 --- a/bin/json/game_daddy.json +++ b/bin/json/game_daddy.json @@ -718,5 +718,95 @@ "n": 1 } ] + }, + { + "index": "51", + "var": [ + { + "a": "hero", + "t": "43901", + "n": 50 + } + ] + }, + { + "index": "52", + "var": [ + { + "a": "hero", + "t": "43902", + "n": 50 + } + ] + }, + { + "index": "53", + "var": [ + { + "a": "hero", + "t": "43903", + "n": 50 + } + ] + }, + { + "index": "54", + "var": [ + { + "a": "hero", + "t": "43921", + "n": 50 + } + ] + }, + { + "index": "55", + "var": [ + { + "a": "hero", + "t": "44921", + "n": 50 + } + ] + }, + { + "index": "56", + "var": [ + { + "a": "hero", + "t": "42911", + "n": 50 + } + ] + }, + { + "index": "57", + "var": [ + { + "a": "hero", + "t": "43911", + "n": 50 + } + ] + }, + { + "index": "58", + "var": [ + { + "a": "hero", + "t": "44911", + "n": 50 + } + ] + }, + { + "index": "59", + "var": [ + { + "a": "hero", + "t": "45921", + "n": 50 + } + ] } ] \ No newline at end of file diff --git a/modules/gm/module.go b/modules/gm/module.go index d1ea770f1..4869d730a 100644 --- a/modules/gm/module.go +++ b/modules/gm/module.go @@ -62,6 +62,7 @@ func (this *GM) OnInstallComp() { //bingo:Iamyoudad func (this *GM) CreateCmd(session comm.IUserSession, cmd string) (code pb.ErrorCode) { code = pb.ErrorCode_ReqParameterError + cmd = strings.Replace(cmd, " ", "", -1) // 去空格 keys := strings.Split(cmd, ":") if len(keys) == 2 { if keys[0] == "bingo" {