LUA Code:
if AftermathhUI.ouf.showraid == true then
if AftermathhUI.ouf.gridlayout == true then
oUF:RegisterStyle('Aftermathh_Raid25', RaidFrames)
oUF:SetActiveStyle('Aftermathh_Raid25')
local Aftermathh_Raid25 = oUF:SpawnHeader("Aftermathh_Raid25", nil, "custom [@raid26,exists] hide; [@raid1,exists] show; hide, solo,party,raid",
'showPlayer', true,
'showRaid', true,
'showParty', true,
'showSolo', true,
'xoffset', 7,
'yOffset', 0,
'point', 'LEFT',
'groupFilter', '1,2,3,4,5,6,7,8',
'groupingOrder', '1,2,3,4,5,6,7,8',
'groupBy', 'GROUP',
'maxColumns', 5,
'unitsPerColumn', 5,
'columnSpacing', 6,
'columnAnchorPoint', 'TOP',
'oUF-initialConfigFunction', [[
self:SetWidth(59)
self:SetHeight(38)
self:SetScale(1)
]]
)
Aftermathh_Raid25:SetPoint('LEFT', UIParent, 221, -54)
oUF:RegisterStyle('Aftermathh_Raid40', RaidFrames)
oUF:SetActiveStyle('Aftermathh_Raid40')
local Aftermathh_Raid40 = oUF:SpawnHeader("AftermathhRaid_40", nil, "custom [@raid26,exists] show; hide, solo,party,raid",
'showPlayer', true,
'showRaid', true,
'showParty', true,
'showSolo', true,
'xoffset', 7,
'yOffset', 0,
'point', 'LEFT',
'groupFilter', '1,2,3,4,5,6,7,8',
'groupingOrder', '1,2,3,4,5,6,7,8',
'groupBy', 'GROUP',
'maxColumns', 12,
'unitsPerColumn', 5,
'columnSpacing', 6,
'columnAnchorPoint', 'TOP',
'oUF-initialConfigFunction', [[
self:SetWidth(59)
self:SetHeight(38)
self:SetScale(1)
]]
)
AftermathhRaid_40:SetPoint('LEFT', UIParent, 221, 15)
end
if AftermathhUI.ouf.dpslayout == true then
oUF:RegisterStyle('Aftermathh_RaidDPS', RaidFrames)
oUF:SetActiveStyle('Aftermathh_RaidDPS')
local Aftermathh_RaidDPS = oUF:SpawnHeader("Aftermathh_RaidDPS", nil, 'solo,party,raid',
'showPlayer', true,
'showRaid', true,
'showParty', false,
'showSolo', false,
'xoffset', 12,
'yOffset', -5,
'point', 'LEFT',
'groupFilter', '1,2,3,4,5,6,7,8',
'groupingOrder', '1,2,3,4,5,6,7,8',
'groupBy', 'GROUP',
'maxColumns', 12,
'unitsPerColumn', 5,
'columnSpacing', 12,
'columnAnchorPoint', 'TOP',
'oUF-initialConfigFunction', [[
self:SetWidth(45)
self:SetHeight(38)
self:SetScale(1)
]]
)
Aftermathh_RaidDPS:SetPoint('TOPLEFT', UIParent, 10, -9)
end
end