diff options
author | Haru <haru@dotalux.com> | 2019-08-25 19:40:47 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2019-08-26 01:22:12 +0200 |
commit | 2bee596ad0bb84a92d878d3d76993ba365c70e2b (patch) | |
tree | fcaf306904425bd7056900ff21a424d6dea870a4 /src/map/homunculus.c | |
parent | 6d04c0c88e7adc85fc3bf6ab67a84ba159450bfe (diff) | |
download | hercules-2bee596ad0bb84a92d878d3d76993ba365c70e2b.tar.gz hercules-2bee596ad0bb84a92d878d3d76993ba365c70e2b.tar.bz2 hercules-2bee596ad0bb84a92d878d3d76993ba365c70e2b.tar.xz hercules-2bee596ad0bb84a92d878d3d76993ba365c70e2b.zip |
Fix the intimacy requirement check for the homunculus ultimate skills
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/homunculus.c')
-rw-r--r-- | src/map/homunculus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/homunculus.c b/src/map/homunculus.c index 9f7ae0bac..9c0460320 100644 --- a/src/map/homunculus.c +++ b/src/map/homunculus.c @@ -258,7 +258,7 @@ static int homunculus_calc_skilltree(struct homun_data *hd, int flag_evolve) for( i = 0; i < MAX_SKILL_TREE && ( id = homun->dbs->skill_tree[c][i].id ) > 0; i++ ) { if( hd->homunculus.hskill[ id - HM_SKILLBASE ].id ) continue; //Skill already known. - j = ( flag_evolve ) ? 10 : hd->homunculus.intimacy; + j = ( flag_evolve ) ? 1000 : hd->homunculus.intimacy; if( j < homun->dbs->skill_tree[c][i].intimacylv ) continue; if(!battle_config.skillfree) { @@ -1317,7 +1317,7 @@ static bool homunculus_read_skill_db_sub(char *split[], int columns, int current homun->dbs->skill_tree[classid][j].need[k].lv = atoi(split[3+k*2+minJobLevelPresent+1]); } - homun->dbs->skill_tree[classid][j].intimacylv = atoi(split[13+minJobLevelPresent]); + homun->dbs->skill_tree[classid][j].intimacylv = atoi(split[13+minJobLevelPresent]) * 100; return true; } |