summaryrefslogtreecommitdiff
path: root/src/map/itemdb.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-09-05 00:04:37 +0200
committerHaru <haru@dotalux.com>2017-09-17 17:48:10 +0200
commit00570591031eb6fc99c7c26ba58a2a7efb144e7f (patch)
tree40295e2c3deee7a2e68329d0cf3c4b477b2247c7 /src/map/itemdb.h
parent1ff0de40805658e1497d6688d9a5cd80586604cc (diff)
downloadhercules-00570591031eb6fc99c7c26ba58a2a7efb144e7f.tar.gz
hercules-00570591031eb6fc99c7c26ba58a2a7efb144e7f.tar.bz2
hercules-00570591031eb6fc99c7c26ba58a2a7efb144e7f.tar.xz
hercules-00570591031eb6fc99c7c26ba58a2a7efb144e7f.zip
Reimplement getiteminfo/setiteminfo in a safer and more maintainable way
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r--src/map/itemdb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index 35cd154cb..0ab6ef65b 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -454,7 +454,6 @@ struct item_data {
uint16 nameid;
char name[ITEM_NAME_LENGTH],jname[ITEM_NAME_LENGTH];
- //Do not add stuff between value_buy and view_id (see how getiteminfo works)
int value_buy;
int value_sell;
int type;
@@ -474,8 +473,6 @@ struct item_data {
int elvmax;/* maximum level for this item */
int delay;
-//Lupus: I rearranged order of these fields due to compatibility with ITEMINFO script command
-// some script commands should be revised as well...
uint64 class_base[3]; ///< Specifies if the base can wear this item (split in 3 indexes per type: 1-1, 2-1, 2-2)
unsigned class_upper : 6; ///< Specifies if the upper-type can equip it (bitfield, 0x01: normal, 0x02: upper, 0x04: baby normal, 0x08: third normal, 0x10: third upper, 0x20: third baby)
struct {