From b6ecc4bf45b87261f4269e7d61683126c40780f1 Mon Sep 17 00:00:00 2001 From: Kenpachi Developer Date: Wed, 11 Mar 2020 21:35:47 +0100 Subject: Add pc_autocast_clear() function calls --- src/map/script.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index b08613ec3..5e285020f 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -21436,7 +21436,10 @@ static BUILDIN(unitskilluseid) } else { status_calc_npc(nd, SCO_NONE); } + } else if (bl->type == BL_PC) { + pc->autocast_clear(BL_UCAST(BL_PC, bl)); } + unit->skilluse_id(bl, target_id, skill_id, skill_lv); } @@ -21472,7 +21475,10 @@ static BUILDIN(unitskillusepos) } else { status_calc_npc(nd, SCO_NONE); } + } else if (bl->type == BL_PC) { + pc->autocast_clear(BL_UCAST(BL_PC, bl)); } + unit->skilluse_pos(bl, skill_x, skill_y, skill_id, skill_lv); } -- cgit v1.2.3-70-g09d2