Wowpedia
Advertisement
Wowpedia
240,485
pages
Game Flavors
Links
Patch
Added in 1.7.0 / 1.13.2

Tests if the action is linked to a consumable item.

isTrue = IsConsumableAction(slotID)

Parameters

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.
  • False if the action is not consumable or if the action is empty.

Details

  • Most consumable actions have a small number displayed in the bottom right corner of their action icon.
  • However, in Classic, spells requiring a reagent may return true to IsConsumableAction() but false to both IsItemAction and IsStackableAction; such spells do not display a number.[1]

Notes

  • [This statement may be out of date] 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.

References

  1. ^ [1], Blizzard forum discussion on GetActionCount() removal from Classic
Advertisement