if i have a ac battery pack connected to a motor then does the motor have to be AC or DC
There are no AC batteries. I do not know what you mean when you write of an AC battery pack.
There is no such thing as an AC battery pack. Batteries always work on DC, and no one has yet to invent anything to the contrary. If you want to make an AC supply from a battery bank as a source of energy, this requires a power inverter as an external component. If you use an alternating current energy SUPPLY to operate a motor, it is generally best if you use a motor that is synchronous with the frequency of the AC source. Although it is completely possible to use an asynchronous AC motor...it just will be more expensive, and it requires a speed regulator as a separate component. If you try to operate a DC motor off of an AC source, it helps to first understand how a DC motor works. A DC motor has a device called a commutator, that is a fancy switching device, which turns on and off (or which swaps the direction of current) every half rotation of the motor. With the kind that turns on-and-off, you will get a very unsteady operation of the motor, unless it rotates synchronous with the supply. Some current will torque it to spin forward, some current will torque it to spin in reverse...and whichever has the higher duty cycle will win.
The motor you hyperlink to is a specialized unit, probably with a capacity administration kit. The spec. sheet refers to 380 volts; doubling which will rather much easily fry some thing, and that i does not choose to be sitting on a 760 volt battery. i could advise you touch the utility experts at Yasamotors for a definitive answer.