Improved attack system. Still has some bugs.