Police have issued an appeal after a man was chased through Wakefield city centre and attacked with weapons.