Using Energy points of a user for Salary Structure


I was actually thinking, is it possible to use a user’s particular month’s energy points to be used to calculate his salary using the salary structure? This was, his salary every month is dependent on the energy points.

How can I include the energy points in the salary structure formula? Any ideas or help would be much appreciated.