API GetSpellTexture

Returns the icon of the specified spell. icon = GetSpellTexture(spellId or "spellName")

Arguments
One of the following can be used to specify a spell to query:
 * spellId : Number - The spell's unique ID.
 * spellName : String - The name of the spell.

Returns

 * icon: Number (fileID) - icon texture used by the spell.