From 6916a2defdf884cceb67e6699bd9b4cfaeba0279 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 7 Apr 2015 23:22:00 +0300 Subject: 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 --- src/map/struct/itemdext.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map/struct/itemdext.h') 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; }; -- cgit v1.2.3-70-g09d2