This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcfg.lua
88 lines (77 loc) · 4.58 KB
/
cfg.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
-----------------------------
-- INIT
-----------------------------
local addon, ns = ...
local cfg = CreateFrame("Frame")
local mediaFolder = "Interface\\AddOns\\oUF_Karma\\media\\" -- don't touch this ...
-----------------------------
-- CONFIG
-----------------------------
-- Units
cfg.showtot = true -- show target of target frame
cfg.showpet = true -- show pet frame
cfg.showfocus = true -- show focus frame
cfg.showfocustarget = true -- show focus target frame
cfg.ShowPlayerName = false -- show player's name and level
cfg.ShowTargetPower = true --- show target power --- For Lynce
cfg.showBossFrames = true -- show boss frame
-- Raid and Party
cfg.ShowParty = false -- show party frames
cfg.ShowSelfParty = true -- show self in party
cfg.party_leader_icon = false -- Show Leader Icon
cfg.showPartyHorizontal = false -- shows party frames horizontally
cfg.ShowRaid = false -- show raid frames
cfg.RaidShowSolo = false -- show raid frames even when solo
-- Positioning
cfg.PlayerX = 0 -- Player frame's x-offset position from the relative point of the screen
cfg.PlayerY = -180 -- Player frame's y-offset position from the relative point of the screen
cfg.PlayerRelativePoint = "CENTER" -- Player frame's reference point of the screen used for X and Y offsets. Possible values are: "TOP"/"BOTTOM"/"LEFT"/"RIGHT"/"CENTER"/"TOPLEFT"/"ROPRIGHT"/"BOTTOMLEFT"/"BOTTOMRIGHT"
cfg.TargetX = 280 -- Target frame's x-offset position from the relative point of the screen
cfg.TargetY = -80 -- Target frame's y-offset position from the relative point of the screen
cfg.TargetRelativePoint = "CENTER" -- Target frame's reference point of the screen used for X and Y offsets. Possible values are: "TOP"/"BOTTOM"/"LEFT"/"RIGHT"/"CENTER"/"TOPLEFT"/"ROPRIGHT"/"BOTTOMLEFT"/"BOTTOMRIGHT"
cfg.TotX = 0 -- Target of target frame's x-offset position from the relative point of the screen
cfg.TotY = 8 -- Target of target frame's y-offset position from the relative point of the screen
cfg.TotRelativePoint = "TOPRIGHT" -- Target of target frame's reference point of the screen used for X and Y offsets. Possible values are: "TOP"/"BOTTOM"/"LEFT"/"RIGHT"/"CENTER"/"TOPLEFT"/"ROPRIGHT"/"BOTTOMLEFT"/"BOTTOMRIGHT" cfg.PartyX = -290 -- Party Frames Horizontal Position
cfg.FocusX = -300 -- Focus frame's x-offset position from the relative point of the screen
cfg.FocusY = -300 -- Focus frame's y-offset position from the relative point of the screen
cfg.FocusRelativePoint = "BOTTOM" -- Focus frame's reference point of the screen used for X and Y offsets. Possible values are: "TOP"/"BOTTOM"/"LEFT"/"RIGHT"/"CENTER"/"TOPLEFT"/"ROPRIGHT"/"BOTTOMLEFT"/"BOTTOMRIGHT" cfg.PartyX = -290 -- Party Frames Horizontal Position
cfg.PartyX = -290 -- Party Frames Horizontal Position
cfg.PartyY = -60 -- Party Frames Vertical Position
cfg.RaidX = -590 -- Party Frames Horizontal Position
cfg.RaidY = -60 -- Party Frames Vertical Position
cfg.BossX = -10 -- Boss Frames Horizontal Position
cfg.BossY = -230 -- Boss Frames Vertical Position
-- Auras
cfg.showPlayerAuras = false -- use a custom player buffs/debuffs frame instead of Blizzard's default.
cfg.showTargetBuffs = true -- show target buffs
cfg.showTargetDebuffs = true -- show target debuffs
cfg.showBossBuffs = true -- show target buffs
cfg.showBossDebuffs = true -- show target debuffs
cfg.debuffsOnlyShowPlayer = true -- only show your debuffs on target
cfg.buffsOnlyShowPlayer = false -- only show your buffs
-- Plugins
cfg.enableDebuffHighlight = true -- enable *dispelable* debuff highlight for raid frames
cfg.showRaidDebuffs = true -- enable important debuff icons to show on raid units
-- Misc
cfg.showRunebar = true -- show DK's rune bar
cfg.showClassbar = true -- Soul shards, arcane charges, holy power and chi
cfg.RCheckIcon = true -- show raid check icon
cfg.Castbars = true -- use built-in castbars
cfg.ShowIncHeals = true -- Show incoming heals in player and raid frames
cfg.showLFDIcons = true -- Show dungeon role icons in raid/party
cfg.statusbar_texture = mediaFolder .. "Statusbar"
cfg.powerbar_texture = mediaFolder .. "Minimalist"
cfg.backdrop_texture = mediaFolder .. "backdrop"
cfg.highlight_texture = mediaFolder .. "raidbg"
cfg.debuffhighlight_texture = mediaFolder .. "debuff_highlight"
cfg.backdrop_edge_texture = mediaFolder .. "backdrop_edge"
cfg.debuffBorder = mediaFolder .. "iconborder"
cfg.spark = mediaFolder .. "spark"
cfg.font = mediaFolder .. "ROADWAY.ttf"
cfg.smallfont = mediaFolder .. "Emblem.ttf"
cfg.raidScale = 1 -- scale factor for raid and party frames
cfg.scale = 1 -- scale factor for all other frames
-----------------------------
-- HANDOVER
-----------------------------
ns.cfg = cfg