IsAttackAction

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns true if an action is the "Auto Attack" action.

isAttack = IsAttackAction(actionSlot)

Arguments

actionSlot
number - The action slot to test.

Returns

isAttack
Flag - nil if the specified slot is not an attack action, or is empty. 1 if the slot is an attack action and should flash red during combat.