summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-12 02:21:26 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-12 02:21:26 -0300
commitc4f76bf3561041a727c11d34e6644e13574af596 (patch)
treebd2663428af54552cadf8d8570c72f3a9ecc97a9 /src/emap/init.c
parentd6de86a384fb97861de364628c79924fff558144 (diff)
downloadevol-hercules-c4f76bf3561041a727c11d34e6644e13574af596.tar.gz
evol-hercules-c4f76bf3561041a727c11d34e6644e13574af596.tar.bz2
evol-hercules-c4f76bf3561041a727c11d34e6644e13574af596.tar.xz
evol-hercules-c4f76bf3561041a727c11d34e6644e13574af596.zip
Implement guild info functions on TMW2.
At least it wasn't difficult >_>
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 31656ef..d8c53b0 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -209,6 +209,13 @@ HPExport void plugin_init (void)
addScriptCommand("setitemoptionbyindex", "iii*", setItemOptionByIndex);
addScriptCommand("isinstance", "i", isInstance);
+ // TMW2 Custom Script Commands
+ addScriptCommand("getguildinfo","i",getguildinfo);
+ addScriptCommand("getguildlvl","i",getguildlvl);
+ addScriptCommand("getguildavg","i",getguildavg);
+ addScriptCommand("getguildexp","i",getguildexp);
+ addScriptCommand("getguildnxp","i",getguildnxp);
+
do_init_langs();
addPacket(0x7530, 22, map_parse_version, hpClif_Parse);