140 lines
2.9 KiB
Lua
140 lines
2.9 KiB
Lua
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 2025-01-01 23:59:10]],
|
||
type = "time 2025-09-28 23:59:50"
|
||
},
|
||
{
|
||
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"
|
||
},
|
||
{
|
||
title = "添加monster技能",
|
||
desc = [[添加技能type:add_monster_skill
|
||
args:技能id
|
||
Example: add_monster_skill 10027]],
|
||
type = "add_monster_skill"
|
||
},
|
||
{
|
||
title = "设置棋盘遍历信息",
|
||
desc = [[设置棋盘遍历信息type:set_board_info
|
||
args:1.棋盘配置表名 2.起始boardId(不填默认0) 3.看宝箱配置(不填为不看)
|
||
Example: set_board_info chapter_board 0 1]],
|
||
type = "set_board_info"
|
||
},
|
||
{
|
||
title = "设置当前章节",
|
||
desc = [[设置当前章节:set_cur_chapter
|
||
Example: set_cur_chapter 9]],
|
||
type = "set_cur_chapter"
|
||
},
|
||
{
|
||
title = "跨周",
|
||
desc = [[跨周:week_end
|
||
Example: week_end]],
|
||
type = "week_end"
|
||
},
|
||
{
|
||
title = "跨天",
|
||
desc = [[跨天:day_end
|
||
Example: day_end]],
|
||
type = "day_end"
|
||
},
|
||
}
|
||
return GMConst |