attack player when close