summaryrefslogtreecommitdiff
path: root/src/map/data/itemd.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-07 23:22:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-08 11:54:23 +0300
commit6916a2defdf884cceb67e6699bd9b4cfaeba0279 (patch)
treeba28b30664670182a96fea73f95a8b184144c062 /src/map/data/itemd.c
parentfd83c8bda2a4508ddf734e00c57b5699d4ea9cb7 (diff)
downloadevol-hercules-6916a2defdf884cceb67e6699bd9b4cfaeba0279.tar.gz
evol-hercules-6916a2defdf884cceb67e6699bd9b4cfaeba0279.tar.bz2
evol-hercules-6916a2defdf884cceb67e6699bd9b4cfaeba0279.tar.xz
evol-hercules-6916a2defdf884cceb67e6699bd9b4cfaeba0279.zip
Add to item_db.conf item attributes for use effects.
New attributes: useEffect - send this effect to client if use item was success useFailEffect - send this effect to client if use item was fail
Diffstat (limited to 'src/map/data/itemd.c')
-rw-r--r--src/map/data/itemd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/data/itemd.c b/src/map/data/itemd.c
index 974c86c..6ec2db2 100644
--- a/src/map/data/itemd.c
+++ b/src/map/data/itemd.c
@@ -60,5 +60,7 @@ struct ItemdExt *itemd_create(void)
data->requiredMAtkMax = 0;
data->requiredDef = 0;
data->requiredMDef = 0;
+ data->useEffect = -1;
+ data->useFailEffect = -1;
return data;
}