Originally Posted by galvin
You shouldn't have to change anything unless you were doing something with pathnames.
Code snippet below uses Icon the same was as live.
Code:
local Name, _, Icon = GetSpellInfo(SpellID)
-- Check if the spell was removed from the game.
if Name == nil then
Name = format('%s removed from the game', SpellID)
Icon = [[INTERFACE\ICONS\INV_MISC_QUESTIONMARK]]
end
TO.args[AuraGroup] = {
type = 'group',
name = format('|T%s:20:20:0:5|t |cFFFFFFFF%s|r (%s)', Icon, Name, SpellID),
|
Though I was using pathnames, as I linked above.
I have a list where the content of my list are an icon followed by the spells name using ACE3.
I don't see how I can put my icons into the string with the change (if at all possible)
EDIT: I fixed it by using: "|T" .. icon .. ":18:18:0:0|t " instead