Fixed Royal Guard's Inspiration skill - Now decreases exp by 1% - bugreport:5211

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15494 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
xantara 2012-01-18 22:34:09 +00:00
parent 2d6b145508
commit 597e919dbd

View File

@ -7465,8 +7465,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case LG_INSPIRATION: case LG_INSPIRATION:
if( sd && !map[sd->bl.m].flag.noexppenalty && sd->status.base_level != MAX_LEVEL ) { 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.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 / 1000); sd->status.job_exp -= min(sd->status.job_exp, pc_nextjobexp(sd) * 1 / 100);
clif_updatestatus(sd,SP_BASEEXP); clif_updatestatus(sd,SP_BASEEXP);
clif_updatestatus(sd,SP_JOBEXP); clif_updatestatus(sd,SP_JOBEXP);
} }