m
Move page script moved page API IsConsumableAction to WoW:API IsConsumableAction without leaving a redirect
(First version.) |
m (Move page script moved page API IsConsumableAction to WoW:API IsConsumableAction without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
Tests if the action is linked to a consumable item. | Tests if the action is linked to a consumable item. | ||
isTrue = IsConsumableAction(slotID) | |||
isTrue = IsConsumableAction(slotID) | |||
== Parameters == | == Parameters == | ||
| Line 25: | Line 19: | ||
:* 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. | :* 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. | :* False if the action is not consumable or if the action is empty. | ||
== Notes == | |||
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. | |||