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:
Aleos
2020-03-25 13:26:26 -04:00
committed by GitHub
parent 24ecebcaf3
commit 652d77eb02
22 changed files with 811 additions and 825 deletions

View File

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