소스 검색

* Spirit of Bard and Dancer now only works for mastered skills (bugreport:3037)
- also fixed an outdated comment in the source code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13714 54d463be-8e91-2dee-dedb-b68131a5f0ec

Playtester 16 년 전
부모
커밋
dd635a835a
3개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      Changelog-Trunk.txt
  2. 4 0
      src/map/pc.c
  3. 1 1
      src/map/skill.c

+ 3 - 0
Changelog-Trunk.txt

@@ -3,6 +3,9 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
+2009/05/02
+	* Spirit of Bard and Dancer now only works for mastered skills (bugreport:3037) [Playtester]
+	- also fixed an outdated comment in the source code
 2009/04/27
 	* Fixed break equipment debuff working on bosses (bugreport:3023) [Playtester]
 2009/04/25

+ 4 - 0
src/map/pc.c

@@ -1106,12 +1106,16 @@ int pc_calc_skilltree(struct map_session_data *sd)
 		{ //Enable Bard/Dancer spirit linked skills.
 			if( sd->status.sex )
 			{ //Link dancer skills to bard.
+				if( sd->status.skill[i-8].lv < 10 )
+					continue;
 				sd->status.skill[i].id = i;
 				sd->status.skill[i].lv = sd->status.skill[i-8].lv; // Set the level to the same as the linking skill
 				sd->status.skill[i].flag = 1; // Tag it as a non-savable, non-uppable, bonus skill
 			}
 			else
 			{ //Link bard skills to dancer.
+				if( sd->status.skill[i].lv < 10 )
+					continue;
 				sd->status.skill[i-8].id = i - 8;
 				sd->status.skill[i-8].lv = sd->status.skill[i].lv; // Set the level to the same as the linking skill
 				sd->status.skill[i-8].flag = 1; // Tag it as a non-savable, non-uppable, bonus skill

+ 1 - 1
src/map/skill.c

@@ -7216,7 +7216,7 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
 					int count = 0;
 					const int x = bl->x, y = bl->y;
 
-					//If target isn't knocked back it should hit every 20ms [Playtester]
+					//If target isn't knocked back it should hit every "interval" ms [Playtester]
 					do
 					{
 						if( bl->type == BL_PC )