03-23-16, 08:31 AM
|
#6
|
A Molten Giant
Join Date: Nov 2006
Posts: 554
|
Originally Posted by icyblade
We can use texture:SetTexture(spellId) now, so GetSpellInfo will not return a texture path as the 3rd return value
We use this code to set an icon now:
Lua Code:
local _, _, icon = GetSpellInfo(spell_id) texture:SetTexuture(icon)
In Legion, that's easier:
Lua Code:
texture:SetTexuture(spell_id)
|
This seems weird...
__________________
Grab your sword and fight the Horde!
|
|
|