Jump to content

KazumaSatou

Members
  • Posts

    30
  • Joined

  • Last visited

Everything posted by KazumaSatou

  1. So if I comment out that 2, they will get full exp + number of party members %?
  2. Yeah, I want to give the all players 100% exp of monster + n% of party members count.
  3. Is it 1% of 1,000 is 10? But yeah, so I want is if the Party has a 10 members, all must receive 1100 (1000 + 10%). So my edit is correct?
  4. 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). 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!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.