Fixed Super Novice Prayer bugreport:5035

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15025 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2011-12-08 16:19:47 +00:00
parent ca8ed1c7cf
commit c4aadfba9d

View File

@ -12137,7 +12137,7 @@ void clif_parse_NoviceExplosionSpirits(int fd, struct map_session_data *sd)
if( ( sd->class_&MAPID_UPPERMASK ) == MAPID_SUPER_NOVICE ) if( ( sd->class_&MAPID_UPPERMASK ) == MAPID_SUPER_NOVICE )
{ {
unsigned int next = pc_nextbaseexp(sd); unsigned int next = pc_nextbaseexp(sd);
if( next == 0 ) next = pc_thisbaseexp(sd);
if( next ) if( next )
{ {
int percent = (int)( ( (float)sd->status.base_exp/(float)next )*1000. ); int percent = (int)( ( (float)sd->status.base_exp/(float)next )*1000. );