The past perfect is a sort of double past tense. The pouring of beer on his chest was preceded by his taking off his shirt.
The point of time the sentence is concerned with is that when he was pouring beer on his chest. The taking off of the shirt occurred at some previous, unspecified time.
Were the sentence to read My attorney took off his shirt and poured beer on his chest it would be a series of events where and would mark order and not coordination.
Note what happens when we reverse the order:
My attorney was pouring beer on his chest and had taken off his shirt
vs
My attorney was pouring beer on his chest and took off his shirt.