private void LevelUp() { Level++; m_ExpToNextLevel = (5f * (float)Math.Pow((double)Level, 2d)) + 95f; StatBuff t = new StatBuff(); t.Visible = true; t.Activate(); OnLevelUp.Invoke(); Health = MaxHealth; }