diff options
author | Dastgir <dastgirp@gmail.com> | 2018-06-12 09:31:13 +0530 |
---|---|---|
committer | Dastgir <dastgirp@gmail.com> | 2018-06-12 09:33:51 +0530 |
commit | 091f6a8f923552e2b9a7e789a4ba9b549e5816cd (patch) | |
tree | 821a2fe29d4b64edfe15a7c71b9ea5dba913b58d /src/map/skill.h | |
parent | c81fee18c0d5ed70f8717679ee16cebe5e591c58 (diff) | |
download | hercules-091f6a8f923552e2b9a7e789a4ba9b549e5816cd.tar.gz hercules-091f6a8f923552e2b9a7e789a4ba9b549e5816cd.tar.bz2 hercules-091f6a8f923552e2b9a7e789a4ba9b549e5816cd.tar.xz hercules-091f6a8f923552e2b9a7e789a4ba9b549e5816cd.zip |
Changed returntype of skill_check_condition_castend_unknown.
skill_check_condition_castend is terminated if returntype is true
Diffstat (limited to 'src/map/skill.h')
-rw-r--r-- | src/map/skill.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.h b/src/map/skill.h index e16094eae..bd1dc3344 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -2172,7 +2172,7 @@ struct skill_interface { int (*check_condition_castbegin_mount_unknown) (struct status_change *sc, uint16 *skill_id); int (*check_condition_castbegin_madogear_unknown) (struct status_change *sc, uint16 *skill_id); int (*check_condition_castbegin_unknown) (struct status_change *sc, uint16 *skill_id); - void (*check_condition_castend_unknown) (struct map_session_data* sd, uint16 *skill_id, uint16 *skill_lv); + bool (*check_condition_castend_unknown) (struct map_session_data* sd, uint16 *skill_id, uint16 *skill_lv); bool (*get_requirement_off_unknown) (struct status_change *sc, uint16 *skill_id); bool (*get_requirement_item_unknown) (struct status_change *sc, struct map_session_data* sd, uint16 *skill_id, uint16 *skill_lv, uint16 *idx, int *i); void (*get_requirement_unknown) (struct status_change *sc, struct map_session_data* sd, uint16 *skill_id, uint16 *skill_lv, struct skill_condition *req); |