RSS

Понедельник, 06.05.2024, 07:47
Главная » WoW API » API Функции » Действия »

IsAttackAction

[ править ]
Returns whether an action is the standard melee Attack action.
[клоны]
Returns whether an action is the standard melee Attack action. Used in the default UI to flash the action button while auto-attack is active. Does not apply to other repeating actions such as Auto Shot (for hunters) and Shoot (for wand users); for those, see IsAutoRepeatAction.

Signature:
Code
isAttack = IsAttackAction(slot)

Arguments:
  • slot - An action bar slot (number, actionID)

Returns:
  • isAttack - 1 if the action enables/disables melee auto-attack; otherwise nil (1nil)

Также смотрите: Действия , Action functions
Ссылки: http://wowprogramming.com/docs/api/IsAttackAction