diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2016-01-04 18:39:55 +0530 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-21 21:02:59 +0100 |
commit | f606519c3b611573ade246ec82db26437bf03668 (patch) | |
tree | b8afd833b1ba602f0539dfa7c805c3613692a37a /src/map/itemdb.h | |
parent | 2d4c6eb05e19c31e7b4f69496ce55b6e611a7d35 (diff) | |
download | hercules-f606519c3b611573ade246ec82db26437bf03668.tar.gz hercules-f606519c3b611573ade246ec82db26437bf03668.tar.bz2 hercules-f606519c3b611573ade246ec82db26437bf03668.tar.xz hercules-f606519c3b611573ade246ec82db26437bf03668.zip |
Changing Job field to 'int64'
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r-- | src/map/itemdb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index 30a816521..3834b1954 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -478,7 +478,7 @@ struct item_data { int delay; //Lupus: I rearranged order of these fields due to compatibility with ITEMINFO script command // some script commands should be revised as well... - unsigned int class_base[3]; ///< Specifies if the base can wear this item (split in 3 indexes per type: 1-1, 2-1, 2-2) + 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 { unsigned short chance; @@ -608,8 +608,8 @@ struct itemdb_interface { int (*searchname_array_sub) (DBKey key, DBData data, va_list ap); int (*searchrandomid) (struct item_group *group); const char* (*typename) (int type); - void (*jobmask2mapid) (unsigned int *bclass, unsigned int jobmask); - void (*jobid2mapid) (unsigned int *bclass, int job_id, bool enable); + void (*jobmask2mapid) (uint64 *bclass, int64 jobmask); + void (*jobid2mapid) (uint64 *bclass, int job_id, bool enable); void (*create_dummy_data) (void); struct item_data* (*create_item_data) (int nameid); int (*isequip) (int nameid); |