diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-21 23:02:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-21 23:32:17 +0300 |
commit | 0837129c403ddbf56e581b97d4878e85ac1c4489 (patch) | |
tree | 0e99e354d650630f1de67399da5cd475d44012dd /src/emap/init.c | |
parent | 1af2a074bd643a5564a9911ee6cc9356673182be (diff) | |
download | plugin-0837129c403ddbf56e581b97d4878e85ac1c4489.tar.gz plugin-0837129c403ddbf56e581b97d4878e85ac1c4489.tar.bz2 plugin-0837129c403ddbf56e581b97d4878e85ac1c4489.tar.xz plugin-0837129c403ddbf56e581b97d4878e85ac1c4489.zip |
Add script command for remove card in item by inventory and card index.
New script command: removecardbyindex itemIndex, cardIndex
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 03c8c04..8c9600f 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -149,6 +149,7 @@ HPExport void plugin_init (void) addScriptCommand("successremovecardsindex", "i", successRemoveCardsIndex); addScriptCommand("failedremovecardsindex", "ii", failedRemoveCardsIndex); addScriptCommand("getcardbyindex", "ii", getCardByIndex); + addScriptCommand("removecardbyindex", "ii", removeCardByIndex); addScriptCommand("isstr", "v", isStr); addScriptCommand("setbgteam", "ii", setBgTeam); addScriptCommand("checknpccell", "siii", checkNpcCell); |