From ff75470f7085c3ca23a9b16be43881b6bc953345 Mon Sep 17 00:00:00 2001 From: hemagx Date: Sun, 26 Jun 2016 01:37:14 +0200 Subject: Fix EXP modifiers to match aegis modifiers calclution. - Now Renewal Level Penalty being calculated in pc_calcexp only - Now Guild Tax is being paid after experience modifiers and not before - Now Experience modifiers being calculated in right way as in aegis (Race modifiers -> PK modifiers -> Premium modifiers -> Buff modifiers) --- src/map/party.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/map/party.c') diff --git a/src/map/party.c b/src/map/party.c index c85e23e50..f19e1b475 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -993,15 +993,6 @@ int party_exp_share(struct party_data* p, struct block_list* src, unsigned int b #endif for (i = 0; i < c; i++) { -#ifdef RENEWAL_EXP - struct mob_data *md = BL_CAST(BL_MOB, src); - if (md != NULL && md->db->mexp == 0) { - int rate = pc->level_penalty_mod(md->level - (sd[i])->status.base_level, md->status.race, md->status.mode, 1); - - base_exp = (unsigned int)cap_value(base_exp_bonus * rate / 100, 1, UINT_MAX); - job_exp = (unsigned int)cap_value(job_exp_bonus * rate / 100, 1, UINT_MAX); - } -#endif pc->gainexp(sd[i], src, base_exp, job_exp, false); if (zeny) // zeny from mobs [Valaris] -- cgit v1.2.3-70-g09d2