Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetItemSpecInfo

Last wiki revision 2022-08-01

Returns which specializations an item is useful for. specTable = GetItemSpecInfo(itemLink or itemID or itemName [, specTable])

  • itemLink or itemID or itemName:Mixed : link, id, or name of the item to query.
  • specTable: - if provided, this table will be populated with the results and returned; otherwise, a new table will be created.
  • specTable: - if the item is flagged as being for specific specializations, an array containing the SpecializationIDs of specializations of the player's class for which the queried item is suitable; nil if information is unavailable.
  • The supplied is not wiped; only the array keys necessary to return the result are modified.
  • Spec information is only available for some items.
  • The returned specialization IDs are not sorted. You can use to bring them into the same order as the Specialization pane displays.

Source

https://warcraft.wiki.gg/wiki/API_GetItemSpecInfo · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.