- Fixed homun hp/sp growth rates stacking with HP/SP passive increasing skills.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8514 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-08-28 14:10:43 +00:00
parent b891e7752c
commit 79dce13c08
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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 ;