diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-10-20 18:29:10 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-10-20 18:29:10 -0300 |
commit | 3216025edc23a371baa596c23288ac3467630282 (patch) | |
tree | b14f43b4cab69031103acbd28f19a1c632116a48 /src/emap/init.c | |
parent | 7b7ff83feaef6e5a94889e3dc506f1518733c2ca (diff) | |
download | evol-hercules-3216025edc23a371baa596c23288ac3467630282.tar.gz evol-hercules-3216025edc23a371baa596c23288ac3467630282.tar.bz2 evol-hercules-3216025edc23a371baa596c23288ac3467630282.tar.xz evol-hercules-3216025edc23a371baa596c23288ac3467630282.zip |
Add a function to retrieve EXP tax for a certain guild role,
and another function to retrieve the role title. (I think the role title function
may be used more times, as it makes prettier scripts)
Diffstat (limited to 'src/emap/init.c')
-rw-r--r-- | src/emap/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c index 0e83b9a..0837489 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -210,6 +210,8 @@ HPExport void plugin_init (void) addScriptCommand("getitemoptionparambyindex", "ii", getItemOptionParamByIndex); addScriptCommand("setitemoptionbyindex", "iii*", setItemOptionByIndex); addScriptCommand("isinstance", "i", isInstance); + addScriptCommand("getguildpostax","ii",getguildpostax); + addScriptCommand("getguildpostitle","ii",getguildpostitle); do_init_langs(); |