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:
parent
2d6b145508
commit
597e919dbd
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user