ソースを参照

Corrected Knuckle Arrow behavior (fixes #1483)
* Items that prevent knock back will stop Knuckle Arrow's knock back effect.

aleos89 8 年 前
コミット
5fcb3bff05
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/map/skill.c

+ 1 - 1
src/map/skill.c

@@ -2955,7 +2955,7 @@ void skill_attack_blow(struct block_list *src, struct block_list *dsrc, struct b
 			// Ignore knockback damage bonus if in WOE (player cannot be knocked in WOE)
 			// Boss & Immune Knockback stay in place and don't get bonus damage
 			// Give knockback damage bonus only hits the wall. (bugreport:9096)
-			if (skill_blown(dsrc, target, blewcount, dir_ka, 0x04|0x08|0x10|0x20) < blewcount)
+			if (skill_blown(dsrc, target, blewcount, dir_ka, 0x02|0x04|0x08|0x10|0x20) < blewcount)
 				skill_addtimerskill(src, tick + 300 * ((flag&2) ? 1 : 2), target->id, 0, 0, skill_id, skill_lv, BF_WEAPON, flag|4);
 			dir_ka = -1;
 			break;