diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-02 22:20:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-02 22:20:20 +0300 |
commit | 402cbb4310059bc37ffc2825b83a1659200bf12c (patch) | |
tree | 56faf21a6f91041fe25b9e6da31b66060e7c4f9c /src/map/struct/itemdext.h | |
parent | 3a0767592d15288849ad16b6dcd9171af821af33 (diff) | |
download | plugin-402cbb4310059bc37ffc2825b83a1659200bf12c.tar.gz plugin-402cbb4310059bc37ffc2825b83a1659200bf12c.tar.bz2 plugin-402cbb4310059bc37ffc2825b83a1659200bf12c.tar.xz plugin-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.h | 6 |
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; }; |