How do I cap prof lvl?

08/17/2009 05:47 xTreme_#1
Using LOTF 5017.

Right now the max is 250 and if it levels after that, it says ERROR. How can I make the cap 20?
08/17/2009 09:05 TehPwnzor#2
lmao go to
Code:
        public static uint NeededProfXP(byte Level)
and at the bottom of that you should find
Code:
return 1;
change that to
Code:
return 0;
08/17/2009 09:45 ZkiNeF#3
Nop, in NeededProfXP, only add a If conditional how...

If ( ProfLvl < 20)
{
Add exp;
}

I did have the same problem and fix it with a IF...
08/17/2009 17:36 f0am#4
listen to arco i helped him with the same problem :D thats exactly what you should do.
08/18/2009 06:02 TehPwnzor#5
Quote:
Originally Posted by ZkiNeF View Post
Nop, in NeededProfXP, only add a If conditional how...

If ( ProfLvl < 20)
{
Add exp;
}

I did have the same problem and fix it with a IF...
@threadstarter
this is wrong dont listen to this one