summaryrefslogtreecommitdiff
path: root/src/emap/script_buildins.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-21 21:54:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-21 21:54:18 +0300
commit1af2a074bd643a5564a9911ee6cc9356673182be (patch)
tree4a7ecd8142bf1e2dba841cbb48d4f095d1c86be3 /src/emap/script_buildins.h
parent081236e0f54d19058b0fd26abd5c9499df91bbb7 (diff)
downloadevol-hercules-1af2a074bd643a5564a9911ee6cc9356673182be.tar.gz
evol-hercules-1af2a074bd643a5564a9911ee6cc9356673182be.tar.bz2
evol-hercules-1af2a074bd643a5564a9911ee6cc9356673182be.tar.xz
evol-hercules-1af2a074bd643a5564a9911ee6cc9356673182be.zip
Add script command for get card from item by inventory index.
New script command: getcardbyindex itemIndex, cardIndex
Diffstat (limited to 'src/emap/script_buildins.h')
-rw-r--r--src/emap/script_buildins.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/script_buildins.h b/src/emap/script_buildins.h
index 6baf5a4..733e0b9 100644
--- a/src/emap/script_buildins.h
+++ b/src/emap/script_buildins.h
@@ -49,6 +49,7 @@ BUILDIN(downRefIndex);
BUILDIN(successRefIndex);
BUILDIN(successRemoveCardsIndex);
BUILDIN(failedRemoveCardsIndex);
+BUILDIN(getCardByIndex);
BUILDIN(isStr);
BUILDIN(npcSit);
BUILDIN(npcStand);