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/struct/itemdext.h | |
parent | fd83c8bda2a4508ddf734e00c57b5699d4ea9cb7 (diff) | |
download | plugin-6916a2defdf884cceb67e6699bd9b4cfaeba0279.tar.gz plugin-6916a2defdf884cceb67e6699bd9b4cfaeba0279.tar.bz2 plugin-6916a2defdf884cceb67e6699bd9b4cfaeba0279.tar.xz plugin-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.h | 5 |
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; }; |