API GetExpertise

From Wowpedia
Jump to: navigation, search

Returns the player's expertise percentage for main hand, offhand and ranged attacks.

expertise, offhandExpertise, rangedExpertise = GetExpertise();

Returns

expertise 
Number - Expertise percentage for swings with your main hand weapon.
offhandExpertise 
Number - Expertise percentage for swings with your offhand weapon.
rangedExpertise 
Number - Expertise percentage for your ranged weapon.

Details

  • Expertise reduces the chance that the player's attacks are dodged or parried by an enemy. This function returns the amount of percentage points Experise reduces the dodge/parry chance by (e.g. a return value of 3.5 means a 3.5% reduction to both dodge and parry probabilities).

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): GetExpertisePercent was merged into this function.

See also