Explorar el Código

Prevented Phatasmic Arrow to knock back targets that would die from its attack. #1378

Cem YILMAZ hace 8 años
padre
commit
0fe730d972
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/map/skill.c

+ 3 - 0
src/map/skill.c

@@ -2942,6 +2942,9 @@ void skill_attack_blow(struct block_list *src, struct block_list *dsrc, struct b
 			else
 				dir = map_calc_dir(target, skill_area_temp[4], skill_area_temp[5]);
 			break;
+		case HT_PHANTASMIC: // issue #1378
+			if (status_get_hp(target) - damage <= 0) return;
+			break;
 	}
 
 	// Blown-specific handling