Question about unlocking weapons

I am looking to unlock the Bronzelock Pistol and it says for the masteries required:

x40 Water/Earth
Progress: 32/32

What exactly do those mean? I gained a level and chose to upgrade my water mastery and it still shows the same numbers. It shows this when I go to the troops menu and and put the tab to Weapons, put the weapons I don’t have and click on Bronzelock Pistol.

Thanks for any help.

This thing is confusing.

I would say that once you will have clicked on both color for at least 40 times after leveling your hero, you would be able to unlock this weapon.

The progress displayed is bugged. Instead of properly displaying your water and earth levels, it displays your water level for any and every color.

https://community.gemsofwar.com/t/weapon-unlock-progress-wrong-display/79725/1