Your school really tasked you with that? To try and recreate a 3D game on your own that was made by a company of 700+ people. Good luck! Battle systems can be complex, you could have enemies with different states (variables) and use line of sight. When they are in range they would go to attack mode, otherwise they are in an idle movement mode.