merc.h:
struct xp_type
{
int tnl; /* to next level */
int rfl; /* required for level */
};
const.c:
const struct xp_type xp_table[37] =
{
{ 1000, 0 }, /* 0 */
{ 1050, 1000 }, /* 1 */
{ 1100, 2050 },
{ 1150, 3150 }, /* 3 */
{ 1200, 4300 },
{ 1250, 5500 }, /* 5 */
{ 1300, 6750 },
{ 1350, 8050 },
{ 1400, 9400 },
{ 1450, 10800 },
{ 1500, 12250 }, /* 10 */
…etc.
and this in gain_exp (update.c)
if( ch->exp >= xp_table[ch->level + 1].rfl )
Thanks