WoW API: GetComboPoints

From AddOn Studio
Revision as of 22:50, 17 October 2008 by WoWWiki>Squirrelbot (Updated to reflect unit argument is now mandatory.)
Jump to navigation Jump to search

WoW API < GetComboPoints

GetComboPoints()

Delivers how much combo points the rogue or the druids cat form on the actual target has. Pass "player" as the first argument to get the player's combo points. Can also be retrieve combo points for other units.

 if ( GetComboPoints("player") == 5 ) then
print "You have 5 Combopoints, use a Finishing Move!";
end

The return value is a number (0 up to 5).