So it's based on the number of times the barrel spins? I always think when I reach 500 gold the shops resets, so if I see a good revolver in the begining of the game I can never get it...
Shop resets after every 3rd shoot.