Advertisement

IsUsableAction

Determine if an action can be used (you have sufficient mana, reagents and the action is not on cooldown).

isUsable, notEnoughMana = IsUsableAction(slot)

Arguments

slot 
Number - Action slot to query

Returns

isUsable 
boolean - true if the action is currently usable (does not check cooldown or range), false otherwise.
notEnoughMana 
boolean - true if the action is unusable beacuse the player does not have enough mana, rage, etc.; false otherwise.
Community content is available under CC BY-SA 3.0 unless otherwise noted.