Added autoskill, bugfixes to autofight