Actually since == tests reference, I made AttackDir empty :3. Uncomment if there are errors.