diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-22 00:15:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-22 00:15:38 +0300 |
commit | 6f0de26cf8919b92000857a065ad2b0e86167994 (patch) | |
tree | 9078dc09729ed6f0f0e1a25bf6109e2ccf48074e /src/emap/init.c | |
parent | 4333293820d5c7de27e9e760dfeaadbc1686f2c3 (diff) | |
download | evol-hercules-6f0de26cf8919b92000857a065ad2b0e86167994.tar.gz evol-hercules-6f0de26cf8919b92000857a065ad2b0e86167994.tar.bz2 evol-hercules-6f0de26cf8919b92000857a065ad2b0e86167994.tar.xz evol-hercules-6f0de26cf8919b92000857a065ad2b0e86167994.zip |
Add script function downrefindex for downgrade refine level.
New script function: downrefindex index, number
index - inventory index
number - number of levels to downgrade.
Example: downrefindex .@index, 1;
Diffstat (limited to 'src/emap/init.c')
-rw-r--r-- | src/emap/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c index 550ebf7..cdbe31a 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -117,6 +117,7 @@ HPExport void plugin_init (void) addScriptCommand("clientcommand", "s", clientCommand); addScriptCommand("isunitwalking", "?", isUnitWalking); addScriptCommand("failedrefindex", "i", failedRefIndex); + addScriptCommand("downrefindex", "ii", downRefIndex); do_init_langs(); |