C_Item .GetItemSpell
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
- Patch 10.2.6 (2024-03-19): Added.