diff options
author | xantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-18 22:34:09 +0000 |
---|---|---|
committer | xantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-18 22:34:09 +0000 |
commit | a48c4ecb8c451198f22995b6e6af5547409d5753 (patch) | |
tree | e462244e9f71275a26eaf4a10e58ff300048ef7b | |
parent | 8d8235b1012ab5b3f1f4e4e111caa6625c59e213 (diff) | |
download | hercules-a48c4ecb8c451198f22995b6e6af5547409d5753.tar.gz hercules-a48c4ecb8c451198f22995b6e6af5547409d5753.tar.bz2 hercules-a48c4ecb8c451198f22995b6e6af5547409d5753.tar.xz hercules-a48c4ecb8c451198f22995b6e6af5547409d5753.zip |
Fixed Royal Guard's Inspiration skill - Now decreases exp by 1% - bugreport:5211
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15494 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index bd3bf3571..28160a5d5 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7465,8 +7465,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case LG_INSPIRATION: if( sd && !map[sd->bl.m].flag.noexppenalty && sd->status.base_level != MAX_LEVEL ) { - sd->status.base_exp -= min(sd->status.base_exp, pc_nextbaseexp(sd) * 1 / 1000); //.1% penalty. - sd->status.job_exp -= min(sd->status.job_exp, pc_nextjobexp(sd) * 1 / 1000); + sd->status.base_exp -= min(sd->status.base_exp, pc_nextbaseexp(sd) * 1 / 100); // 1% penalty. + sd->status.job_exp -= min(sd->status.job_exp, pc_nextjobexp(sd) * 1 / 100); clif_updatestatus(sd,SP_BASEEXP); clif_updatestatus(sd,SP_JOBEXP); } |