Fixed bugreport:5561 Even Share Exp should now be working properly
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15854 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
6f1bcbd4a0
commit
92f5387b0a
@ -992,9 +992,12 @@ int party_exp_share(struct party_data* p, struct block_list* src, unsigned int b
|
||||
|
||||
for (i = 0; i < c; i++) {
|
||||
#ifdef RENEWAL_EXP
|
||||
party_renewal_exp_mod(&base_exp,&job_exp,sd[i]->status.base_level,src_lvl);
|
||||
#endif
|
||||
unsigned int b_exp = base_exp, j_exp = job_exp;
|
||||
party_renewal_exp_mod(&b_exp,&j_exp,sd[i]->status.base_level,src_lvl);
|
||||
pc_gainexp(sd[i], src, b_exp, j_exp, false);
|
||||
#else
|
||||
pc_gainexp(sd[i], src, base_exp, job_exp, false);
|
||||
#endif
|
||||
if (zeny) // zeny from mobs [Valaris]
|
||||
pc_getzeny(sd[i],zeny);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user