summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-14 20:34:02 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-14 20:34:02 +0000
commit4843efac1f35011a8490ece2aeabb25be3e480e8 (patch)
tree059e97fc8b68959521ddfd4089814716615b2113 /src/map/mob.c
parentfd2afa501d4b887fe13966ce57cea84012b8bed7 (diff)
downloadhercules-4843efac1f35011a8490ece2aeabb25be3e480e8.tar.gz
hercules-4843efac1f35011a8490ece2aeabb25be3e480e8.tar.bz2
hercules-4843efac1f35011a8490ece2aeabb25be3e480e8.tar.xz
hercules-4843efac1f35011a8490ece2aeabb25be3e480e8.zip
Renamed RRMODE to REMODE
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15111 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index df547c77d..ec192b311 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2164,7 +2164,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
if(base_exp || job_exp)
{
if( md->dmglog[i].flag != MDLF_PET || battle_config.pet_attack_exp_to_master ) {
-#if RRMODE
+#if REMODE
party_renewal_exp_mod(&base_exp,&job_exp,tmpsd[i]->status.base_level,md->level);
#endif
pc_gainexp(tmpsd[i], &md->bl, base_exp, job_exp, false);
@@ -2189,7 +2189,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
struct item_drop_list *dlist = ers_alloc(item_drop_list_ers, struct item_drop_list);
struct item_drop *ditem;
int drop_rate;
-#if RRMODE
+#if REMODE
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;
@@ -2235,7 +2235,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 RRMODE
+#if REMODE
if( drop_modifier != 100 )
drop_rate = drop_rate * drop_modifier / 100;
#endif