Commit 4f8dfe80d2d931a18c467241d183bda464fb0e45
1 parent
c779be0c
补充gm帮助描述
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/actions/GmAction.lua
@@ -366,6 +366,7 @@ function _M.email(role, pms) | @@ -366,6 +366,7 @@ function _M.email(role, pms) | ||
366 | return "成功" | 366 | return "成功" |
367 | end | 367 | end |
368 | 368 | ||
369 | +table.insert(helpDes, {"清除引导", "cguide", "0全/1强/2弱"}) | ||
369 | function _M.cguide(role, pms) | 370 | function _M.cguide(role, pms) |
370 | local id = tonum(pms.pm1, 0) | 371 | local id = tonum(pms.pm1, 0) |
371 | if id == 0 then | 372 | if id == 0 then |
@@ -378,6 +379,7 @@ function _M.cguide(role, pms) | @@ -378,6 +379,7 @@ function _M.cguide(role, pms) | ||
378 | elseif id == 2 then | 379 | elseif id == 2 then |
379 | role:updateProperty({field = "funcGuide", value = ""}) | 380 | role:updateProperty({field = "funcGuide", value = ""}) |
380 | end | 381 | end |
382 | + return "成功" | ||
381 | end | 383 | end |
382 | 384 | ||
383 | function _M.helpRpc(agent, data) | 385 | function _M.helpRpc(agent, data) |