diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-14 17:58:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-14 17:58:29 +0300 |
commit | 2ed4142dfcde097648857f41f8064b0a19c350c7 (patch) | |
tree | 5777014a74b30081ac39cda28ea9c64280cbebb5 /src/emap/data | |
parent | f8b3342f690816022d26038389431002e9cf3648 (diff) | |
download | evol-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/data')
-rw-r--r-- | src/emap/data/itemd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/data/itemd.c b/src/emap/data/itemd.c index 4b171b2..e7af7f2 100644 --- a/src/emap/data/itemd.c +++ b/src/emap/data/itemd.c @@ -64,5 +64,6 @@ struct ItemdExt *itemd_create(void) data->useFailEffect = -1; data->unequipEffect = -1; data->unequipFailEffect = -1; + data->charmItem = false; return data; } |