Changed how power of moves are found.