Add skins/blizzard/raidui.lua

This commit is contained in:
2026-09-13 09:53:46 +00:00
parent e30779c3b9
commit 663d54827d
+33
View File
@@ -0,0 +1,33 @@
pfUI:RegisterSkin("RaidUI", "vanilla", function ()
HookAddonOrVariable("Blizzard_RaidUI", function()
for i = 1, (NUM_RAID_GROUPS or 8) do
local group = _G["RaidGroup"..i]
if group and group.GetRegions then
StripTextures(group)
for j = 1, (MEMBERS_PER_RAID_GROUP or 5) do
local slot = _G["RaidGroup"..i.."Slot"..j]
if slot and slot.GetRegions then
StripTextures(slot)
CreateBackdrop(slot, nil, true)
SetHighlight(slot, 1, 1, 0)
end
end
end
end
for i = 1, (MAX_RAID_MEMBERS or 40) do
local button = _G["RaidGroupButton"..i]
if button and button.GetRegions then
StripTextures(button)
CreateBackdrop(button, nil, true)
SetHighlight(button, 1, 1, 0)
end
end
if RaidFrameAddMemberButton then SkinButton(RaidFrameAddMemberButton) end
if RaidFrameReadyCheckButton then SkinButton(RaidFrameReadyCheckButton) end
end)
end)