From 2ed4142dfcde097648857f41f8064b0a19c350c7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 14 Aug 2015 17:58:29 +0300 Subject: Add basic support for charm items (If item present in inventory it give own bonuses) For char item in items.conf need add attribute "Charm: true" --- src/emap/struct/itemdext.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/emap/struct/itemdext.h') diff --git a/src/emap/struct/itemdext.h b/src/emap/struct/itemdext.h index 8d4a555..0144fbe 100644 --- a/src/emap/struct/itemdext.h +++ b/src/emap/struct/itemdext.h @@ -28,6 +28,7 @@ struct ItemdExt int unequipFailEffect; bool allowPickup; + bool charmItem; }; #endif // EVOL_MAP_ITEMDEXT -- cgit v1.2.3-70-g09d2