-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
126 lines (122 loc) · 2.77 KB
/
config.lua
File metadata and controls
126 lines (122 loc) · 2.77 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
local _, cfg = ... --export config
local addon, ns = ... --get addon namespace
cfg.font = "Fonts\\ARIALN.ttf" --BobHUD's base font
cfg.style = "THINOUTLINE" --OUTLINE, MONOCHROME, or nil
cfg.text = true
cfg.transparency = {
alpha = .7, --transparency
OOCfade = true, --Fade out of combat
fadeout = 0, --fade out of combat transparency
}
--player
cfg.player ={
barsize = { 140, 200 },
alpha = .7,
healthx = -165,
healthy = 0,
powerx = 165,
powery = 0,
castbar = {
enable = true,
barsize = { 100, 130 },
texture = "Interface\\Addons\\BobHUD\\media\\healthbar",
alpha = .7,
x = -108,
y = 0,
},
}
--pet
cfg.pet = {
barsize = { 70, 100 },
alpha = .7,
healthx = -125,
healthy = 0,
powerx = -115,
powery = 0,
castbar = {
enable = true,
barsize = { 50, 70 },
texture = "Interface\\Addons\\BobHUD\\media\\healthbar",
alpha = .7,
x = -75,
y = 0,
},
}
--target
cfg.tar = {
barsize = { 140, 200 },
alpha = .7,
healthx = -180,
healthy = 0,
powerx = 180,
powery = 0,
castbar = {
enable = true,
barsize = { 100, 130 },
texture = "Interface\\Addons\\BobHUD\\media\\powerbar",
alpha = .7,
x = 108,
y = 0,
},
}
--focus
cfg.focus = {
barsize = { 70, 100 },
alpha = .7,
healthx = 125,
healthy = 0,
powerx = 115,
powery = 0,
castbar = {
enable = true,
barsize = { 50, 70 },
texture = "Interface\\Addons\\BobHUD\\media\\powerbar",
alpha = .7,
x = 75,
y = 0,
},
}
--runes
cfg.runes = {
position = { "CENTER", UIParent, 0, -132 },
alpha = .7,
height = 38,
width = 10,
padding = 3,
order = { -- 1,2 = Blood 3,4 = Unholy 5,6 = Frost
[1] = 1,
[2] = 2,
[3] = 3,
[4] = 4,
[5] = 5,
[6] = 6,
},
colors = {
[1] = {r = 0.9, g = 0.15, b = 0.15}, -- Blood
[2] = {r = 0.40, g = 0.9, b = 0.30}, -- Unholy
[3] = {r = 0, g = 0.7, b = 0.9}, -- Frost
[4] = {r = 0.50, g = 0.27, b = 0.68}, -- Death
brightness = 0.7, --Rune cooldown brightness
},
}
--combo points
cfg.cbp_position = {"CENTER",UIParent,"CENTER",0,-150}
cfg.cbpwidth = 25 -- width per combo point frame (5 in total)
cfg.cbpheight = 15 --icon height for combo points
cfg.cbpspacing = 2
-- fade
cfg.fadein = 0.5 -- fade delay for each combo point frame
cfg.fadeout = 0.5 -- fade delay for each combo point frame
cfg.framefadein = 0.2 -- fade delay for entering combat
cfg.framefadeout = 0.2 -- fade delay for leaving combat
-- colors
cfg.comboColors = {
{ r = 1, g = 0.86, b = 0.1, a = 1 },
{ r = 1, g = 0.86, b = 0.1, a = 1 },
{ r = 1, g = 0.86, b = 0.1, a = 1 },
{ r = 1, g = 0.86, b = 0.1, a = 1 },
{ r = 1, g = 0.86, b = 0.1, a = 1 },
}
cfg.bgColor = { r = 0.3, g = 0.3, b = 0.3, a = 0.7 }
cfg.hideooc = true -- hide when out of combat
cfg.hidenoenergy = true -- Hide when no energy is available (i.e. druid out of cat form)