Put some lipstick, or marking dye on the top edge of the nipple. Then, lower the hammer down on the bare, NEW nipple. Now, cock the hammer back to full cock, and upend the guns so you can look inside the skirt to see the face of the hammer? If you don't see a complete Ring of lipstick, or marking dye transferred to the face of the hammer, the hammer is not striking the nipple squarely. Worn nipples will have one side or the other peened down, by the hammer, and will conform to the angle of the face of the hammer. However, the percussion cap is still as Square as it came out of the punch press, and now has to conform its shape to the angle of the face of the nipple.
That is the problem.
To solve it, get a small grinding bit sold in hardware stores for Dremel Tools. If you don't have a Dremel tool, but have a electric hand drill, you are in business. Chuck the small grinder into the drill and turn it on medium speed, until you learn what you have to do to control the drill while its grinding off the surface of the hammer face. Grind off the area where the dye appear. Those are the high spots.
Keep testing the hammer with more dye on the nipple, to see how you are doing. The goal is to remove the high spots so that the face of the hammer hits the nipple( a New one please!) squarely and transfers dye from the full circumference of the top of the nipple. You should have a full ring of dye on that nipple when you finish, of even width all the way around the circle.
When the hammer is hitting the nipple square, it should have no problem igniting it every time you pull the trigger on a fresh cap. Do invest in some spare nipples. They cost very little, and spares are nice to have when you need them.
I always put a New nipple on my rifle before going deer hunting. I test the new nipple- some are made too tall or too short for your gun- so always measure them. In fact, when I go to buy new nipples, I take one of my older ones with me, to use to measure to make sure they are the same length( height), and thread size.
Don't forget to compare the threaded portions, too. Some companies made nipples with longer threaded shanks. If the nipple screws down too far into the drum, or bolster, you can actually impede the firing of the gun. There is too little room under the orifice of the nipple for the fire to get on by the outer edge of the nipple, to go down the flash channel to the powder charge. Hang fires are the most common symptom, but some guns actually experience misfires, too.