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
This commit is contained in:
celest 2005-03-07 04:38:58 +00:00
parent ead09c7c4c
commit 2ec9213a82
2 changed files with 5 additions and 1 deletions

View File

@ -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!

View File

@ -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;