diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-07 23:22:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-08 11:54:23 +0300 |
commit | 6916a2defdf884cceb67e6699bd9b4cfaeba0279 (patch) | |
tree | ba28b30664670182a96fea73f95a8b184144c062 /src/map/data/itemd.c | |
parent | fd83c8bda2a4508ddf734e00c57b5699d4ea9cb7 (diff) | |
download | evol-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.c | 2 |
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; } |