WoW:API GetComboPoints: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 11: Line 11:


The return value is a number (0 up to 5).
The return value is a number (0 up to 5).
[[Category:API Functions|GetComboPoints]]
[[Category:API Character Functions|GetComboPoints]]

Revision as of 18:54, 27 August 2005

GetComboPoints()

Delivers how much combo points the rogue or the druids cat form on the actual target has.

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

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