== More details on mining skillgain ==
'''First Rule of mining skillgain:''' The only thing that matters for the skillgain PER SKILL TICK is sleep bonus, the time spent on the action , and the Circle of Cunning enchantment (if any) of your pick. Yes, your skill level impacts this as well, but if you are an X skill miner, your skillgain per hit will be Y, no matter what you mine on, unless you change the timer of the mining action, the CoC on the pick, or activate sleep bonus.
*TEST*
Copper, Normal Quality, skill gain per 1.01-39.99 = 0.00262
With a single very light wound, I generated skillgains of 0.00270 on the copper, tin, and rock tests. The wound increased my mining timer slightly.
A) This rule does *NOT* hold for surface mining or tunneling.
B) It MAY not hold for mining straight up or straight down in mines. I'm pretty sure the skillgain calculations for mining ceilings or floors are different. ((I was slack and did not test this.))
C) It MAY not hold for miners with skill less than 50 (I'm tested at 64 skill)
*SPECIAL NOTE - Apparently the quality of the ore or rock you generate is *initially* calculated without consideration to the QL of the tile - the quality of the vein is compared to the quality of your hit. If your hit quality is higher than the QL of the tile, then it is revised downwards to the QL of the tile. See the first example above. I was getting lead hits at maximum possible QL for the vein, but they were giving me skill only sometimes. I've seen the same thing happen with other ores with less than 40 QL, but until recently I never put it together how it had to be working.