Get all values from class spec Mastery

Hello frens. Does any of you know how to get all the values that are shown in the Mastery tooltip in the PaperDollFrame ?

Let me explain: On Elemental Shaman, just like all other specs, Mastery has multiple values. The tooltip shows damage increase by 14.5%, chance to trigger by 48.5%, dealing 25% of normal damage, and finally the mastery rating at the bottom.

I’ve been able to get most values using APIs GetMasteryEffect(), GetCombatRating(CR_Mastery) and GetMastery(). However, I can’t get the first number, 14.5% increase in damage.

How do I retrieve that number ? Where did Blizzard get it from ? It’s the same for most classes that have multiple values in Mastery, it’s missing from all the mastery related APIs

Thank you for helping out in my desperation :smile: