checkAttackCollision() fixed