summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-28 14:10:43 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-28 14:10:43 +0000
commitc3405dbf9b19e7d73d45457e2f5eb203d53df05c (patch)
tree7a52f32b0a5902c5e1b446fd6e21eaa39c61c08a
parent998c5616368212ebfd9d46d548a29bab557d84ce (diff)
downloadhercules-c3405dbf9b19e7d73d45457e2f5eb203d53df05c.tar.gz
hercules-c3405dbf9b19e7d73d45457e2f5eb203d53df05c.tar.bz2
hercules-c3405dbf9b19e7d73d45457e2f5eb203d53df05c.tar.xz
hercules-c3405dbf9b19e7d73d45457e2f5eb203d53df05c.zip
- Fixed homun hp/sp growth rates stacking with HP/SP passive increasing skills.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8514 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/mercenary.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 93beb219e..aeff9e070 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/08/28
+ * Fixed homun hp/sp growth rates stacking with HP/SP passive increasing
+ skills. [Skotlex]
* Applied Mpeg's work on GS [Toms]
( http://gpegon.free.fr/ea/gunslinger_08-28-06_mpeg.txt )
2006/08/27
diff --git a/src/map/mercenary.c b/src/map/mercenary.c
index 4ff2c34b5..472f402c6 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -250,10 +250,8 @@ int merc_hom_levelup(struct homun_data *hd)
else
growth_luk = rand(hd->homunculusDB->gminLUK, hd->homunculusDB->gmaxLUK) ;
- hd->base_status.max_hp += growth_max_hp ;
- hd->base_status.max_sp += growth_max_sp ;
- hd->master->homunculus.max_hp = hd->base_status.max_hp ;
- hd->master->homunculus.max_sp = hd->base_status.max_sp ;
+ hd->master->homunculus.max_hp += growth_max_hp;
+ hd->master->homunculus.max_sp += growth_max_sp;
hd->master->homunculus.str += growth_str ;
hd->master->homunculus.agi += growth_agi ;
hd->master->homunculus.vit += growth_vit ;