i'm guessin this is somewhere that i need to look.
it's under int xp_compute
xp = (get_exp_worth( victim )
* URANGE( 0, (victim->level - gchlev) + 10, 13 )) / 10;
i tried changing the 10 at the end to 5 to see if anything would happen. didn't see anything. here's this as well
/*
* Calculate roughly how much experience a character is worth
*/
int get_exp_worth( CHAR_DATA *ch )
{
int exp;
exp = ch->level * ch->level * ch->level * 5;
exp += ch->max_hit;
exp -= (ch->armor-50) * 2;
exp += ( ch->barenumdie * ch->baresizedie + GET_DAMROLL(ch) ) * 50;
exp += GET_HITROLL(ch) * ch->level * 10;
if ( IS_AFFECTED(ch, AFF_SANCTUARY) )
exp += exp * 1.5;
if ( IS_AFFECTED(ch, AFF_FIRESHIELD) )
exp += exp * 1.2;
if ( IS_AFFECTED(ch, AFF_SHOCKSHIELD) )
exp += exp * 1.2;
exp = URANGE( MIN_EXP_WORTH, exp, MAX_EXP_WORTH );
return exp;
}
sh_int get_exp_base( CHAR_DATA *ch )
{
if ( IS_NPC(ch) )
return 1000;
return class_table[ch->class]->exp_base;
}
so i'm thinkin it's in there. and i'm probably lookin right over it. it's 1 am here so probably.
thanks for any help. i think i'm headin to bed and i'll finish this tomorrow.