c1_lua/lua/app/module/gm/gm_const.lua
2023-06-02 17:07:09 +08:00

109 lines
2.2 KiB
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

local GMConst = {}
--des 是命令描述 type 是命令字符串
GMConst.GM_INFO = {
{
title = "添加道具",
desc = [[添加道具 type:add_item
arg1:物品id
arg2:物品数量
Example: add_item 1 100]],
type = "add_item"
},
{
title = "全道具",
desc = [[全道具 type:all_items
arg1:物品数量
Example: all_items]],
type = "all_items"
},
{
title = "删除道具",
desc = [[删除道具 type:del_item
arg1:物品id
arg2:物品数量
Example: del_item]],
type = "del_item"
},
{
title = "清除道具",
desc = [[清除道具 type:clear_item
Example: clear_item]],
type = "clear_item"
},
{
title = "每日重置",
desc = [[每日重置 type:reset_by_day
Example: reset_by_day]],
type = "reset_by_day"
},
{
title = "设置时间",
desc = [[设置时间 type:time
Example: time 2023-3-9 18:10:59]],
type = "time"
},
{
title = "重置时间差",
desc = [[重置时间差 type:time_diff
Example: time_diff 0]],
type = "time_diff"
},
{
title = "调整时间差",
desc = [[调整时间差 type:add_time_diff
Example: add_time_diff 1000]],
type = "add_time_diff"
},
{
title = "挑战章节",
desc = [[挑战章节 type:chapter
Example: chapter 5 10 参数1 章节 参数2 波次]],
type = "chapter"
},
{
title = "重置战令",
desc = [[重置战令
Example: reset_bounty]],
type = "reset_bounty"
},
{
title = "添加邮件",
desc = [[添加邮件 type:add_mail
arg1:邮件id
Example: add_mail 1]],
type = "add_mail"
},
{
title = "触发任务",
desc = [[触发任务 type:trig_event
arg1:任务类型
arg2:任务参数
Example: trig_event 22 5]],
type = "trig_event"
},
{
title = "添加buff",
desc = [[添加buff type:add_buff
arg1:buff名字
arg2:buff参数
arg3:buff回合数
arg4:buff生效对象1己方2敌方
Example: add_buff atkp_add 5000 2 1]],
type = "add_buff"
},
{
title = "设置当前不可掉落元素",
desc = [[设置当前不可掉落元素type:set_seal_element
args:不掉落的元素类型
Example: set_seal_element 1 2 3]],
type = "set_seal_element"
},
{
title = "账号解绑",
desc = [[账号解绑 type:unbind
Example: unbind google]],
type = "unbind"
},
}
return GMConst