summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-27 09:14:29 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-27 09:14:29 -0300
commit6af6bcf5fb144d83b1b0baf414f01a55890afe86 (patch)
treedec16f5dcc25cc0f432dbad83c20b3c55afc45ad
parent5ce425f7a0e5b6dd6c5d95e83c97ca04e5801e68 (diff)
downloadserverdata-6af6bcf5fb144d83b1b0baf414f01a55890afe86.tar.gz
serverdata-6af6bcf5fb144d83b1b0baf414f01a55890afe86.tar.bz2
serverdata-6af6bcf5fb144d83b1b0baf414f01a55890afe86.tar.xz
serverdata-6af6bcf5fb144d83b1b0baf414f01a55890afe86.zip
This is to deprecate !1 making it redundant. Ensures players can use @item/@zeny/etc
-rw-r--r--npc/commands/debug.txt31
1 files changed, 31 insertions, 0 deletions
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;
}