From c3405dbf9b19e7d73d45457e2f5eb203d53df05c Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 28 Aug 2006 14:10:43 +0000 Subject: - 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 --- Changelog-Trunk.txt | 2 ++ src/map/mercenary.c | 6 ++---- 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 ; -- cgit v1.2.3-70-g09d2