mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-06 21:50:00 +00:00
actionbar: search for valid macro spell
continue the spell search inside macros, till a valid and existing spell has been found.
This commit is contained in:
@@ -427,7 +427,8 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
|
||||
local _, _, spell, rank = string.find(match, '(.+)%((.+)%)')
|
||||
spell = spell or match
|
||||
self.spellslot, self.booktype = libspell.GetSpellIndex(spell, rank)
|
||||
return
|
||||
|
||||
if self.spellslot and self.spellslot > 0 then return end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user