Explorar el Código

(AoE) skills continue to trigger even if character is dead, official behavior; bugreport:5170

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15303 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind hace 13 años
padre
commit
d983df62e1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/map/status.c

+ 1 - 1
src/map/status.c

@@ -1298,7 +1298,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int
 
 	status = src?status_get_status_data(src):&dummy_status;
 
-	if (src && status_isdead(src))
+	if (src && src->type != BL_PC && status_isdead(src))
 		return 0;
 
 	if (!skill_num) { //Normal attack checks.