summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2016-06-26 01:37:14 +0200
committerhemagx <hemagx2@gmail.com>2016-06-29 03:23:33 +0200
commitff75470f7085c3ca23a9b16be43881b6bc953345 (patch)
tree533625a9854c79785b80073f982c9b092b0e2410 /src/map/skill.c
parentc1d86fb39a1567edb3c7c5c174b7aeafb4cc9266 (diff)
downloadhercules-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/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 51d0792e3..d641bee75 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5455,7 +5455,7 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
heal_get_jobexp = heal_get_jobexp * battle_config.heal_exp / 100;
if (heal_get_jobexp <= 0)
heal_get_jobexp = 1;
- pc->gainexp (sd, bl, 0, heal_get_jobexp, false);
+ pc->gainexp(sd, bl, 0, heal_get_jobexp, false);
}
}
break;
@@ -5531,7 +5531,7 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
if (jexp < 1) jexp = 1;
}
if(exp > 0 || jexp > 0)
- pc->gainexp (sd, bl, exp, jexp, false);
+ pc->gainexp(sd, bl, exp, jexp, false);
}
}
}