Added initial code for over heat effects and generating AP based on MP