Cydh Posted February 27, 2013 Share Posted February 27, 2013 What is it? The current system, mob_db only provides base_exp, job_exp, and mexp for player. Homunculus will get same exp. like base_exp calculation for player when mob is killed. We can not decide the exp. rate for Homunculus like base_exp_rate and job_exp_rate for player (on conf/battle/exp.conf). Someone (on 3CeAM) got this idea, how if the homun. exp is divided, so we can set the exp rate for homunculus? Then I tried to make homunculus exp. calculation. You can adjust the homun_exp for each mob that killed or use old calculation, you choose. Configuration files conf/battle/exp.conf // Adjust exp. gained for homunculus. (Note2) [Cydh]hom_exp_rate: 100 nohomexp mapflag. Homunculus will not get exp. at this map. <mapname> mapflag nohomexp hexp mapflag. Adjust exp. rate at this map. <mapname> mapflag hexp 100 db/mob_homun_exp.txt Database file, db/mob_homun_exp.txt +// ------------- Cydh Modification ------------- +// [email protected] +// =============================================== +// <mob_id>,<exp>{,rate} +// ----------------------------------------------- +// <mob_id> +// - Look at mob_db.txt on db/re or db/pre-re folder +// <exp> +// - Exp. amount that can be gained. +// - 0 means mob doesn't give homunculus exp. +// - -1 means, left the exp. amount based on normal calculation (based on mob exp.). +// - Min. value for homunculus gets exp is 1. +// - Max. value is INT_MAX. +// <rate> +// - [Optional] To adjust rate that will be gained. +// - If you left this 0 or empty, the calculation based on conf/battle/exp.conf -> homun_exp_rate +// - 1 = 1% = 0.01x +// - 100 = 100% = 1x +// - 1000000 = 1,000,000% = 10,000x +// - Min. value is between 1. +// - Max. value is 1000000. MAX_HOMUNCULUS_EXP_RATE on src/map/mob.h +// +// Helpful examples ---------------------------- +//1002,0 : Poring will never gives homun exp. +//1002,1000 : Poring will gives homun 1,000 exp. and the rate calculation based on homun_exp_rate +//1002,1000,1000 : Poring will gives homun 10,000 total exp. 1k exp * 10. +//1002,-1,1000 : Poring will gives homun the normal exp. but the rate will be multiplied to 10x. +// ----- Don't do these waste things! +//1002,-1 +//1002,0,1000000 +// ----------------------------------------------- Screenshots **Soon** Download Initial release: homun-exp_rA-svn17163.patch External link Initial release Download homun-exp_rA-svn17163,patch * Please report any bugs you got * Any suggestion to improve this? Why not? * Hope you all enjoy this. +1 if you like this. * Please, don't redistribute this as paid things whatever it is Quote Link to comment Share on other sites More sharing options...