diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-04 00:26:53 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-04 00:26:53 +0000 |
commit | 117a223dd15b22674d4d9fbec86fac03479c523f (patch) | |
tree | c3cf9d6e5061da1e2c578e0d15e15e1befcc0d65 /src/map/mob.c | |
parent | 3e56cb4d7dd63528c371a7fb033b291f70daa38f (diff) | |
download | hercules-117a223dd15b22674d4d9fbec86fac03479c523f.tar.gz hercules-117a223dd15b22674d4d9fbec86fac03479c523f.tar.bz2 hercules-117a223dd15b22674d4d9fbec86fac03479c523f.tar.xz hercules-117a223dd15b22674d4d9fbec86fac03479c523f.zip |
Removed Renewal Drop Modifier out of #REMODE and created a #RE_DROP_MOD specially for it. will update wiki asap
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15375 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index b6e8ea697..e5d3d6873 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2187,7 +2187,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) struct item_drop *ditem; struct item_data* it = NULL; int drop_rate; -#if REMODE +#if RE_DROP_MOD int drop_modifier = mvp_sd ? party_renewal_drop_mod(mvp_sd->status.base_level - md->level) : second_sd ? party_renewal_drop_mod(second_sd->status.base_level - md->level) : third_sd ? party_renewal_drop_mod(third_sd->status.base_level - md->level) : 100; @@ -2233,7 +2233,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) // Increase drop rate if user has SC_ITEMBOOST if (sd && sd->sc.data[SC_ITEMBOOST]) // now rig the drop rate to never be over 90% unless it is originally >90%. drop_rate = max(drop_rate,cap_value((int)(0.5+drop_rate*(sd->sc.data[SC_ITEMBOOST]->val1)/100.),0,9000)); -#if REMODE +#if RE_DROP_MOD if( drop_modifier != 100 ) drop_rate = drop_rate * drop_modifier / 100; #endif |