修复问题、添加give命令

修复使用除主角外角色无法进入的问题
新增give命令 武器数量 精炼 角色等级 命座等后期增加参数
This commit is contained in:
UnKownOwO
2022-11-26 16:30:36 +08:00
parent 5fa5ef5e01
commit 86a65e6f9b
9 changed files with 274 additions and 65 deletions

View File

@@ -71,6 +71,7 @@ func (c *CommandManager) InitRouter() {
c.RegisterRouter(CommandPermNormal, c.HelpCommand, "help")
c.RegisterRouter(CommandPermNormal, c.OpCommand, "op")
c.RegisterRouter(CommandPermNormal, c.TeleportCommand, "teleport", "tp")
c.RegisterRouter(CommandPermNormal, c.GiveCommand, "give", "item")
}
// GM命令
{