WoW API: GetMasteryEffect

From AddOn Studio
Revision as of 15:26, 5 July 2013 by WoWWiki>Radcat
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetMasteryEffect

Returns the effect of player's current Mastery.

mastery, coefficient = GetMasteryEffect()

Returns

mastery

Number - Current effect of the player's mastery, typically a damage increase percentage, or a percentage chance to trigger some specialization-specific effect.

coefficient

Number - A spec-dependent coefficient multiplied onto the player's raw mastery effect (as returned by GetMastery) to yield the actual effect of the mastery.