From 6af6bcf5fb144d83b1b0baf414f01a55890afe86 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 27 Jul 2021 09:14:29 -0300 Subject: This is to deprecate !1 making it redundant. Ensures players can use @item/@zeny/etc --- npc/commands/debug.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt index f62b4a97..419b5742 100644 --- a/npc/commands/debug.txt +++ b/npc/commands/debug.txt @@ -643,6 +643,37 @@ OnInit: bindatcmd "set-var", "Debug Spell::OnSetVar", 99, 99, 1; bindatcmd "sclear", "Debug Spell::OnSClear", 99, 99, 1; bindatcmd "allperms", "Debug Spell::OnAllPerms", 99, 100, 1; + // Setup debug server command overrides + if (debug) { + add_group_command("str", 0, true, false); + add_group_command("agi", 0, true, false); + add_group_command("vit", 0, true, false); + add_group_command("int", 0, true, false); + add_group_command("dex", 0, true, false); + add_group_command("luk", 0, true, false); + add_group_command("item", 0, true, false); + add_group_command("zeny", 0, true, false); + add_group_command("heal", 0, true, false); + add_group_command("alive", 0, true, false); + add_group_command("speed", 0, true, false); + add_group_command("storage", 0, true, false); + add_group_command("streset", 0, true, false); + add_group_command("monster", 0, true, false); + add_group_command("allstats", 0, true, false); + add_group_command("killmonster2", 0, true, false); + add_group_command("monsterignore", 0, true, false); + + /* TODO: DEVs need some grants as well */ + add_group_command("item", 40, true, true); + add_group_command("zeny", 40, true, true); + add_group_command("monster", 40, true, true); + add_group_command("killmonster2", 40, true, true); + + add_group_command("item", 41, true, false); + add_group_command("zeny", 41, true, false); + add_group_command("monster", 41, true, false); + add_group_command("killmonster2", 41, true, false); + } end; } -- cgit v1.2.3-60-g2f50