diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-01-26 23:33:39 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2020-02-09 23:56:00 +0100 |
commit | 29dfb34968fe42945bad712ce3ac8806d49ba473 (patch) | |
tree | 96700b03fad18a5aac85800148d929b3624f76ad /src/map/clif.c | |
parent | 7b003f2028906218bb6cff68e5e97ec47ad6681e (diff) | |
download | hercules-29dfb34968fe42945bad712ce3ac8806d49ba473.tar.gz hercules-29dfb34968fe42945bad712ce3ac8806d49ba473.tar.bz2 hercules-29dfb34968fe42945bad712ce3ac8806d49ba473.tar.xz hercules-29dfb34968fe42945bad712ce3ac8806d49ba473.zip |
Added skill_is_item_skill() function.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 24de61ec0..23fc3a74d 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -6762,7 +6762,7 @@ static void clif_item_skill(struct map_session_data *sd, uint16 skill_id, uint16 int type = skill->get_inf(skill_id); - if (sd->state.itemskill_castonself == 1 && sd->itemskill_id == sd->skillitem && sd->itemskill_lv == sd->skillitemlv) + if (sd->state.itemskill_castonself == 1 && skill->is_item_skill(sd, skill_id, skill_lv)) type = INF_SELF_SKILL; WFIFOHEAD(fd,packet_len(0x147)); |