diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-05 20:39:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-12 02:29:12 +0300 |
commit | 6e0ecf794b95405f70d27e676a03153fc2c2b862 (patch) | |
tree | 8e05633579dc714b6afbd5e43eb512e4a58a0dd3 /src/map/clif.h | |
parent | c6871ff29e0e6d58f6915aafaf1b86e464aae623 (diff) | |
download | hercules-6e0ecf794b95405f70d27e676a03153fc2c2b862.tar.gz hercules-6e0ecf794b95405f70d27e676a03153fc2c2b862.tar.bz2 hercules-6e0ecf794b95405f70d27e676a03153fc2c2b862.tar.xz hercules-6e0ecf794b95405f70d27e676a03153fc2c2b862.zip |
Split btype and item_id parameters in function clif_skill_fail.
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index f071e8135..8439d4451 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -364,7 +364,8 @@ typedef enum useskill_fail_cause { // clif_skill_fail USESKILL_FAIL_STYLE_CHANGE_GRAPPLER = 82, USESKILL_FAIL_THERE_ARE_NPC_AROUND = 83, USESKILL_FAIL_NEED_MORE_BULLET = 84, -}useskill_fail_cause; + // max known value 96 +} useskill_fail_cause; /** * Used to answer CZ_PC_BUY_CASH_POINT_ITEM (clif_parse_cashshop_buy) @@ -806,7 +807,7 @@ struct clif_interface { int (*insight) (struct block_list *bl,va_list ap); int (*outsight) (struct block_list *bl,va_list ap); void (*skillcastcancel) (struct block_list* bl); - void (*skill_fail) (struct map_session_data *sd,uint16 skill_id,enum useskill_fail_cause cause,int btype); + void (*skill_fail) (struct map_session_data *sd, uint16 skill_id, enum useskill_fail_cause cause, int btype, int item_id); void (*skill_cooldown) (struct map_session_data *sd, uint16 skill_id, unsigned int duration); void (*skill_memomessage) (struct map_session_data* sd, int type); void (*skill_mapinfomessage) (struct map_session_data *sd, int type); |