summaryrefslogtreecommitdiff
path: root/src/emap/struct
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-14 17:58:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-14 17:58:29 +0300
commit2ed4142dfcde097648857f41f8064b0a19c350c7 (patch)
tree5777014a74b30081ac39cda28ea9c64280cbebb5 /src/emap/struct
parentf8b3342f690816022d26038389431002e9cf3648 (diff)
downloadevol-hercules-2ed4142dfcde097648857f41f8064b0a19c350c7.tar.gz
evol-hercules-2ed4142dfcde097648857f41f8064b0a19c350c7.tar.bz2
evol-hercules-2ed4142dfcde097648857f41f8064b0a19c350c7.tar.xz
evol-hercules-2ed4142dfcde097648857f41f8064b0a19c350c7.zip
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"
Diffstat (limited to 'src/emap/struct')
-rw-r--r--src/emap/struct/itemdext.h1
1 files changed, 1 insertions, 0 deletions
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