diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-12 02:21:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-12 02:21:26 -0300 |
commit | c4f76bf3561041a727c11d34e6644e13574af596 (patch) | |
tree | bd2663428af54552cadf8d8570c72f3a9ecc97a9 /src/emap/init.c | |
parent | d6de86a384fb97861de364628c79924fff558144 (diff) | |
download | evol-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.c | 7 |
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); |