summaryrefslogtreecommitdiff
path: root/src/map
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 /src/map
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
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mercenary.c6
1 files changed, 2 insertions, 4 deletions
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 ;