WoW API: IsConsumableAction

Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API IsConsumableAction to API IsConsumableAction without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < IsConsumableAction

Tests if the action is linked to a consumable item.

isTrue = IsConsumableAction(slotID)

ParametersEdit

Arguments

slotID - ActionSlot
The tested action slot.


Returns

isTrue - Boolean
  • True if the action in the specified slot is linked to a consumable, e.g. a potion action. Consumable actions have a small number displayed in the bottom right corner of their action icon.
  • False if the action is not consumable or if the action is empty.

NotesEdit

Currently thrown weapons show up with a count of 1. In WoW 2.0 throwing weapons have durability and can be repaired, so this is likely a bug.