Browse Source

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
xantara 13 years ago
parent
commit
597e919dbd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/map/skill.c

+ 2 - 2
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);
 		}