summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-11 04:12:42 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-11 04:12:42 +0000
commitb2d3ef23ba6b4312a3dd8a31b275b8d579c3df65 (patch)
treea0d2ac5890ab5c71edc275cc8a137ab7c79f6b07 /src/map/party.c
parent65d3eee290c8d75e7b587e42e7a81c972def0480 (diff)
downloadhercules-b2d3ef23ba6b4312a3dd8a31b275b8d579c3df65.tar.gz
hercules-b2d3ef23ba6b4312a3dd8a31b275b8d579c3df65.tar.bz2
hercules-b2d3ef23ba6b4312a3dd8a31b275b8d579c3df65.tar.xz
hercules-b2d3ef23ba6b4312a3dd8a31b275b8d579c3df65.zip
Moved Renewal Experience Modifier out of REMODE and created its own RENEWAL_EXP setting. will update on the wiki asap.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15843 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 7d77affbd..b84d50c80 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -926,7 +926,7 @@ int party_renewal_drop_mod(int diff) {
return 50;
}
#endif
-#ifdef RENEWAL
+#ifdef RENEWAL_EXP
/**
* Renewal Experience Earning Mode
**/
@@ -961,7 +961,7 @@ int party_exp_share(struct party_data* p, struct block_list* src, unsigned int b
{
struct map_session_data* sd[MAX_PARTY];
unsigned int i, c;
-#ifdef RENEWAL
+#ifdef RENEWAL_EXP
int src_lvl = status_get_lv(src);
#endif
nullpo_ret(p);
@@ -991,7 +991,7 @@ int party_exp_share(struct party_data* p, struct block_list* src, unsigned int b
}
for (i = 0; i < c; i++) {
-#ifdef RENEWAL
+#ifdef RENEWAL_EXP
party_renewal_exp_mod(&base_exp,&job_exp,sd[i]->status.base_level,src_lvl);
#endif
pc_gainexp(sd[i], src, base_exp, job_exp, false);