The deputy shot at the robbers. That much is clear even to those who would strain at gnats. The problem seems to be that some sre unsure whether it was the sheriff or the deputy that was off duty and whether it was the robbers or the deputy that held up the store at gunpoint. But I agree with you that it takes some real twisting and turning to misunderstand the sentence.

And welcome aBoard.