remove more superwow only functions

This commit is contained in:
Jrc13245
2026-03-02 09:01:34 -05:00
parent 2f0f000733
commit b56beef4b2
8 changed files with 187 additions and 210 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ local function CreateIconButton(parent, index, iconTable)
local data = iconTable[index]
if not data or not data.spellId then return end
GameTooltip:SetOwner(btn, "ANCHOR_BOTTOMLEFT")
local spellName = SpellInfo and SpellInfo(data.spellId) or ("Spell " .. data.spellId)
local spellName = GetSpellRecField and GetSpellRecField(data.spellId, "name") or ("Spell " .. data.spellId)
if spellName then
local baseName = string.gsub(spellName, "%s*%(Rank %d+%)", "")
GameTooltip:AddLine(baseName, 1, 1, 1)