Implemented most battle mechanics