fix for magnetism and added a startattackAnim for enemies