Forráskód Böngészése

Fixed Apple of Idun reading the wrong skill level and giving too much HP

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1205 54d463be-8e91-2dee-dedb-b68131a5f0ec
celest 20 éve
szülő
commit
2ec9213a82
2 módosított fájl, 5 hozzáadás és 1 törlés
  1. 4 0
      Changelog-SVN.txt
  2. 1 1
      src/map/skill.c

+ 4 - 0
Changelog-SVN.txt

@@ -1,5 +1,9 @@
 Date	Added
 
+03/07
+        * Fixed Apple of Idun reading the wrong skill level and giving too much HP
+          [celest]
+
 03/06
 	* Added new anti-hacker trade protection from Freya. [Lupus]
 	  It also auto-ban hackers and broadcasts messages to all GMs. Good work, Yor!

+ 1 - 1
src/map/skill.c

@@ -5145,7 +5145,7 @@ struct skill_unit_group *skill_unitsetting( struct block_list *src, int skillid,
 		break;
 	case BA_APPLEIDUN:			/* イドゥンの林檎 */
 		if(src->type == BL_PC)
-			val1 = ((pc_checkskill((struct map_session_data *)src,BA_MUSICALLESSON))&0xffff)<<16;
+			val1 = pc_checkskill((struct map_session_data *)src,BA_MUSICALLESSON)&0xffff;
 		val2 |= (status_get_vit(src))&0xffff;
 		val3 = 0;//回復用タイムカウンタ(6秒?に1?加)
 		break;