GetComboPoints

From Warcraft Wiki
Jump to navigation Jump to search

Returns the amount of current combo points.

comboPoints = GetComboPoints(unit, target)

Arguments

unit
string : UnitId - Normally "player" or "vehicle".
target
string : UnitId - Normally "target".

Returns

comboPoints
number - Number of combo points unit has on target; between 0 and 5 inclusive.

Details

  • UNIT_COMBO_POINTS fires when combo points are updated. It fires every 10 second outside of combat if the rogue have shared combo points, it contiuse to fire every 10 second until combo point pool is empty.

Warlords of Draenor Patch 6.0.2 (2014-10-14): Combo Points for rogues are now shared across all targets and they are no longer lost when switching targets.

  • GetComboPoints will return 0 if target is friendly or not found. Use UnitPower(unitId, 4) to get combo points without an enemy targeted.

See also