summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-07-01 12:56:07 +0200
committerGitHub <noreply@github.com>2016-07-01 12:56:07 +0200
commitf3ca5475f56993e9eb59936e9ee6656400a8aa32 (patch)
tree07a99ada8542d81ff5b6577d7e0e3c8349992d41 /src/map/skill.c
parentbe91934950494423961c7f9ca6dbfb42844359c2 (diff)
parentff75470f7085c3ca23a9b16be43881b6bc953345 (diff)
downloadhercules-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/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 af82cdbb4..6c62e88dd 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);
}
}
}