diff options
author | hemagx <hemagx2@gmail.com> | 2016-06-26 01:37:14 +0200 |
---|---|---|
committer | hemagx <hemagx2@gmail.com> | 2016-06-29 03:23:33 +0200 |
commit | ff75470f7085c3ca23a9b16be43881b6bc953345 (patch) | |
tree | 533625a9854c79785b80073f982c9b092b0e2410 /src/map/party.c | |
parent | c1d86fb39a1567edb3c7c5c174b7aeafb4cc9266 (diff) | |
download | hercules-ff75470f7085c3ca23a9b16be43881b6bc953345.tar.gz hercules-ff75470f7085c3ca23a9b16be43881b6bc953345.tar.bz2 hercules-ff75470f7085c3ca23a9b16be43881b6bc953345.tar.xz hercules-ff75470f7085c3ca23a9b16be43881b6bc953345.zip |
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)
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 9 |
1 files changed, 0 insertions, 9 deletions
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] |