diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-04-21 07:37:22 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-05-10 21:30:33 +0200 |
commit | 982dbd0ede4da728c9e10351f3a6e6acb14199ec (patch) | |
tree | 752bf113ca0e783c05c9e87c4b6709db7435247d /src/map/skill.c | |
parent | 505122c96f725384d7687c55f2cb92d3b0ae0a8b (diff) | |
download | hercules-982dbd0ede4da728c9e10351f3a6e6acb14199ec.tar.gz hercules-982dbd0ede4da728c9e10351f3a6e6acb14199ec.tar.bz2 hercules-982dbd0ede4da728c9e10351f3a6e6acb14199ec.tar.xz hercules-982dbd0ede4da728c9e10351f3a6e6acb14199ec.zip |
Add pc_autocast_clear() calls
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index f30142af7..136188238 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6354,6 +6354,7 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list * if (sd) { // player-casted + pc->autocast_clear(sd); sd->auto_cast_current.type = AUTOCAST_ABRA; sd->auto_cast_current.skill_id = abra_skill_id; sd->auto_cast_current.skill_lv = abra_skill_lv; @@ -10098,6 +10099,7 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list * clif->skill_nodamage (src, bl, skill_id, skill_lv, 1); if (sd != NULL) { + pc->autocast_clear(sd); sd->auto_cast_current.type = AUTOCAST_IMPROVISE; sd->auto_cast_current.skill_id = improv_skill_id; sd->auto_cast_current.skill_lv = improv_skill_lv; |