WoW API: GetComboPoints

From AddOn Studio
Revision as of 04:34, 19 April 2009 by WoWWiki>Farmbuyer (rewrite to match API formats and correct parameters)
Jump to navigation Jump to search

WoW API < GetComboPoints

Retrieves the number of combo points gained by a player.

GetComboPoints(unit, target);

Parameters

Arguments

(unit, target)
unit
String - Either "player" or "vehicle". (More strings/UnitIds may be possible but have not been seen in Blizzard code.)
target
String - Should be "target". No other value has been seen in Blizzard code.

Returns

Number
between 0 and 5 inclusive