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" {