RSS

Пятница, 15.11.2024, 01:30
Главная » WoW API » API Функции » Действия »

IsConsumableAction

[ править ]
Returns whether using an action consumes an item.
[клоны]
Returns whether using an action consumes an item. Applies both to consumable items (such as food and potions) and to spells which use a reagent (e.g. Prayer of Fortitude, Divine Intervention, Water Walking, Portal: Dalaran).

Signature:
Code
isConsumable = IsConsumableAction(slot)

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

Returns:
  • isConsumable - 1 if using the action consumes an item; otherwise nil (1nil)

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