summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-SVN.txt4
-rw-r--r--src/map/skill.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/Changelog-SVN.txt b/Changelog-SVN.txt
index 01f7011c7..1e5ffce25 100644
--- a/Changelog-SVN.txt
+++ b/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!
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;