diff options
author | Haru <haru@dotalux.com> | 2016-02-28 22:18:29 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-28 22:22:31 +0100 |
commit | 905b59d85b790ea57198c47e249690094b296bda (patch) | |
tree | ad415f95a8ef0bc71a8a0e4aebd7828fad52a87a /src/map/mob.h | |
parent | 38df89621f9e5b4196a91f8361b4493247f41bd3 (diff) | |
download | hercules-905b59d85b790ea57198c47e249690094b296bda.tar.gz hercules-905b59d85b790ea57198c47e249690094b296bda.tar.bz2 hercules-905b59d85b790ea57198c47e249690094b296bda.tar.xz hercules-905b59d85b790ea57198c47e249690094b296bda.zip |
Changed mob mode field to 32 bit, for future expansion
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index 00e2b0723..60bc4b869 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -459,7 +459,7 @@ struct mob_interface { int (*setdelayspawn) (struct mob_data *md); int (*count_sub) (struct block_list *bl, va_list ap); int (*spawn) (struct mob_data *md); - int (*can_changetarget) (struct mob_data *md, struct block_list *target, int mode); + int (*can_changetarget) (const struct mob_data *md, const struct block_list *target, uint32 mode); int (*target) (struct mob_data *md, struct block_list *bl, int dist); int (*ai_sub_hard_activesearch) (struct block_list *bl, va_list ap); int (*ai_sub_hard_changechase) (struct block_list *bl, va_list ap); @@ -505,7 +505,7 @@ struct mob_interface { int (*skill_use) (struct mob_data *md, int64 tick, int event); int (*skill_event) (struct mob_data *md, struct block_list *src, int64 tick, int flag); int (*is_clone) (int class_); - int (*clone_spawn) (struct map_session_data *sd, int16 m, int16 x, int16 y, const char *event, int master_id, int mode, int flag, unsigned int duration); + int (*clone_spawn) (struct map_session_data *sd, int16 m, int16 x, int16 y, const char *event, int master_id, uint32 mode, int flag, unsigned int duration); int (*clone_delete) (struct mob_data *md); unsigned int (*drop_adjust) (int baserate, int rate_adjust, unsigned short rate_min, unsigned short rate_max); void (*item_dropratio_adjust) (int nameid, int mob_id, int *rate_adjust); @@ -518,7 +518,7 @@ struct mob_interface { int (*read_db_sub) (struct config_setting_t *mobt, int id, const char *source); void (*read_db_drops_sub) (struct mob_db *entry, struct config_setting_t *t); void (*read_db_mvpdrops_sub) (struct mob_db *entry, struct config_setting_t *t); - int (*read_db_mode_sub) (struct mob_db *entry, struct config_setting_t *t); + uint32 (*read_db_mode_sub) (struct mob_db *entry, struct config_setting_t *t); void (*read_db_stats_sub) (struct mob_db *entry, struct config_setting_t *t); void (*name_constants) (void); bool (*readdb_mobavail) (char *str[], int columns, int current); |