Returns whether an action is usable. Signature: Code isUsable, notEnoughMana = IsUsableAction(slot) Arguments: - slot - An action bar slot (number, actionID)
Returns: - isUsable - 1 if the action is usable; otherwise nil (1nil)
- notEnoughMana - 1 if the player lacks the resources (e.g. mana, energy, runes) to use the action; otherwise nil (1nil)
Также смотрите: Действия
, Action functions
Ссылки: http://wowprogramming.com/docs/api/IsUsableAction
|