Experience.SetLevel C# (CSharp) Method

SetLevel() public method

public SetLevel ( int lv ) : void
lv int
return void
    public void SetLevel(int lv)
    {
        currentLevel = lv;
        experinceUntilNextLevel = (int)(Math.Pow(10, (int)(lv / 10) + 1) * Math.Pow(1.2 + 0.001 * (lv % 10), lv % 10));
    }