diff options
author | momacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-11-23 18:15:21 +0000 |
---|---|---|
committer | momacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-11-23 18:15:21 +0000 |
commit | efbd5d0dd7dbf038333d65d59d0becad59e6e2a4 (patch) | |
tree | d5b149d3025ef79222eeaa6c34eb976799649b02 /src/map/status.c | |
parent | 7298dd6e6f12729de1571628781c3945ae86f31e (diff) | |
download | hercules-efbd5d0dd7dbf038333d65d59d0becad59e6e2a4.tar.gz hercules-efbd5d0dd7dbf038333d65d59d0becad59e6e2a4.tar.bz2 hercules-efbd5d0dd7dbf038333d65d59d0becad59e6e2a4.tar.xz hercules-efbd5d0dd7dbf038333d65d59d0becad59e6e2a4.zip |
Partial fix for bugreport:4337.
A new field was added to homun_skill_tree.txt containing the minimum level of intimacy to unlock a skill.
This is used in some skills where the homunculus has to reach a amount of 910 of intimacy. The default value is 0 and it should only affect evolved homunculus.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16954 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 9b4a58676..3d3062fb3 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -3175,7 +3175,7 @@ int status_calc_homunculus_(struct homun_data *hd, bool first) status->max_hp = hom->max_hp ; status->max_sp = hom->max_sp ; - merc_hom_calc_skilltree(hd); + merc_hom_calc_skilltree(hd, 0); if((skill=merc_hom_checkskill(hd,HAMI_SKIN)) > 0) status->def += skill * 4; |