diff options
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | src/map/status.c | 9 |
2 files changed, 7 insertions, 3 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 69dcb0bf5..66a13116b 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,7 @@ 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/19
+ * Updated HLIF_BRAIN skill [Toms]
* Fixed homunculus intimacy on feeding [Toms]
* Added homunculus_friendly_rate battle config [Toms]
* Some compilation warnings fixed [Toms]
diff --git a/src/map/status.c b/src/map/status.c index 29027724e..ff770f624 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -2236,15 +2236,18 @@ int status_calc_homunculus(struct homun_data *hd, int first) if((skill = merc_hom_checkskill(hd->master,HVAN_INSTRUCT)) > 0) { - status->int_+= 1 +skill/2 +skill/4 +skill/5; - status->str += 1 +2*(skill/3) +skill/4; + status->int_ += 1 +skill/2 -skill/4 +skill/5; + status->str += 1 +2*(skill/3) +skill/4; } if((skill=merc_hom_checkskill(sd,HAMI_SKIN)) > 0) status->max_hp += skill * 2 * status->max_hp / 100; if((skill = merc_hom_checkskill(hd->master,HLIF_BRAIN)) > 0) - status->max_sp += skill * 1 * status->max_sp / 100 ; + { + int p = 1 +skill/2 -skill/4 +skill/5; + status->max_sp += p * status->max_sp / 100 ; + } if (first) { hd->battle_status.hp = hom->hp ; |