summaryrefslogtreecommitdiff
path: root/src/map/struct/itemdext.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-02 22:20:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-02 22:20:20 +0300
commit402cbb4310059bc37ffc2825b83a1659200bf12c (patch)
tree56faf21a6f91041fe25b9e6da31b66060e7c4f9c /src/map/struct/itemdext.h
parent3a0767592d15288849ad16b6dcd9171af821af33 (diff)
downloadevol-hercules-402cbb4310059bc37ffc2825b83a1659200bf12c.tar.gz
evol-hercules-402cbb4310059bc37ffc2825b83a1659200bf12c.tar.bz2
evol-hercules-402cbb4310059bc37ffc2825b83a1659200bf12c.tar.xz
evol-hercules-402cbb4310059bc37ffc2825b83a1659200bf12c.zip
Add item_db attributes for limit item usage.
Added attributesRequiredStr, RequiredAgi, RequiredVit, RequiredInt, RequiredDex, RequiredLuk. Check this attributes before equip item.
Diffstat (limited to 'src/map/struct/itemdext.h')
-rw-r--r--src/map/struct/itemdext.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/struct/itemdext.h b/src/map/struct/itemdext.h
index 4dce554..bf60e8b 100644
--- a/src/map/struct/itemdext.h
+++ b/src/map/struct/itemdext.h
@@ -7,6 +7,12 @@
struct ItemdExt
{
int floorLifeTime;
+ int requiredStr;
+ int requiredAgi;
+ int requiredVit;
+ int requiredInt;
+ int requiredDex;
+ int requiredLuk;
bool allowPickup;
};