WoW:API GetComboPoints: Difference between revisions

Updated to reflect unit argument is now mandatory.
m (Robot: converting/fixing HTML)
(Updated to reflect unit argument is now mandatory.)
Line 2: Line 2:
'''GetComboPoints()'''
'''GetComboPoints()'''


Delivers how much combo points the rogue or the druids cat form on the actual target has.
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.


<tt>
<tt>
   if ( GetComboPoints() == 5 ) then<br>
   if ( GetComboPoints("player") == 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
Anonymous user