WoW:API GetComboPoints: Difference between revisions

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


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

Revision as of 16:11, 2 January 2006

GetComboPoints()

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

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

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