summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-07 04:38:58 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-07 04:38:58 +0000
commit4bd24425858e186737a3dd60bbe1ee2f3a4a4e67 (patch)
treea799de12a522252eb2c7d22b78decff960c5dab1 /src/map/skill.c
parent17d28505138496a82a741431f1cb320279dc679d (diff)
downloadhercules-4bd24425858e186737a3dd60bbe1ee2f3a4a4e67.tar.gz
hercules-4bd24425858e186737a3dd60bbe1ee2f3a4a4e67.tar.bz2
hercules-4bd24425858e186737a3dd60bbe1ee2f3a4a4e67.tar.xz
hercules-4bd24425858e186737a3dd60bbe1ee2f3a4a4e67.zip
Fixed Apple of Idun reading the wrong skill level and giving too much HP
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1205 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 2c44cda7c..c693ec2c1 100644
--- a/src/map/skill.c
+++ b/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;