well, a friend was doing the 1st rb in a source, and i began to try to get the formula for the stat points that u get after the rb (i like the maths ^^) and i got this.
there is no big reason to using this instead the one u should have with checks, but i just want to share what i got ^^
Code:
public static byte StatPoints(double level, byte job)
{
if(level > 130)
level = 130;
if (job == 135)
{
if (level % 2 != 0)
level -= 1;
level = ((130 - level) / 2) + level;
}
return (byte)((level - 120) * ((level - 119) / 2) + 42);
}