diff options
author | Haru <haru@dotalux.com> | 2016-07-01 12:56:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-01 12:56:07 +0200 |
commit | f3ca5475f56993e9eb59936e9ee6656400a8aa32 (patch) | |
tree | 07a99ada8542d81ff5b6577d7e0e3c8349992d41 /src/map/mob.c | |
parent | be91934950494423961c7f9ca6dbfb42844359c2 (diff) | |
parent | ff75470f7085c3ca23a9b16be43881b6bc953345 (diff) | |
download | hercules-f3ca5475f56993e9eb59936e9ee6656400a8aa32.tar.gz hercules-f3ca5475f56993e9eb59936e9ee6656400a8aa32.tar.bz2 hercules-f3ca5475f56993e9eb59936e9ee6656400a8aa32.tar.xz hercules-f3ca5475f56993e9eb59936e9ee6656400a8aa32.zip |
Merge pull request #1328 from HerculesWS/exp_fixes
Fix EXP modifiers to match aegis modifiers calclution.
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 19fee52a5..b6b36dd61 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2337,11 +2337,6 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) { if(flag) { if(base_exp || job_exp) { if( md->dmglog[i].flag != MDLF_PET || battle_config.pet_attack_exp_to_master ) { -#ifdef RENEWAL_EXP - int rate = pc->level_penalty_mod(md->level - (tmpsd[i])->status.base_level, md->status.race, md->status.mode, 1); - base_exp = (unsigned int)cap_value(base_exp * rate / 100, 1, UINT_MAX); - job_exp = (unsigned int)cap_value(job_exp * rate / 100, 1, UINT_MAX); -#endif pc->gainexp(tmpsd[i], &md->bl, base_exp, job_exp, false); } } |