Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Talk:API IsUsableAction

Discussion page of API IsUsableAction

Definition of Usable

I'm not sure exactly what is being checked here.

Pretty sure it includes cooldowns and mana/energy/rage, also assuming it will check:

  • correct item(s) equipped, such as a dagger for backstab or a wand for using the wand ability.
  • correct stance/form, e.g. druid in bear form to use growl.

I've no idea at all if it will check

  • range
  • facing
  • reagents
  • etc

As a poor deprived European who's not in closed Euro beta, maybe someone else can check these and update the page accordingly :) My hunch is anything that would cause the icon to grey out on the action bar will cause this method to return false, anything else won't, but I've no evidence to back this up :) -- Goldark 12:31, 10 Dec 2004 (EST)