Browse Source

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 13 năm trước cách đây
mục cha
commit
7ddb5fa88a
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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 )