Added available power check in nextTurn().