Quantcast

-- oUF_SimpleConfig: party
-- zork, 2016

-----------------------------
-- Variables
-----------------------------

local A, L = ...

-----------------------------
-- Party Config
-----------------------------

L.C.party = {
  enabled = true,
  size = {180,26},
  point = {"TOPLEFT",20,-20},
  scale = 1*L.C.globalscale,
  --healthbar
  healthbar = {
    --health and absorb bar cannot be disabled, they match the size of the frame
    colorDisconnected = true,
    colorClass = true,
    colorReaction = true,
    colorHealth = true,
    colorThreat = true,
    name = {
      enabled = true,
      points = {
        {"TOPLEFT",2,10},
        {"TOPRIGHT",-2,10},
      },
      size = 17,
      tag = "[name]",
    },
    health = {
      enabled = true,
      point = {"RIGHT",-2,0},
      size = 14,
      tag = "[oUF_Simple:health]",
      font = L.C.fonts.expressway,
    },
    debuffHighlight = true,
  },
  --powerbar
  powerbar = {
    enabled = true,
    size = {180,5},
    point = {"TOP","BOTTOM",0,-4}, --if no relativeTo is given the frame base will be the relativeTo reference
    colorPower = true,
    power = {
      font = L.C.fonts.expressway,
    },
  },
  --raidmark
  raidmark = {
    enabled = false,
    size = {18,18},
    point = {"CENTER","TOP",0,0},
  },
  --ready check
  readycheck = {
    enabled = true,
    size = {12,12},
    point = {"CENTER","CENTER",0,0},
  },
  --group role, leader or assistant
  grouprole = {
    enabled = true,
    size = {12,12},
    point = {"TOPRIGHT","TOPRIGHT",-5,6},
  },
  --range alpha
  range = {
    enabled = true,
    alpha = 0.3,  -- outside alpha
  },
  --buffs
  buffs = {
    enabled = false,
    point = {"CENTER","CENTER",0,-2},
    num = 8,
    cols = 8,
    size = 14,
    spacing = 5,
    initialAnchor = "LEFT",
    growthX = "RIGHT",
    growthY = "UP",
    disableCooldown = false,
    CustomFilter = CustomFilter
  },
  --debuffs
  debuffs = {
    enabled = true,
    point = {"LEFT","RIGHT",5,0},
    num = 5,
    cols = 5,
    size = 26,
    spacing = 5,
    initialAnchor = "TOPLEFT",
    growthX = "RIGHT",
    growthY = "DOWN",
    disableCooldown = true,
  },
  setup = {
    template = nil,
    visibility = "custom [group:party,nogroup:raid] show; hide",
    showPlayer = true,
    showSolo = false,
    showParty = true,
    showRaid = false,
    point = "TOP",
    xOffset = 0,
    yOffset = -14,
  },
}