Returns the icon texture path for a spell
See also Spell functions.
Signature:
texture
=
GetSpellTexture(index,
"bookType")
or
GetSpellTexture("name")
Arguments:
index
- Index of a spell in the spellbook (number
, spellbookID)bookType
- Type of spellbook (string
)pet
- The pet's spellbookspell
- The player's spellbook
name
- Name of a spell (string
)
Returns:
texture
- Path to an icon texture for the spell (string
)