From 5faaf3002a892290b3c45609b02ef71b6cf66150 Mon Sep 17 00:00:00 2001 From: Lorenzo Buitizon Date: Mon, 25 Aug 2025 02:36:24 +0800 Subject: [PATCH] Fixed SR_KNUCKLEARROW knockback facing issue. Signed-off-by: Lorenzo Buitizon --- src/map/skill.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/map/skill.c b/src/map/skill.c index 02b92e74b1c..ace243d2650 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3805,6 +3805,8 @@ static int skill_attack(int attack_type, struct block_list *src, struct block_li skill->addtimerskill(src, tick + status_get_amotion(src), bl->id, 0, 0, LG_OVERBRAND_PLUSATK, skill_lv, BF_WEAPON, flag|SD_ANIMATION); break; case SR_KNUCKLEARROW: + dir = map->calc_dir(bl, src->x, src->y); // Get direction from target to source + unit->set_dir(bl, unit_get_opposite_dir(dir)); if( skill->blown(dsrc,bl,dmg.blewcount,dir,0) && !(flag&4) ) { short dir_x, dir_y; if (Assert_chk(dir >= UNIT_DIR_FIRST && dir < UNIT_DIR_MAX)) {