diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-22 01:05:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-22 01:05:48 +0300 |
commit | 3fde4db8cdc341839282e6c521c0a9214ad23a7c (patch) | |
tree | 443d3e893f152dcdadae9456dcd7a8be4fb2c5b5 /src/emap/script.h | |
parent | 6f0de26cf8919b92000857a065ad2b0e86167994 (diff) | |
download | evol-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.h | 1 |
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 |