Ver Fonte

Fixed bugreport:5324 Elemental Sword bautospellonskill recursion is now fully functional

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15775 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind há 13 anos atrás
pai
commit
7ddb5fa88a
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      src/map/skill.c

+ 4 - 0
src/map/skill.c

@@ -1558,6 +1558,10 @@ int skill_onskillusage(struct map_session_data *sd, struct block_list *bl, int s
 		}
 		sd->autospell3[i].lock = false;
 		sd->state.autocast = 0;
+		/**
+		 * bugreport:5324 trigger recursion
+		 **/
+		skill_onskillusage(sd, bl, skill, tick);
 	}
 
 	if( sd && sd->autobonus3[0].rate )