GetSpellTextureFileName

From Warcraft Wiki
Jump to navigation Jump to search
Links
Info
Added in 7.0.3

Returns the texture path of the specified spell

texture = GetSpellTextureFileName(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

texture
String - Path of the texture used for displaying the spell.