WoW:API GetMastery: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Stub/API}}
{{Stub/API}}
{{wowapi}}
{{wowapi}}
Returns the mastery of the player, as a number.
Returns your current mastery value.
mastery = GetMastery()
 
== Returns ==
; Number - sum of player's base and rating bonus mastery.
 
== Notes ==
Mastery does not suffer diminishing returns, but the value returns by GetMastery is not, necessarily, your final Mastery value. Different classes, in different forms, can have a multiplier performed against the value returned by GetMastery.
To find your true Mastery, and the multiplier factor used to calculate it, see GetMasteryEffect.
 
== See also ==
* {{api|GetMasteryEffect}}()

Revision as of 15:16, 5 July 2013

WoW API < GetMastery

Returns your current mastery value.

mastery = GetMastery()

Returns

Number - sum of player's base and rating bonus mastery.

Notes

Mastery does not suffer diminishing returns, but the value returns by GetMastery is not, necessarily, your final Mastery value. Different classes, in different forms, can have a multiplier performed against the value returned by GetMastery. To find your true Mastery, and the multiplier factor used to calculate it, see GetMasteryEffect.

See also