-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.lua
executable file
·1077 lines (1041 loc) · 33.2 KB
/
config.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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---------------------------------------------
-- Roth UI
---------------------------------------------
-- A Diablo themed unitframe layout for oUF 1.6.x
-- Joker119 - 2016-2023
---------------------------------------------
--get the addon namespace
local addon, ns = ...
local oUF = ns.oUF
mediapath = "Interface\\AddOns\\Roth_UI\\media\\"
local addonName, Roth_UI = ...
local LSM = LibStub("LibSharedMedia-3.0")
--object container
local cfg = {}
ns.cfg = cfg
local locale = GetLocale()
RothConfig = {}
---------------------------------------------
-- // CONFIG // --
---------------------------------------------
---------------------------------------------
-- // Embeds // --
---------------------------------------------
cfg.embeds = {
rChat = true, -- Simple chat frame
rActionBarStyler = true, -- Simple actionbar styler for Roth UI
rButtonTemplate = true, -- Simple button skinning mod
rMinimap = true, -- Simplistic square minimap
rNamePlates = true, -- Diablo style Nameplates
rInfoStrings = true, -- Information text displayed under Minimap
rRaidManager = false, -- Replacement for blizzard's pull-out raid manager
rTooltip = true, -- Diablo styled tooltips
tullaRange = true, -- Creates Red/Blue overlay over icons that are not useable due to range or lack of resources
Roth_ShinyBuffs = false, -- ShinyBuffs buff frame, edited for use with Roth UI
rObjectiveTracker = true, -- Simple drag and resizeable Objective Tracker frame
RothFont = false, -- makes game client use a font (as defined in config file) for all game text
}
----------------------------------------
-- colorswitcher define your color for healthbars here
----------------------------------------
--color is in RGB (red (r), green (g), blue (b), alpha (a)), values are from 0 (dark color) to 1 (bright color). 1,1,1 = white / 0,0,0 = black / 1,0,0 = red etc
cfg.colorswitcher = {
bright = { r = 1, g = 0, b = 0, a = 1, }, -- the bright color
dark = { r = 1, g = 0, b = 0, a = 0.1, }, -- the dark color
classcolored = true, -- true -> override the bright color with the unit specific color (class, faction, happiness, threat), if false uses the predefined color
useBrightForeground = true, -- true -> use bright color in foreground and dark color in background
-- false -> use dark color in foreground and bright color in background
threatColored = true, -- true/false -> enable threat coloring of the health plate for raidframes
}
--frames have a new highlight that fades on hp loss, if that is still not enough you can adjust a multiplier here
cfg.highlightMultiplier = 0 --range 0-1
----------------------------------------
--units
----------------------------------------
cfg.units = {
-- PLAYER
player = {
show = true,
size = 160,
scale = 1,
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -264, y = 2 },
health = {
frequentUpdates = true,
smooth = true,
},
power = {
frequentUpdates = true,
smooth = true,
},
absorb = {
show = true,
smooth = true,
},
healprediction = { --WIP
show = false,
color = {
myself = {r = 0, g = 1, b = 0, a = 1 },
other = {r = 0, g = 1, b = 0, a = 0.7 },
},
},
icons = {
pvp = {
show = true,
pos = { a1 = "CENTER", a2 = "CENTER", x = -95, y = 42 }, --position in relation to self object
},
combat = {
show = true,
pos = { a1 = "CENTER", a2 = "CENTER", x = 0, y = 86 }, --position in relation to self object
},
resting = {
show = true,
pos = { a1 = "CENTER", a2 = "CENTER", x = -72, y = 60 }, --position in relation to self object
},
},
castbar = {
show = true,
TextSize = 11,
hideDefault = true, --if you hide the Roth_UI castbar, should the Blizzard castbar be shown?
latency = true,
texture = (mediapath.."statusbar3"),
scale = 1/1, --divide 1 by current unit scale if you want to prevent scaling of the castbar based on unit scale
color = {
bar = { r = 0, g = 0.5, b = 1, a = 0.8, },
bg = { r = 0.1, g = 0.1, b = 0.1, a = 0.7, },
},
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 180.5 },
},
soulshards = { --class bar WARLOCK / AFFLICTION
show = true,
scale = 0.40,
color = {r = 200/255, g = 0/255, b = 255/255, },
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 650 },
combat = { --fade the bar in/out in combat/out of combat
enable = false,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0.2},
},
},
holypower = { --class bar PALADIN
show = false,
scale = 0.40,
color = {r = 200/255, g = 135/255, b = 190/255, },
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 650 },
combat = { --fade the bar in/out in combat/out of combat
enable = false,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0.2},
},
},
harmony = { --class bar MONK
show = true,
scale = 0.40,
color = {r = 41/255, g = 209/255, b = 157/255, },
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 650 },
combat = { --fade the bar in/out in combat/out of combat
enable = false,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0.2},
},
},
runes = { --class bar DK
show = true,
scale = 0.40,
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 650 },
combat = { --fade the bar in/out in combat/out of combat
enable = false,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0.2},
},
},
combobar = {
show = true,
scale = 0.40,
color = {r = 0.9, g = 0.59, b = 0, },
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 650 },
combat = { --fade the bar in/out in combat/out of combat
enable = false,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0.2},
},
},
arcbar = {
show = true,
scale = 0.40,
color = {r = 0.14, g = 0.56, b = .9, },
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 650 },
combat = { --fade the bar in/out in combat/out of combat
enable = false,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0.2},
},
},
altpower = {
show = false,
scale = 0.5,
color = {r = 1, g = 0, b = 1, },
texture = (mediapath.."statusbar"),
pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = 0, y = 0 },
},
expbar = { --experience
show = true,
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 9 },
texture = (mediapath.."statusbar2"),
scale = 1,
color = {r = 0.8, g = 0, b = 0.8, },
rested = {
color = {r = 1, g = 0.7, b = 0, },
},
},
repbar = { --reputation
show = true,
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 20 },
texture = (mediapath.."statusbar2"),
scale = 1,
},
ArtifactPower = {
show = true,
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 15 },
texture = (mediapath.."statusbar2"),
scale = 1,
},
art = {
actionbarbackground = {
show = true,
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 0 },
scale = 1,
combatfade = true,
},
angel = {
show = true,
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 265, y = 0 },
scale = 1,
},
demon = {
show = true,
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -270, y = 0 },
scale = 1,
},
bottomline = {
show = true,
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = -5 },
scale = 1,
},
},
portrait = {
pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -100, y = 0 },
size = 150,
show = false,
use3D = true,
},
},
-- TARGET
target = {
show = true,
scale = 1.5,
width = 300,
height = 64,
pos = { a1 = "TOP", a2 = "TOP", af = "UIParent", x = 0, y = -70 },
health = {
frequentUpdates = true,
texture = (mediapath.."statusbar3"),
tag = "[diablo:hpval]",
fontSize = 7,
point = "RIGHT",
x = 25,
y = -30,
},
healper = {
frequentUpdates = true,
tag = "[perphp]",
fontSize = 10,
point = "CENTER",
x = 0,
y = 0,
},
powper = {
frequentUpdates = true,
tag = "[perpp]%",
fontSize = 7,
point = "CENTER",
x = 0,
y = 0,
},
power = {
frequentUpdates = true,
texture = (mediapath.."statusbar3"),
tag = "[diablo:ppval]",
fontSize = 7,
point = "LEFT",
x = -25,
y = -30,
},
misc = {
classFontSize = 13,
NameFontSize = 16,
},
auras = {
show = true,
size = 15,
onlyShowPlayerBuffs = false,
showStealableBuffs = true,
onlyShowPlayerDebuffs = true,
showDebuffType = true,
desaturateDebuffs = false,
buffs = {
pos = { a1 = "BOTTOMLEFT", a2 = "TOPRIGHT", x = 0, y = -15 },
initialAnchor = "BOTTOMLEFT",
growthx = "RIGHT",
growthy = "UP",
},
debuffs = {
pos = { a1 = "TOPLEFT", a2 = "BOTTOMRIGHT", x = 0, y = 15 },
initialAnchor = "TOPLEFT",
growthx = "RIGHT",
growthy = "DOWN",
},
},
castbar = {
show = true,
TextSize = 11,
texture = (mediapath.."statusbar3"),
scale = 1/1.9, --divide 1 by current unit scale if you want to prevent scaling of the castbar based on unit scale
color = {
bar = { r = 0, g = 0.5, b = 1, a = .7, },
bg = { r = 0.1, g = 0.1, b = 0.1, a = 1, },
shieldbar = { r = 0.5, g = 0.5, b = 0.5, a = 1, }, --the castbar color while target casting a shielded spell
shieldbg = { r = 0.1, g = 0.1, b = 0.1, a = 0.7, }, --the castbar background color while target casting a shielded spell
},
pos = { a1 = "TOP", a2 = "TOP", af = "UIParent", x = -10, y = -125 },
},
portrait = {
pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = 100, y = 0 },
size = 150,
show = false,
use3D = true,
},
healprediction = {
show = true,
texture = (mediapath.."statusbar3"),
color = {
myself = {r = 0, g = 1, b = 0, a = 1 },
other = {r = 0, g = 1, b = 0, a = 0.7 },
},
maxoverflow = 1.00,
},
totalabsorb = {
show = true,
texture = (mediapath.."absorb_statusbar_overlay"),
color = {
bar = {r = 0.7, g = 1, b = 1, a = 0.9 },
},
},
},
--TARGETTARGET
targettarget = {
show = true,
width = 150,
height = 64,
scale = 1.3,
pos = { a1 = "TOP", a2 = "TOP", af = "UIParent", x = -238, y = -80 },
auras = {
show = true,
size = 22,
onlyShowPlayerDebuffs = false,
showDebuffType = true,
},
health = {
texture = (mediapath.."statusbar3"),
tag = "[diablo:misshp]",
},
power = {
texture = (mediapath.."statusbar3"),
},
healprediction = {
show = true,
texture = (mediapath.."statusbar3"),
color = {
myself = {r = 0, g = 1, b = 0, a = 1 },
other = {r = 0, g = 1, b = 0, a = 0.7 },
},
maxoverflow = 1.00,
},
},
--PET
pet = {
show = true,
scale = 0.85,
width = 128,
height = 64,
pos = { a1 = "RIGHT", a2 = "RIGHT", af = "UIParent", x = -30, y = -140 },
auras = {
show = true,
size = 22,
onlyShowPlayerDebuffs = false,
showDebuffType = false,
},
health = {
texture = (mediapath.."statusbar3"),
tag = "[diablo:misshp]",
},
power = {
texture = (mediapath.."statusbar3"),
},
altpower = {
show = false,
scale = 0.5,
color = {r = 1, g = 0, b = 1, },
texture = (mediapath.."statusbar3"),
pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = 0, y = 0 },
},
portrait = {
show = true,
use3D = false,
},
castbar = {
show = false,
hideDefault = true, --if you hide the Roth_UI castbar, should the Blizzard castbar be shown?
texture = "Interface\\AddOns\\Roth_UI\\media\\statusbar3",
scale = 1/0.85, --divide 1 by current unit scale if you want to prevent scaling of the castbar based on unit scale
color = {
bar = { r = 1, g = 0.7, b = 0, a = 1, },
bg = { r = 0.1, g = 0.1, b = 0.1, a = 0.7, },
},
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 490 },
},
totalabsorb = {
show = true,
texture = (mediapath.."absorb_statusbar_overlay"),
color = {
bar = {r = 0.7, g = 1, b = 1, a = 0.9 },
},
},
},
--FOCUS
focus = {
show = true,
width = 128,
height = 64,
scale = 0.85,
pos = { a1 = "CENTER", a2 = "BOTTOM", af = "UIParent", x = 0, y = 350 },
aurawatch = {
show = false,
size = 20,
},
auras = {
show = true,
size = 22,
onlyShowPlayerDebuffs = false,
showDebuffType = false,
showBuffs = true,
onlyShowPlayerBuffs = false,
showBuffType = false,
},
health = {
texture = (mediapath.."statusbar3"),
tag = "[diablo:misshp]",
},
power = {
texture = (mediapath.."statusbar3"),
},
portrait = {
show = true,
use3D = false,
},
castbar = {
show = false,
TextSize = 11,
texture = (mediapath.."statusbar3"),
scale = 1/1.9, --divide 1 by current unit scale if you want to prevent scaling of the castbar based on unit scale
color = {
bar = { r = 1, g = 0.7, b = 0, a = 1, },
bg = { r = 0.1, g = 0.1, b = 0.1, a = 0.7, },
},
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 420 },
},
healprediction = {
show = true,
texture = (mediapath.."statusbar128_3"),
color = {
myself = {r = 0, g = 1, b = 0, a = 1 },
other = {r = 0, g = 1, b = 0, a = 0.7 },
},
maxoverflow = 1.00,
},
totalabsorb = {
show = true,
texture = (mediapath.."absorb_statusbar_overlay"),
color = {
bar = {r = 0.7, g = 1, b = 1, a = 0.9 },
},
},
},
--PETTARGET
pettarget = {
show = false,
width = 128,
height = 64,
scale = 0.85,
pos = { a1 = "LEFT", a2 = "LEFT", af = "UIParent", x = 140, y = -140 },
auras = {
show = true,
size = 22,
onlyShowPlayerDebuffs = false,
showDebuffType = false,
},
health = {
texture = (mediapath.."statusbar3"),
tag = "[diablo:misshp]",
},
power = {
texture = (mediapath.."statusbar3"),
},
portrait = {
show = true,
use3D = true,
},
},
--FOCUSTARGET
focustarget = {
show = false,
width = 128,
height = 64,
scale = 0.85,
pos = { a1 = "LEFT", a2 = "LEFT", af = "UIParent", x = 140, y = 40 },
auras = {
show = true,
size = 22,
onlyShowPlayerDebuffs = false,
showDebuffType = false,
},
health = {
texture = (mediapath.."statusbar128_3"),
tag = "[diablo:misshp]",
},
power = {
texture = (mediapath.."statusbar128_3"),
},
portrait = {
show = true,
use3D = true,
},
},
--PARTY
party = {
vertical = true,
show = true,
alpha = {
notinrange = 0.5,
},
scale = 1.1,
vertwidth = 228,
vertheight = 64,
width = 128,
height = 64,
pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -335, y = 150 },
aurawatch = {
show = true,
size = 18,
},
auras = {
show = true,
size = 12,
onlyShowPlayerDebuffs = false,
showDebuffType = true,
showBuffs = false,
onlyShowPlayerBuffs = true,
showBuffType = true,
number = 5,
},
health = {
texture = (mediapath.."statusbar3"),
tag = "[diablo:misshp]",
fontSize = 11,
point = "RIGHT",
x = -20,
y = 0,
},
power = {
texture = (mediapath.."statusbar3"),
},
misc = {
NameFontSize = 14
},
portrait = {
show = true,
use3D = true,
width = 85,
},
attributes = {
visibility = "custom [nogroup:party,nogroup:raid] show; [group:party,nogroup:raid] show; show", --show this header in party
showPlayer = true, --make this true to show player in party
showSolo = false, --make this true to show while solo (only works if solo is in visiblity aswell
showParty = true, --make this true to show headerin party
showRaid = false, --show in raid
hideInArena = false, --hides the party frame while inside an arena
VerticalPoint = "TOP",
HorizontalPoint = "LEFT",
},
healprediction = {
show = true,
texture = (mediapath.."statusbar3"),
color = {
myself = {r = 0, g = 1, b = 0, a = 1 },
other = {r = 0, g = 1, b = 0, a = 0.7 },
},
maxoverflow = 1.00,
},
totalabsorb = {
show = true,
texture = (mediapath.."absorb_statusbar_overlay"),
color = {
bar = {r = 0.7, g = 1, b = 1, a = 0.9 },
},
},
},
--RAID
raid = {
show = true,
special = {
chains = false, --should the raidframe include the chain textures?
},
alpha = {
notinrange = 0.4,
},
scale = 1.3,
pos = { a1 = "TOPLEFT", a2 = "TOPLEFT", af = "UIParent", x = 5, y = -5 },
health = {
texture = (mediapath.."statusbar3"),
tag = "[diablo:misshp]", --tag for the second line
},
power = {
texture = (mediapath.."statusbar3"),
},
aurawatch = {
show = false,
},
auras = {
--put every single spellid here that you want to be tracked, be it buff or debuff doesn't matter
whitelist = {
223306, -- Bestow Faith
53563, -- Beacon of Light
6940, -- Blessing of Sacrifice
287280, -- Glimmer of Light
156910, -- Beacon of Faith
200025, -- Beacon of Virtue
313255, -- Slow
774, -- Rejuv
155777, -- germination
8936, --regrowth
33763, --lifebloom
48438, -- wild growth
335305, -- Barbed Shackles
},
blacklist = {
--these are abilities that should definetly not be shown
164545,
164547,
54149,
},
show = true,
disableCooldown = false,
showBuffType = true,
showDebuffType = true,
doNotUseCustomFilter = false,
size = 13,
num = 5,
spacing = 3,
debuffPos = { a1 = "CENTER", x = 0, y = -23},
buffPos = {a1 = "CENTER", x = 33, y = 0},
},
attributes = {
showPlayer = true, --make this true to show player in party
showSolo = true, --make this true to show while solo (only works if solo is in visiblity aswell
showParty = true, --make this true to show raid in party
showRaid = true, --show in raid
showInArena = false, --shows this frame while in an arena
point = "TOP",
yOffset = 15,
xoffset = 0,
maxColumns = 4,
unitsPerColumn = 10,
columnSpacing = -20,
columnAnchorPoint = "LEFT",
},
healprediction = {
show = false,
texture = (mediapath.."statusbar3"),
color = {
myself = {r = 0, g = 1, b = 0, a = 1 },
other = {r = 0, g = 1, b = 0, a = 0.7 },
},
maxoverflow = 1.05,
},
totalabsorb = {
show = true,
texture = (mediapath.."absorb_statusbar_overlay"),
color = {
bar = {r = 0.7, g = 1, b = 1, a = 0.9 },
},
},
},
--BOSSFRAMES
boss = {
show = true,
scale = 1,
width = 128,
height = 64,
pos = { a1 = "TOP", a2 = "BOTTOM", af = "Minimap", x = 0, y = -80 },
health = {
texture = (mediapath.."statusbar3"),
tag = "[diablo:bosshp]%",
},
power = {
texture = (mediapath.."statusbar3"),
tag = "[diablo:bosspp]",
},
},
}
----------------------------------------
-- Action Bars
----------------------------------------
cfg.bars = {
--General Button Settings
showMacroName = true,
showCooldown = true,
showHotkey = false,
showStackCount = true,
--BAR 1
bar1 = {
enable = true, --enable module
uselayout2x6 = false,
scale = 1,
padding = 2, --frame padding
buttons = {
size = 26,
margin = 5,
},
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -1, y = 16 },
userplaced = {
enable = true,
},
mouseover = {
enable = true,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0},
},
},
--OVERRIDE BAR (vehicle ui)
overridebar = { --the new vehicle and override bar
enable = true, --enable module
scale = 1,
padding = 2, --frame padding
buttons = {
size = 57,
margin = 5,
},
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -1, y = 16 },
userplaced = {
enable = true,
},
mouseover = {
enable = true,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0},
},
},
--BAR 2
bar2 = {
enable = true, --enable module
uselayout2x6 = false,
scale = 1,
padding = 2, --frame padding
buttons = {
size = 26,
margin = 5,
},
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -1, y = 42 },
userplaced = {
enable = true,
},
mouseover = {
enable = true,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0},
},
},
--BAR 3
bar3 = {
enable = true, --enable module
scale = 1,
padding = 2, --frame padding
buttons = {
size = 26,
margin = 5,
},
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -1, y = 70 },
userplaced = {
enable = true,
},
mouseover = {
enable = true,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0},
},
},
--BAR 4
bar4 = {
enable = true, --enable module
vert = false, --choosing this will make the bar stack vertically instead of horizontally
combineBar4AndBar5 = true, --by choosing true both bar 4 and 5 will react to the same hover effect, thus true/false at the same time, settings for bar5 will be ignored
scale = 1.2,
padding = 10, --frame padding
buttons = {
size = 26,
margin = 5,
},
pos = { a1 = "RIGHT", a2 = "RIGHT", af = "UIParent", x = -0, y = 0 },
userplaced = {
enable = true,
},
mouseover = {
enable = true,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0},
},
},
--BAR 5
bar5 = {
enable = true, --enable module
vert = true, --choosing this will make the bar stack vertically instead of horizontally
scale = 1.2,
padding = 10, --frame padding
buttons = {
size = 26,
margin = 5,
},
pos = { a1 = "RIGHT", a2 = "RIGHT", af = "UIParent", x = -36, y = 0 },
userplaced = {
enable = true,
},
mouseover = {
enable = true,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 1},
},
},
bar6 = {
enable = true, --enable module
vert = false, --choosing this will make the bar stack vertically instead of horizontally
scale = 1.2,
padding = 10, --frame padding
buttons = {
size = 26,
margin = 5,
},
pos = { a1 = "RIGHT", a2 = "RIGHT", af = "UIParent", x = -36, y = 0 },
userplaced = {
enable = true,
},
mouseover = {
enable = false,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0},
},
},
--PETBAR
petbar = {
enable = true, --enable module
show = true, --true/false
scale = 1.2,
padding = 2, --frame padding
buttons = {
size = 26,
margin = 5,
},
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -1, y = 180 },
userplaced = {
enable = true,
},
mouseover = {
enable = true,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0},
},
},
--STANCE- + POSSESSBAR
stancebar = {
enable = true, --enable module
show = true, --true/false
scale = 0.6,
padding = 2, --frame padding
buttons = {
size = 26,
margin = 5,
},
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 135, y = 172 },
userplaced = {
enable = true,
},
mouseover = {
enable = true,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0},
},
},
--EXTRABAR
extrabar = {
enable = true, --enable module
scale = 0.82,
padding = 10, --frame padding
buttons = {
size = 36,
margin = 5,
},
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -210, y = 220 },
userplaced = {
enable = true,
},
mouseover = {
enable = false,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0.2},
},
},
--VEHICLE EXIT (no vehicleui)
leave_vehicle = {
enable = true, --enable module
scale = 1.2,
padding = 10, --frame padding
buttons = {
size = 26,
margin = 5,
},
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 210, y = 135 },
userplaced = {
enable = true,
},
mouseover = {
enable = false,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0.2},
},
},
--MICROMENU
micromenu = {
enable = true, --enable module
show = true, --true/false
scale = 0.6,
padding = 0, --frame padding
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -155, y = 159 },
userplaced = {
enable = true,
},
mouseover = {
enable = false,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0},
},
},
--BAGS
bags = {
enable = true, --enable module
show = true, --true/false
scale = .5,
padding = 15, --frame padding
pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 365, y = 207 },
userplaced = {
enable = true,
},
mouseover = {
enable = false,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0},
},
},
}
----------------------------------------
-- frame movement
----------------------------------------
--setting this to false will use the default frame positions, true allows moving
cfg.framesUserplaced = true
--setting this to true will lock the frames in place, false unlocks them
cfg.framesLocked = true
----------------------------------------
-- player specific data
----------------------------------------
--player stuff
cfg.playername = UnitName("player")
cfg.playerclass = select(2,UnitClass("player"))
cfg.playercolor = RAID_CLASS_COLORS[cfg.playerclass]
cfg.playerspec = GetSpecialization()
----------------------------------------
-- Embeds