Added resonator recharge and upgrade AP calculcations.