Fixed castbar for focus

Fixed castbar for focus
This commit is contained in:
Meow
2026-02-16 15:18:06 +01:00
parent def000a7c4
commit be4f8d8f22
2 changed files with 63 additions and 6 deletions
+10 -1
View File
@@ -1153,7 +1153,16 @@ if hasNampower then
if not casterGuid or not spellId then return end
local spellName = SpellInfo and SpellInfo(spellId) or nil
-- Get spell name - try Nampower first, then SuperWoW
local spellName = nil
if GetSpellRec then
local rec = GetSpellRec(spellId)
spellName = rec and rec.name or nil
end
if not spellName and SpellInfo then
spellName = SpellInfo(spellId)
end
local icon = libdebuff:GetSpellIcon(spellId)
-- Use item icon for item-triggered casts