Wikia

WoWWiki

Watchlist Recent changes

API IsConsumableAction

Main Menue



Tests if the action is linked to a consumable item.

isTrue = IsConsumableAction(slotID)

Parameters Edit

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.

Notes Edit

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.

Pages on WoWWiki

94,146pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,612photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki