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/script.h | |
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/script.h')
-rw-r--r-- | src/emap/script.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/script.h b/src/emap/script.h index abf6b55..4ce5ec2 100644 --- a/src/emap/script.h +++ b/src/emap/script.h @@ -45,5 +45,6 @@ BUILDIN(setMount); BUILDIN(clientCommand); BUILDIN(isUnitWalking); BUILDIN(failedRefIndex); +BUILDIN(downRefIndex); #endif // EVOL_MAP_SCRIPT |