In them you can see how the rating is got and how its calculated and set as the chance.
// Applies rating mod change, so there you see where you can get base rating
float oldRating = m_baseRatingValue[cr];
m_baseRatingValue[cr]+=(apply ? value : -value);I assume the problem was that you got the % value of the chance and not the actual critical hit rating value (IE 1000)// Sets the rating field for player (so just get it?)
SetUInt32Value(PLAYER_FIELD_COMBAT_RATING_1 + cr, uint32(amount));
Not sure if this was at all what you were looking for. Somewhat at loss with stats since I havent played wow.