- added auto battle functionality