Fixed an angle issue in attacking