use new spec icon file

This commit is contained in:
andrew6180
2024-05-26 18:49:31 -07:00
parent b6264af117
commit 14c3a45d1a
11 changed files with 39 additions and 75 deletions
+1 -1
View File
@@ -1174,7 +1174,7 @@ function DF:AddClassIconToText(text, playerName, englishClassName, useSpec, icon
local specString = ""
local L, R, T, B = unpack(Details.class_specs_coords[spec])
if (L) then
specString = "|TInterface\\AddOns\\Details\\images\\spec_icons_normal:" .. size .. ":" .. size .. ":0:0:512:512:" .. (L * 512) .. ":" .. (R * 512) .. ":" .. (T * 512) .. ":" .. (B * 512) .. "|t"
specString = "|TInterface\\GLUES\\CHARACTERCREATE\\UI-CHARACTERCREATE-CLASSES-SPECS:" .. size .. ":" .. size .. ":0:0:512:512:" .. (L * 512) .. ":" .. (R * 512) .. ":" .. (T * 512) .. ":" .. (B * 512) .. "|t"
return specString .. " " .. text
end
end