summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-25 14:49:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-25 14:49:46 +0300
commit5d279bc95153b0785c844f88f02ef5239e9d9753 (patch)
treec81398fd0caa6edf9160bea880bfaaf5ebd219a0 /src/map/init.c
parent92ba7ee3b19bc4151d69700e9b1b5484298cbcbf (diff)
downloadevol-hercules-5d279bc95153b0785c844f88f02ef5239e9d9753.tar.gz
evol-hercules-5d279bc95153b0785c844f88f02ef5239e9d9753.tar.bz2
evol-hercules-5d279bc95153b0785c844f88f02ef5239e9d9753.tar.xz
evol-hercules-5d279bc95153b0785c844f88f02ef5239e9d9753.zip
Add gm command for set player skill level. It also allow add/delete skills.
New gm command: @setskill skill level
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index e2834ca..a9cc312 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -68,6 +68,8 @@ HPExport void plugin_init (void)
{
// HPM_map_add_group_permission = GET_SYMBOL("addGroupPermission");
+ addAtcommand("setskill", setSkill);
+
addScriptCommand("setcamnpc", "*", setCamNpc);
addScriptCommand("setcam", "ii", setCam);
addScriptCommand("movecam", "ii", moveCam);