summaryrefslogtreecommitdiff
path: root/src/map/struct/itemdext.h
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/struct/itemdext.h
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/struct/itemdext.h')
-rw-r--r--src/map/struct/itemdext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/struct/itemdext.h b/src/map/struct/itemdext.h
index 283f20d..1308f39 100644
--- a/src/map/struct/itemdext.h
+++ b/src/map/struct/itemdext.h
@@ -7,6 +7,7 @@
struct ItemdExt
{
int floorLifeTime;
+
int requiredStr;
int requiredAgi;
int requiredVit;
@@ -20,6 +21,10 @@ struct ItemdExt
int requiredMAtkMax;
int requiredDef;
int requiredMDef;
+
+ int useEffect;
+ int useFailEffect;
+
bool allowPickup;
};