C_Item. GetItemSpell
functionimplementedavailable in: camelot
Returns the spell effect for an item.
function C_Item.GetItemSpell( itemInfo: ItemInfo): (string?, number?)Parameters
| name | type |
|---|---|
itemInfo | ItemInfo |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | spellName | string? | The name of the spell. |
| 2 | spellID | number? | The spell's unique identifier. |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Item system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.