C_Item.GetItemSpell

From Warcraft Wiki
Jump to navigation Jump to search

Returns the spell effect for an item.

spellName, spellID = C_Item.GetItemSpell(itemInfo)

Arguments

itemInfo
number|string : Item ID, Link or Name

Returns

spellName
string - The name of the spell.
spellID
number - The spell's unique identifier.

Details

  • Useful for determining whether an item is usable.

Patch changes