|
@@ -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);
|
|
|
}
|