Job Improvement Project - Genetic (#3284)
* Fixes #2571. * Updates Homunculus skills from kRO maintenance: http://ro.gnjoy.com/news/update/View.asp?seq=218&curpage=1 * Updates Genetic skills from kRO maintenance: http://ro.gnjoy.com/news/update/View.asp?seq=246&curpage=1 Thanks to @Tokeiburu, @Badarosk0, @Balferian, and @Haydrich!
This commit is contained in:
@@ -10415,6 +10415,10 @@ BUILDIN_FUNC(getexp)
|
||||
job = (int) cap_value(job * bonus, 0, INT_MAX);
|
||||
|
||||
pc_gainexp(sd, NULL, base, job, 1);
|
||||
#ifdef RENEWAL
|
||||
if (base && sd->hd)
|
||||
hom_gainexp(sd->hd, base * battle_config.homunculus_exp_gain / 100); // Homunculus only receive 10% of EXP
|
||||
#endif
|
||||
|
||||
return SCRIPT_CMD_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user