Fixed bugreport:5862 RENEWAL_EXP should now handle mvp exp properly, special thanks to Vali.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16332 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2012-06-23 23:22:17 +00:00
parent 69c6a14772
commit 9726d4eb45

View File

@ -993,7 +993,8 @@ int party_exp_share(struct party_data* p, struct block_list* src, unsigned int b
for (i = 0; i < c; i++) {
#ifdef RENEWAL_EXP
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);
if( !(src && src->type == BL_MOB && ((TBL_MOB*)src)->db->mexp) )
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);