local T, C, L = unpack(Tukui) local oUF = oUFTukui or oUF function T.PostUpdateRaidUnit(self) if T.groupframefuncs["general"] then T.groupframefuncs["general"](self) end if strfind(self:GetName(), "TukuiPartyPet") then return end local header = self:GetParent() local layout = header:GetName() self:SetSize(C.unitframes.Groups[layout].width, C.unitframes.Groups[layout].height) if T.groupframefuncs[layout] then T.groupframefuncs[layout](self) end end local function SpawnHeader(name, layout, visibility, ...) if not C.unitframes.Groups[layout] then return end _G[layout]:SetAttribute("showPlayer", true) _G[layout]:SetAttribute("showSolo", true) end local script = CreateFrame("Frame") script:RegisterEvent("ADDON_LOADED") script:SetScript("OnEvent", function(self, event, addon) if addon == "Tukui_Raid_Healing" or addon == "Tukui_Raid" then hooksecurefunc(oUF, "SpawnHeader", SpawnHeader) end end)