How can I make the Even Party Exp Bonus into additional 1% exp per member in the party?
I made it like this:
Party.conf
// Give additional experience bonus per party-member involved on even-share parties (excluding yourself)?
// ex. If set to 10, an even-share party of 5 people will receive +40% exp (4 members * 10% exp):
// 140% party experience in total, so each member receives 140%/5 = 28% exp (instead of 20%).
party_even_share_bonus: 1
I edit the party.cpp because I don't want to divide the bonus on how many members inside of the party. I want it to make 12% more exp if the party consist of 12 members (including party leader).
Please tell me if this edit is correct or please give me instructions on how to make the exp bonus I want. Thank you in advance!
Question
KazumaSatou
How can I make the Even Party Exp Bonus into additional 1% exp per member in the party?
I made it like this:
Party.conf // Give additional experience bonus per party-member involved on even-share parties (excluding yourself)? // ex. If set to 10, an even-share party of 5 people will receive +40% exp (4 members * 10% exp): // 140% party experience in total, so each member receives 140%/5 = 28% exp (instead of 20%). party_even_share_bonus: 1
Party.cpp if (battle_config.party_even_share_bonus && c > 1) { // double bonus = 100 + battle_config.party_even_share_bonus*(c-1); // // if (base_exp) // base_exp = (unsigned int) cap_value(base_exp * bonus/100, 0, UINT_MAX); // if (job_exp) // job_exp = (unsigned int) cap_value(job_exp * bonus/100, 0, UINT_MAX); // if (zeny) // zeny = (unsigned int) cap_value(zeny * bonus/100, INT_MIN, INT_MAX); double bonus = 100 + battle_config.party_even_share_bonus*c; if (base_exp) base_exp = (unsigned int) cap_value(base_exp * bonus, 0, UINT_MAX); if (job_exp) job_exp = (unsigned int) cap_value(job_exp * bonus, 0, UINT_MAX); if (zeny) zeny = (unsigned int) cap_value(zeny * bonus, INT_MIN, INT_MAX); }
I edit the party.cpp because I don't want to divide the bonus on how many members inside of the party. I want it to make 12% more exp if the party consist of 12 members (including party leader).
Edited by KazumaSatouPlease tell me if this edit is correct or please give me instructions on how to make the exp bonus I want. Thank you in advance!
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.