summaryrefslogtreecommitdiff
path: root/src/emap/script.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-22 01:05:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-22 01:05:48 +0300
commit3fde4db8cdc341839282e6c521c0a9214ad23a7c (patch)
tree443d3e893f152dcdadae9456dcd7a8be4fb2c5b5 /src/emap/script.h
parent6f0de26cf8919b92000857a065ad2b0e86167994 (diff)
downloadevol-hercules-3fde4db8cdc341839282e6c521c0a9214ad23a7c.tar.gz
evol-hercules-3fde4db8cdc341839282e6c521c0a9214ad23a7c.tar.bz2
evol-hercules-3fde4db8cdc341839282e6c521c0a9214ad23a7c.tar.xz
evol-hercules-3fde4db8cdc341839282e6c521c0a9214ad23a7c.zip
Add script command successrefindex for success item refine by index.
New script command: successrefindex index, num; index - inventory index num - how many levels to up. Example: successrefindex .@index, 3;
Diffstat (limited to 'src/emap/script.h')
-rw-r--r--src/emap/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/script.h b/src/emap/script.h
index 4ce5ec2..3cf023a 100644
--- a/src/emap/script.h
+++ b/src/emap/script.h
@@ -46,5 +46,6 @@ BUILDIN(clientCommand);
BUILDIN(isUnitWalking);
BUILDIN(failedRefIndex);
BUILDIN(downRefIndex);
+BUILDIN(successRefIndex);
#endif // EVOL_MAP_SCRIPT