-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
config.lua
1762 lines (1505 loc) · 82.4 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
local _, helpers = ...
local _, playerClass = UnitClass("player")
local isHealer = (playerClass == "PRIEST" or playerClass == "PALADIN" or playerClass == "SHAMAN" or playerClass == "DRUID" or playerClass == "MONK")
local A = helpers.AddAura
local AG = helpers.AddAuraGlobal
local DispelTypes = helpers.DispelTypes
local D = helpers.AddDebuff
local Trace = helpers.AddTrace
local pixelperfect= helpers.pixelperfect
local config = AptechkaDefaultConfig
local set = helpers.set
config.frameStrata = "MEDIUM"
config.maxgroups = 8
--A maximum of 5 pets can be displayed.
config.defaultFont = "AlegreyaSans-Medium"
do
local locale = GetLocale()
if locale == "zhTW" or locale == "zhCN" or locale == "koKR" then
config.defaultFont = LibStub("LibSharedMedia-3.0").DefaultMedia["font"]
-- "預設" - zhTW
-- "默认" - zhCN
-- "기본 글꼴" - koKR
end
end
-- /script Aptechka.SetJob("player", AptechkaDefaultConfig.MindControlStatus, true)
-- /script Aptechka.SetJob("player", AptechkaDefaultConfig.IncResStatus, true, "RESURRECTION")
-- /script Aptechka.SetJob("player", AptechkaDefaultConfig.RCReady, true, "READY_CHECK", status)
config.registerForClicks = { "AnyUp" }
config.enableIncomingHeals = true
config.incomingHealIgnorePlayer = false
config.displayRoles = true
config.enableTraceHeals = true
config.enableVehicleSwap = true
config.enableAbsorbBar = true
config.RangeStatus = { name = "OutOfRange", assignto = set("frameAlpha"), color = {0,0,0,0.65}, priority = 90 }
config.TargetStatus = { name = "Target", assignto = set("border"), color = {0.7,0.2,0.5}, priority = 65 }
config.FocusStatus = { name = "Focus", assignto = set("border"), color = {0.9,0.1,0.8}, priority = 60 }
config.MouseoverStatus = { name = "Mouseover", assignto = set("border", "mouseoverHighlight"), color = {1,0.5,0.8}, priority = 66 }
config.AggroStatus = { name = "Aggro", assignto = set("raidbuff"), color = { 0.7, 0, 0},priority = 85 }
config.RCReady = { name = "RCReady", priority = 90, assignto = set("statusIcon"), color = { 0, 1, 0}, text = "READY" }
config.RCNotReady = { name = "RCNotReady", priority = 91, assignto = set("statusIcon"), color = { 1, 0, 0}, text = "NOT READY" }
config.RCWaiting = { name = "RCWaiting", priority = 89, assignto = set("statusIcon"), color = { 0.8, 0.6, 0}, text = "WAITING" }
config.IncResStatus = { name = "IncRes", priority = 86, assignto = set("statusIcon"), color = { 1, 1, 1} }
config.PhasedStatus = { name = "Phased", priority = 84, assignto = set("statusIcon"), color = { 0.3, 0.3, 0.45, 0.77}, textcolor = { 0.3,1,1 } }
config.RoleStatus = { name = "RoleIcon", assignto = set("roleIcon"), priority = 65, color = { 1, 1, 1 } }
config.RaidTargetStatus = { name = "RaidTarget", assignto = set("raidTargetIcon"), priority = 70, color = { 1, 1, 1 } }
config.IncomingCastStatus = { name = "IncomingCast", priority = 97, assignto = set("incomingCastIcon"), color = { 1, 1, 1} }
config.OutgoingCastStatus = { name = "OutgoingCast", priority = 96, assignto = set("incomingCastIcon"), color = { 1, 1, 1} }
config.LeaderStatus = { name = "Leader", priority = 59, assignto = set("text3"), color = {1,.8,.2}, text = "L" }
-- config.AssistStatus = { name = "Assist", priority = 59, assignto = set("text3"), color = {1,.8,.2}, text = "A" }
config.VoiceChatStatus = { name = "VoiceChat", assignto = set("text3"), color = {0.3, 1, 0.3}, text = "S", priority = 99 }
config.MainTankStatus = { name = "MainTank", priority = 60, assignto = set("border"), color = {0.6,0.6,0.6} }
config.LowHealthStatus = { name = "LowHealth", priority = 60, assignto = set("border"), color = {1,0,0} }
config.DeadStatus = { name = "Dead", assignto = set("text2","healthColor"), color = {.05,.05,.05}, textcolor = {0,1,0}, text = "DEAD", priority = 60}
config.GhostStatus = { name = "Ghost", assignto = set("text2","healthColor"), color = {.05,.05,.05}, textcolor = {0,1,0}, text = "GHOST", priority = 62}
config.OfflineStatus = { name = "Offline", assignto = set("text2","text3","healthColor"), color = {0.5,0.5,0.5}, textcolor = {0,1,0}, text = "OFFLINE", priority = 70}
config.AwayStatus = { name = "AFK", assignto = set("text2","text3"), color = {0.4,0.4,0.4}, textcolor = {1,0.8,0}, text = "AFK", priority = 15}
config.IncomingHealStatus = { name = "IncHealText", assignto = set(), color = { 0, 1, 0}, priority = 15 }
-- config.AbsorbTextStatus = { name = "AbsorbText", assignto = set("text2"), color = { 0.7, 0.7, 1 }, priority = 11, formatType = "PERCENTAGE" }
config.HealthTextStatus = { name = "HealthText", assignto = set("text2"), color = { 54/255, 201/255, 99/256 }, priority = 10, formatType = "MISSING_VALUE_SHORT" }
config.UnitNameStatus = { name = "UnitName", assignto = set("text1"), classcolor = true, priority = 5 }
config.HealthBarColor = { name = "HealthBar", assignto = set("health"), color = {1, .3, .3}, classcolor = true, priority = 10 }
config.PowerBarColor = { name = "PowerBarColor", assignto = set("power"), color = {.5,.5,1}, priority = 20 }
config.InVehicleStatus = { name = "InVehicle", assignto = set("vehicle"), color = {0.3,1,0.3}, priority = 21 }
config.LOSStatus = { name = "OutOfSight", assignto = set("healfeedback"), scale = 1.6, color = {1,0.1,0.1}, priority = 95, fade = 0.3 }
config.DispelStatus = { name = "Dispel", assignto = set("debuffHighlight"), scale = 1, pulse = 2, spin = true, priority = 86 }
config.StaggerStatus = { name = "Stagger", assignto = set("text2"), priority = 20 }
config.RunicPowerStatus = { name = "RunicPower", assignto = set("mitigation"), priority = 10, color = { 0, 0.82, 1 }, icon = 237517, formatType = "VALUE" }
config.AltPowerStatus = { name = "AltPower", assignto = set("text3"), priority = 65, color = { 1, 0.7, 1 }, formatType = "PERCENTAGE" }
config.SummonPending = { name = "SummonPending", assignto = set("text2"), color = {1,0.7,0}, text = "PENDING", priority = 50 }
config.SummonAccepted = { name = "SummonAccepted", assignto = set("text2"), color = {0,1,0}, text = "ACCEPTED", priority = 51 }
config.SummonDeclined = { name = "SummonDeclined", assignto = set("text2"), color = {1,0,0}, text = "DECLINED", priority = 52 }
config.DebuffAlert1 = { name = "DebuffAlert1", assignto = set("debuffHighlight", "flash"), color = {1,0,0}, priority = 95, scale = 1.15, pulse = 10, }
config.DebuffAlert2 = { name = "DebuffAlert2", assignto = set("debuffHighlight", "flash"), color = {1,0,1}, priority = 95, scale = 1.15, pulse = 10, }
config.DebuffAlert3 = { name = "DebuffAlert3", assignto = set("innerglow", "border", "flash"), color = {1,0,0}, priority = 90 }
config.DebuffAlert4 = { name = "DebuffAlert4", assignto = set("pixelGlow"), color = {1,1,1}, priority = 95 }
config.DebuffAlert5 = { name = "DebuffAlert5", assignto = set("frameAlpha"), color = {0,0,0, 0.8}, priority = 50 }
config.TargetedCountStatus = { name = "TargetedCount", assignto = set("EnemyCounter"), color = {1,0.2,0.2}, priority = 70 }
-- config.MindControl = { name = "MIND_CONTROL", assignto = set("mindcontrol"), color = {1,0,0}, priority = 52 }
config.MindControlStatus = { name = "MIND_CONTROL", assignto = set("border", "mindcontrol", "innerglow"), color = {0.5,0,1}, priority = 52 }
-- config.UnhealableStatus = { name = "UNHEALABLE", assignto = set("unhealable"), color = {0.5,0,1}, priority = 50 }
local FRAMELEVEL = helpers.FRAMELEVEL
local DEFAULT_TEXLEVEL = FRAMELEVEL.TEXTURE
config.DefaultWidgets = {
raidbuff = { type = "IndicatorArray", width = 5, height = 5, point = "TOPLEFT", x = 0, y = 0, growth = "DOWN", max = 5 },
mitigation = { type = "Bar", width=22, height=4, point="BOTTOMLEFT", x=4, y=-5, vertical = false},
-- icon = { type = "Icon", width = 24, height = 24, point = "CENTER", x = 0, y = 0, alpha = 1, font = config.defaultFont, textsize = 12, outline = true, edge = true },
icon = { type = "BarIcon", width = 24, height = 24, point = "CENTER", x = 0, y = 0, alpha = 1, font = config.defaultFont, textsize = 12, outline = true, edge = true, vertical = true },
spell1 = { type = "Indicator", width = 9, height = 8, point = "BOTTOMRIGHT", x = 0, y = 0, },
-- spell2 = { type = "Indicator", width = 9, height = 8, point = "TOP", x = 0, y = 0, },
spell3 = { type = "Indicator", width = 9, height = 8, point = "TOPRIGHT", x = 0, y = 0, },
bar4 = { type = "Bar", width=21, height=5, point="TOPRIGHT", x=0, y=2, vertical = false},
bar4text = { type = "StaticText", point="TOPRIGHT", width = 30, height = 10, x=-23, y=5, zorder=0, font = config.defaultFont, textsize = 12, effect = "NONE", bg = false, bgAlpha = 0.5, padding = 0, justify = "RIGHT" },
buffIcons = { type = "BarIconArray", width = 12, height = 18, point = "TOPRIGHT", x = 5, y = -6, alpha = 1, growth = "LEFT", max = 3, edge = true, outline = true, vertical = true, font = config.defaultFont, textsize = 12 },
bars = { type = "BarArray", width = 21, height = 5, point = "BOTTOMRIGHT", x = 0, y = 0, vertical = false, growth = "UP", max = 7 },
vbar1 = { type = "Bar", width=4, height=20, point="TOPRIGHT", x=-9, y=2, vertical = true},
text1 = { type = "StaticText", point="CENTER", width = 60, height = 16, x=0, y=0, zorder=0, font = config.defaultFont, textsize = 12, effect = "SHADOW", bg = false, bgAlpha = 0.5, padding = 0, justify = "CENTER" },
text2 = { type = "StaticText", point="CENTER", width = 60, height = 10, x=0, y=-11, zorder=0, font = config.defaultFont, textsize = 10, effect = "NONE", bg = false, bgAlpha = 0.5, padding = 0, justify = "CENTER" },
text3 = { type = "Text", point="TOPLEFT", width = 30, height = 10, x=2, y=0, zorder=0, font = config.defaultFont, textsize = 9, effect = "NONE", bg = false, bgAlpha = 0.5, padding = 0, justify = "LEFT" },
incomingCastIcon = { type = "ProgressIcon", width = 18, height = 18, point = "TOPLEFT", x = -3, y = 3, alpha = 1, font = config.defaultFont, textsize = 12, outline = false, edge = false },
debuffIcons = { type = "DebuffIconArray", width = 13, height = 13, point = "BOTTOMLEFT", x = 0, y = 0, style = "STRIP_RIGHT", animdir = "LEFT", alpha = 1, growth = "UP", max = 4, edge = true, outline = true, font = config.defaultFont, textsize = 12, bigscale = 1.3 },
floatingIcon = { type = "FloatingIcon", width = 16, height = 16, point = "TOPLEFT", x = 15, y = -5, alpha = 1, font = config.defaultFont, textsize = 12, outline = false, edge = false, angle = 60, range = 45, spreadArc = 30, animDuration = 2 },
statusIcon = { type = "Texture", width = 20, height = 20, point = "CENTER", x = 0, y = 14, texture = nil, rotation = 0, zorder = 6-DEFAULT_TEXLEVEL, alpha = 1, blendmode = "BLEND", disableOverrides = false },
roleIcon = { type = "Texture", width = 13, height = 13, point = "BOTTOMLEFT", x = -8, y = -8, texture = nil, rotation = 0, zorder = 6-DEFAULT_TEXLEVEL, alpha = 1, blendmode = "BLEND", disableOverrides = false },
raidTargetIcon = { type = "Texture", width = 20, height = 20, point = "TOPLEFT", x = -10, y = 10, texture = nil, rotation = 0, zorder = 16-DEFAULT_TEXLEVEL, alpha = 0.3, blendmode = "BLEND", disableOverrides = false },
healfeedback = { type = "Texture", width = 16, height = 30, point = "TOPRIGHT", x = 0, y = 0, texture = "Interface\\AddOns\\Aptechka\\corner", rotation = 270, zorder = 7-DEFAULT_TEXLEVEL, alpha = 1, blendmode = "BLEND", disableOverrides = true },
debuffHighlight = { type = "Texture", width = 12, height = 15, point = "TOPLEFT", x = 0, y = 0, texture = "Interface\\AddOns\\Aptechka\\corner", rotation = 180, zorder = 13-DEFAULT_TEXLEVEL, alpha = 1, blendmode = "BLEND", disableOverrides = true },
CCList = { type = "TextArray", point="BOTTOMLEFT", width = 60, height = 12, x=0, y=-15, zorder = 0, font = config.defaultFont, textsize = 10, effect = "NONE", bg = true, bgAlpha = 0.7, padding = 1.5, growth = "DOWN", max = 4, justify = "LEFT" },
EnemyCounter = { type = "Text", point="TOPLEFT", width = 20, height = 15, x=19, y=6, zorder=0, font = config.defaultFont, textsize = 13, effect = "OUTLINE", bg = false, bgAlpha = 0.5, padding = 0, justify = "CENTER" },
}
-- default priority is 80
local RangeCheckBySpell = helpers.RangeCheckBySpell
helpers.BuffGainTypes = {
AURA = { events = set("SPELL_AURA_APPLIED", "SPELL_AURA_REFRESH"), target = "DST", scale = 1 },
CAST = { events = set("SPELL_CAST_SUCCESS"), target = "SRC", scale = 1 },
HEAL = { events = set("SPELL_HEAL"), target = "DST", scale = 1 },
POTION = { events = set("SPELL_HEAL"), target = "DST", scale = 1.2, forceIcon = 3447 }, -- 3447 - Healing Potion SPELL
}
config.templates = {
TankCD = { assignto = set("icon"), infoType = "DURATION", priority = 94, color = { 1, 0.2, 1}, refreshTime = 2 },
SurvivalCD = { assignto = set("buffIcons"), infoType = "DURATION", priority = 90, color = { 0.4, 1, 0.4} },
AreaDR = { assignto = set("buffIcons"), infoType = "DURATION", priority = 89, color = { 0.4, 1, 0.4} },
ActiveMitigation = { assignto = set("mitigation"), infoType = "DURATION", color = {0.7, 0.7, 0.7}, priority = 80 },
HealTrace = { assignto = set("healfeedback"), color = { 1, 0.7, 0.35}, fade = 0.7, priority = 96 },
}
config.allowedPowerTypes = {
MANA = true,
}
config.allowedPowerTypesTank = {
RAGE = true,
PAIN = true,
RUNIC_POWER = true,
}
config.allowedPowerTypesDamage = {
INSANITY = true,
RAGE = true,
RUNIC_POWER = true,
FURY = true,
ENERGY = true,
FOCUS = true,
LUNAR_POWER = true,
MAELSTROM = true,
}
local isMainline = WOW_PROJECT_ID == WOW_PROJECT_MAINLINE
if not isMainline then return end
-- DUNGEON MECHANICS
AG{ id = 324092, template = "AreaDR" } -- Sanguine Depths, Shining Radiance (Naaru thing)
-- ESSENCES
-- AG{ id = 296094, template = "TankCD" } --Standstill (Artifice of Time)
-- AG{ id = 296230, template = "SurvivalCD" } --Vitality Conduit
-- ACTIVE MITIGATION
AG{ id = 132404, template = "ActiveMitigation" } -- Shield Block
AG{ id = 132403, template = "ActiveMitigation" } -- Shield of the Righteousness
AG{ id = 203819, template = "ActiveMitigation" } -- Demon Spikes
AG{ id = 192081, template = "ActiveMitigation" } -- Ironfur
-- COVENANT
-- AG{ id = 330749, template = "SurvivalCD" } -- Phial of Serenity (Patience, overtime soulbind trait from pelagos)
-- MONK
AG{ id = 122783, template = "SurvivalCD" } -- Diffuse Magic
AG{ id = 122278, template = "SurvivalCD" } -- Dampen Harm
AG{ id = 132578, template = "SurvivalCD" } -- Invoke Niuzao
AG{ id = 243435, template = "SurvivalCD", priority = 91 } -- Fortifying Brew (Mistweaver/Windwalker)
AG{ id = 125174, template = "SurvivalCD", priority = 91 } -- Touch of Karma
AG{ id = 115176, template = "TankCD" } -- Zen Meditation
AG{ id = 116849, template = "SurvivalCD", priority = 88 } --Life Cocoon
AG{ id = 120954, template = "TankCD" } --Fortifying Brew (Brewmaster)
-- Spell( 209584 ,{ name = "Zen Focus Tea", color = colors.LBLUE, shine = true, group = "buffs", duration = 5 })
-- WARRIOR
AG{ id = 184364, template = "SurvivalCD" } -- Enraged Regeneration
AG{ id = 118038, template = "SurvivalCD" } -- Die by the Sword
AG{ id = 12975, template = "SurvivalCD" } --Last Stand
AG{ id = 871, template = "TankCD" } --Shield Wall 40%
AG{ id = 107574, template = "SurvivalCD", priority = 85 } --Avatar
AG{ id = 23920, template = "SurvivalCD", priority = 85 } --Spell Reflect
-- DEMON HUNTER
AG{ id = 212800, template = "SurvivalCD" } -- Blur
AG{ id = 187827, template = "SurvivalCD" } -- Vengeance Meta
AG{ id = 209426, template = "AreaDR" } -- Darkness
-- ROGUE
AG{ id = 185311, template = "SurvivalCD" } -- Crimson Vial
-- AG{ id = 1784, template = "SurvivalCD" } -- Stealh
AG{ id = 11327, template = "SurvivalCD" } -- Vanish
AG{ id = 5277, template = "SurvivalCD" } -- Evasion
AG{ id = 1966, template = "SurvivalCD" } -- Feint
AG{ id = 31224, template = "SurvivalCD", priority = 91 } -- Cloak of Shadows
AG{ id = 45182, template = "TankCD" } -- Cheating Death
-- WARLOCK
AG{ id = 104773, template = "SurvivalCD" } -- Unending Resolve
AG{ id = 132413, template = "SurvivalCD" } -- Shadow Bulwark
-- DRUID
-- local druidColor = { RAID_CLASS_COLORS.DRUID:GetRGB() }
AG{ id = 2812, template = "SurvivalCD" } -- Barkskin, Barkskin (SoD)
AG{ id = 102342, template = "TankCD", priority = 93 } --Ironbark
AG{ id = 61336, template = "TankCD" } --Survival Instincts 50% (Feral & Guardian)
AG{ id = 236696, template = "SurvivalCD" } -- Thorns
-- PRIEST
AG{ id = 19236, template = "SurvivalCD" } -- Desperate Prayer
AG{ id = 15286, template = "SurvivalCD" } -- Vampiric Embrace
AG{ id = 586, template = "SurvivalCD" } -- Fade
AG{ id = 47585, template = "SurvivalCD" } -- Dispersion
AG{ id = 47788, template = "TankCD", priority = 90 } --Guardian Spirit
AG{ id = 33206, template = "TankCD", priority = 93 } --Pain Suppression
AG{ id = 81782, template = "AreaDR" } -- Power Word: Barrier
-----
AG{ id = 213610, template = "SurvivalCD" } -- Holy Ward (PVP)
AG{ id = 289655, template = "SurvivalCD" } -- Holy Word: Concentration
AG{ id = 213602, template = "TankCD" } -- Greater Fade
AG{ id = 329543, template = "TankCD" } -- Divine Ascension
-- PALADIN
AG{ id = 642, template = "TankCD", priority = 95 } -- Divine Shield
AG{ id = 1022, template = "SurvivalCD" } -- Blessing of Protection
AG{ id = 204018, template = "SurvivalCD" } -- Blessing of Spellwarding
AG{ id = 1044, template = "SurvivalCD" } -- Blessing of Freedom
AG{ id = 184662, template = "SurvivalCD" } -- Shield of Vengeance
AG{ id = 205191, template = "SurvivalCD" } -- Eye for an Eye
AG{ id = 498, template = "SurvivalCD" } -- Divine Protection
AG{ id = 6940, template = "SurvivalCD" } -- Blessing of Sacrifice
AG{ id = 31850, template = "SurvivalCD", priority = 88 } --Ardent Defender
AG{ id = 86659, template = "TankCD" } --Guardian of Ancient Kings 50%
-- AG{ id = 204150, template = "TankCD", priority = 85 } -- Aegis of Light
-- Guardian of the Forgotten Queen - Divine Shield (PvP)
AG{ id = 228050, template = "TankCD", priority = 97 }
-- DEATH KNIGHT
AG{ id = 194679, template = "SurvivalCD" } -- Rune Tap
AG{ id = 55233, template = "TankCD", priority = 94 } --Vampiric Blood
AG{ id = 48792, template = "TankCD", priority = 94 } --Icebound Fortitude 50%
AG{ id = 81256, template = "SurvivalCD" } -- Dancing Rune Weapon
AG{ id = 145629, template = "AreaDR" } -- Anti-Magic Zone
AG{ id = 48707, template = "SurvivalCD" } -- Anti-Magic Shell
-- MAGE
-- AG{ id = 190319, template = "SurvivalCD" } -- Combustion
AG{ id = 113862, template = "SurvivalCD" } -- Arcane Greater Invisibility
AG{ id = 45438, template = "TankCD" } -- Ice Block
AG{ id = { 110909, 342246 }, template = "SurvivalCD" } -- Alter Time
-- HUNTER
AG{ id = 186265, template = "SurvivalCD" } -- Aspect of the Turtle
AG{ id = 264735, template = "SurvivalCD" } -- Survival of the Fittest
-- AG{ id = 53480, template = "SurvivalCD" } -- Roar of Sacrifice (PVP)
-- SHAMAN
AG{ id = 108271, template = "SurvivalCD" } -- Astral Shift
AG{ id = 325174, template = "AreaDR" } -- Spirit Link Totem
AG{ id = 204293, template = "SurvivalCD" } -- Spirit Link (PvP)
-- AG{ id = 207498, template = "AreaDR", priority = 60 } -- Ancestral Protection Totem
-- AG{ id = 210918, template = "SurvivalCD" } -- Ethereal Form
-- EVOKER
AG{ id = 363916, template = "SurvivalCD" } -- Obsidian Scales
AG{ id = 406732, template = "SurvivalCD" } -- Spatial Paradox (Move Cast)
AG{ id = 374348, template = "SurvivalCD" } -- Renewing Blaze
AG{ id = 370960, template = "SurvivalCD" } -- Emerald Communion
AG{ id = 357170, template = "SurvivalCD" } -- Time Dilation
-- Stealth, Prowl, Camo, Shadowmeld
AG{ id = {1784, 5215, 199483, 58984}, assignto = set("text2"), color = {0.2, 1, 0.3}, text = "STEALTH", priority = 20 }
-- Feign Death
AG{ id = 5384, assignto = set("text2"), color = {0, 0.7, 1}, text = "FD", global = true, priority = 75 }
AG{ id = {
430, 431, 432, 1133, 1135, 1137, 22734, 24355, 29007, 26473, 26261, -- Classic water
34291, 43183, 43182, -- BC & WotLK water
80166, 80167, 105232, 118358, -- Cata water
104262, 104269, -- MoP water
172786, -- WoD water
225738, 192001, -- Legion water
274914, -- BfA water
314646, -- Shadowlands water
167152, -- Mage Food
170906, 192002, 195472, 225743, 251232, 257427, 257428, 272819, 279739, 297098, -- Food & Drink
308429, 308433, 327786, 340109, 348436,-- Shadowlands Food & Drink
}, assignto = set("text2"), color = {0.7, 0.7, 1}, text = "DRINKING", priority = 30 }
if playerClass == "PRIEST" then
-- Power Word: Fortitude
A{ id = 21562, type = "HELPFUL", assignto = set("raidbuff"), color = { 1, 1, 1}, priority = 50, isMissing = true, isKnownCheck = function() return IsPlayerSpell(21562) end}
--Renew
A{ id = 139, type = "HELPFUL", assignto = set("bars"), refreshTime = 15*0.3, priority = 50, color = { 0, 1, 0}, infoType = "DURATION", isMine = true, pandemicTime = 4.5 }
--Power Word: Shield
A{ id = 17, type = "HELPFUL", assignto = set("bars"), priority = 90, isMine = true, color = { 1, .85, 0}, infoType = "DURATION" }
-- Weakened Soul
A{ id = 6788, type = "HELPFUL", assignto = set("bars"), priority = 70, scale = 0.5, color = { 0.8, 0, 0}, infoType = "DURATION", isMine = true }
--Prayer of Mending
A{ id = 41635, type = "HELPFUL", assignto = set("bar4"), priority = 70, isMine = true, color = { 1, 0, 102/255 }, maxCount = 5, infoType = "COUNT" }
--Atonement, Trinity Atonement
A{ id = { 194384, 214206 },type = "HELPFUL", assignto = set("bar4"), extend_below = 15, color = { 1, .3, .3}, infoType = "DURATION", isMine = true}
--Luminous Barrier
A{ id = 271466,type = "HELPFUL", assignto = set("bars"), priority = 70, color = { 1, .65, 0}, infoType = "DURATION", isMine = true}
-- Penance
Trace{id = 47750, template = "HealTrace", color = { 52/255, 172/255, 114/255 } }
-- Circle of Healing
Trace{id = 204883, template = "HealTrace", color = { 1, 0.7, 0.35} }
-- Holy Word: Sanctify
Trace{id = 34861, template = "HealTrace", color = { 1, 0.7, 0.35} }
-- Prayer of Healing
Trace{id = 596, template = "HealTrace", color = { .5, .5, 1} }
-- Prayer of Mending
Trace{id = 33110, template = "HealTrace", color = { 1, 0.3, 0.55 }, fade = 0.5, priority = 95 }
-- Flash Heal
Trace{id = 2061, template = "HealTrace", color = { 0.6, 1, 0.6} }
-- Binding Heal
Trace{id = 32546, template = "HealTrace", color = { 0.7, 1, 0.7} }
-- Trail of Light
Trace{id = 234946, template = "HealTrace", color = { 1, 0.7, 0.35} }
-- Shadowmend
Trace{id = 186263, template = "HealTrace", color = { 0.8, 0.35, 0.7} }
config.UnitInRangeFunctions = {
RangeCheckBySpell(17), -- Disc: PWS
RangeCheckBySpell(17), -- Holy: PWS
RangeCheckBySpell(17), -- Shadow: PWS
}
config.DispelBitmasks = {
DispelTypes("Magic", "Disease"),
DispelTypes("Magic", "Disease"),
DispelTypes("Disease")
}
end
if playerClass == "MONK" then
--Renewing Mist
A{ id = 119611, type = "HELPFUL", assignto = set("bar4"), refreshTime = 20*0.3, extend_below = 20, isMine = true, color = {38/255, 221/255, 163/255}, infoType = "DURATION" }
--Enveloping Mist
A{ id = 124682, type = "HELPFUL", assignto = set("bars"), refreshTime = 6*0.3, isMine = true, infoType = "DURATION", color = { 1,1,0 }, priority = 75 }
--Soothing Mist
A{ id = 115175, type = "HELPFUL", assignto = set("bars"), isMine = true, infoType = "DURATION", color = { 0, .8, 0}, priority = 80 }
--Bonedust Brew
A{ id = 386276, type = "HELPFUL", assignto = set("bars"), isMine = true, infoType = "DURATION", color = { 0.3, 0.35, 0.5}, scale = 0.8, priority = 80 }
--Statue's Soothing Mist
-- A{ id = 198533, type = "HELPFUL", name = "Statue Mist", assignto = set("spell3"), isMine = true, color = { 0.4, 1, 0.4}, priority = 50 }
--Essence Font
A{ id = { 191840, 344006 }, type = "HELPFUL", assignto = set("bars"), priority = 50, color = {0.5,0.7,1}, infoType = "DURATION", isMine = true }
Trace{id = 116670, template = "HealTrace", color = {38/255, 221/255, 163/255} } -- Vivify
Trace{id = 343819, template = "HealTrace", color = { 1, 0.3, 0.55} } -- Gust of Mists
-- A{ id = 157627, type = "HELPFUL", assignto = set("bar2"), infoType = "DURATION", color = {1, 1, 0}, priority = 95 } --Breath of the Serpent
-- Dome of Mist
A{ id = 205655, type = "HELPFUL", assignto = set("buffIcons"), infoType = "DURATION", priority = 97 }
--Surging Mist Buff (PvP)
A{ id = 227344, type = "HELPFUL", assignto = set("raidbuff"), priority = 50, stackcolor = {
[1] = {16/255, 110/255, 81/255},
[2] = {38/255, 221/255, 163/255},
}, infoType = "DURATION", isMine = true }
config.UnitInRangeFunctions = {
RangeCheckBySpell(116670), -- Vivify
RangeCheckBySpell(116670),
RangeCheckBySpell(116670),
}
config.DispelBitmasks = {
DispelTypes("Disease", "Poison"),
DispelTypes("Magic", "Disease", "Poison"),
DispelTypes("Disease", "Poison"),
}
end
if playerClass == "WARLOCK" then
A{ id = 20707, type = "HELPFUL", assignto = set("raidbuff"), color = { 180/255, 0, 1 }, priority = 81 } --Soulstone Resurrection
config.DispelBitmasks = {
DispelTypes("Magic"),
DispelTypes(),
DispelTypes("Magic"),
}
end
if playerClass == "PALADIN" then
--Glimmer of Light
A{ id = 287280,type = "HELPFUL", assignto = set("bars"), color = { 1, .3, .3}, infoType = "DURATION", isMine = true}
-- Barrier of FAith
A{ id = 148039, type = "HELPFUL", assignto = set("bars"), color = { 1, 0.7, 0}, infoType = "DURATION", isMine = true}
-- A{ id = { 328282, 328620, 328622, 328281 }, type = "HELPFUL", assignto = set("bars"), infoType = "DURATION", isMine = true, color = { 0.4 , 0.4, 1} } -- Blessing of Seasons
A{ id = { 388007, 388010, 388011, 388013 }, type = "HELPFUL", priority = 50, assignto = set("bars"), infoType = "DURATION", isMine = true, color = { 0.4 , 0.4, 1} } -- Blessing of Seasons
--Tyr's Deliverance
A{ id = 200654, type = "HELPFUL", assignto = set("spell3"), color = { 1, .8, 0}, priority = 70, infoType = "DURATION", isMine = true }
--Bestow Faith
A{ id = 223306, type = "HELPFUL", assignto = set("bars"), infoType = "DURATION", isMine = true, color = { 1 , .9, 0} }
-- Forbearance
A{ id = 25771, type = "HARMFUL", assignto = set("bars"), infoType = "DURATION", isMine = true, color = { 0.8, 0, 0 } }
-- Beacon of Virtue
A{ id = 200025, type = "HELPFUL", assignto = set("bar4"), infoType = "DURATION", isMine = true, color = { 0,.9,0 } }
A{ id = 53563, type = "HELPFUL", assignto = set("bar4"), infoType = "DURATION",
isMine = true,
color = { 0,.9,0 },
foreigncolor = { 0.96/2, 0.55/2, 0.73/2 },
} -- Beacon of Light
A{ id = 156910, type = "HELPFUL", assignto = set("bar4"), infoType = "DURATION",
isMine = true,
color = { 1,.7,0 },
foreigncolor = { 0.96/2, 0.55/2, 0.73/2 },
} -- Beacon of Faith
A{ id = 465, type = "HELPFUL", assignto = set("raidbuff"), priority = 40, isMine = true, color = { .4, .4, 1} } --Devotion Aura
Trace{id = 225311, template = "HealTrace", color = { 1, 0.7, 0.2} } -- Light of Dawn
-- Flash of Light
Trace{id = 19750, template = "HealTrace", color = { 0.6, 1, 0.6} }
-- Holy Light
Trace{id = 82326, template = "HealTrace", color = { 1, 0.3, 0.55 } }
-- Light of the Martyr
Trace{id = 183998, template = "HealTrace", color = { 1, 0.3, 0.55 } }
-- Holy Shock
Trace{id = 25914, template = "HealTrace", color = { 1, 0.6, 0.3 } }
-- Word of Glory
Trace{id = 85673, template = "HealTrace", color = { 1, 0.7, 0.1 } }
config.UnitInRangeFunctions = {
RangeCheckBySpell(19750), -- Flash of Light
RangeCheckBySpell(19750),
RangeCheckBySpell(19750),
}
config.DispelBitmasks = {
DispelTypes("Magic", "Disease", "Poison"),
DispelTypes("Disease", "Poison"),
DispelTypes("Disease", "Poison"),
}
end
if playerClass == "SHAMAN" then
-- config.useCombatLogFiltering = false -- Earth Shield got problems with combat log
A{ id = 61295, type = "HELPFUL", assignto = set("bars"), infoType = "DURATION", scale = 1.3, refreshTime = 5.4, refreshColor = { 1, 0.1, 0.1}, isMine = true, color = { 0.4 , 0.4, 1} } --Riptide
A{ id = 974, type = "HELPFUL", assignto = set("bar4"), infoType = "COUNT", maxCount = 9, isMine = true, color = {0.2, 1, 0.2}, foreigncolor = {0, 0.5, 0} }
-- stackcolor = {
-- [1] = { 0,.4, 0},
-- [2] = { 0,.5, 0},
-- [3] = { 0,.6, 0},
-- [4] = { 0,.7, 0},
-- [5] = { 0,.8, 0},
-- [6] = { 0, 0.9, 0},
-- [7] = {.1, 1, .1},
-- [8] = {.2, 1, .2},
-- [9] = {.4, 1, .4},
-- },
--, } --Earth Shield
-- Surge of Earth
Trace{id = 320747, template = "HealTrace", color = { 0.8, 0.4, 0.1} }
-- Downpour
Trace{id = 207778, template = "HealTrace", color = { 0.4, 0.4, 1} }
Trace{id = 77472, template = "HealTrace", color = { 0.5, 1, 0.4 } } -- Healing Wave
Trace{id = 8004, template = "HealTrace", color = { 0.5, 1, 0.4 } } -- Healing Surge
Trace{id = 1064, template = "HealTrace", color = { 0.9, 0.7, 0.1} } -- Chain Heal
--Trace{id = 73921, type = "HEAL", assignto = set("spell3"), color = { 0.6, 0.6, 1}, fade = 0.4, priority = 95 } -- Healing Rain
config.UnitInRangeFunctions = {
RangeCheckBySpell(8004), -- Healing Surge
RangeCheckBySpell(8004), -- Enh Healing Surge
RangeCheckBySpell(8004),
}
local DynamicDispelTypes = function(...)
if IsPlayerSpell(383013) then -- Poison Cleansing Totem
return DispelTypes("Poison", ...)
end
return DispelTypes(...)
end
config.DispelBitmasks = {
DynamicDispelTypes("Curse", "Poison"),
DynamicDispelTypes("Curse", "Poison"),
DynamicDispelTypes("Magic", "Curse", "Poison"),
}
end
if playerClass == "HUNTER" then
A{ id = 136, template = "SurvivalCD" } -- Mend Pet
end
if playerClass == "DRUID" then
A{ id = 1126, type = "HELPFUL", assignto = set("raidbuff"), color = { 235/255 , 145/255, 199/255}, isMissing = true } --Mark of the Wild
-- A{ id = 327037, type = "HELPFUL", assignto = set("bars"), infoType = "DURATION", isMine = true, color = { 0.4 , 0.4, 1} } -- Kindred Protection
-- A{ id = 327071, type = "HELPFUL", assignto = set("bars"), infoType = "DURATION", isMine = true, color = { 0.4 , 0.4, 1} } -- Kindred Focus
-- A{ id = 327022, type = "HELPFUL", assignto = set("bars"), infoType = "DURATION", isMine = true, color = { 0.4 , 0.4, 1} } -- Kindred Empowerment
-- Adaptive Swarm
A{ id = 391891, type = "HELPFUL", assignto = set("bars"), infoType = "DURATION", isMine = true, color = { 0.4 , 0.4, 1} }
-- Tranquility
--[[
A{ id = 157982, type = "HELPFUL", assignto = set("mitigation"), priority = 60, isMine = true, stackcolor = {
[1] = { 1, 0, 0},
[2] = { 1, 0, 102/255},
[3] = { 1, 0, 190/255},
[4] = { 204/255, 0, 1},
[5] = { 108/255, 0, 1},
[6] = { 148/255, 0, 1},
[7] = { 148/255, 0, 1},
}, infoType = "COUNT"}
]]
-- Cenarion Ward
A{ id = 102351, type = "HELPFUL", assignto = set("bars"), priority = 55, scale = 0.75, color = { 0, 0.5, 0.7 }, isMine = true }
-- Cenarion Ward effect
A{ id = 102352, type = "HELPFUL", assignto = set("bars"), priority = 55, scale = 0.8, color = { 0, 0.7, 0.9 }, isMine = true }
-- Rejuvenation
A{ id = 774, type = "HELPFUL", assignto = set("bars"), extend_below = 15, scale = 1.25, refreshTime = 4.5, priority = 90, color = { 1, 0.2, 1}, refreshColor = { 1, 0.1, 0.1}, foreigncolor = { 0.4, 0, 0.4 }, infoType = "DURATION", isMine = true }
-- Germination
A{ id = 155777,type = "HELPFUL", assignto = set("bars"), extend_below = 15, scale = 1, refreshTime = 4.5, priority = 80, color = { 1, 0.4, 1}, refreshColor = { 1, 0.1, 0.1}, foreigncolor = { 0.4, 0.1, 0.4 }, infoType = "DURATION", isMine = true }
-- Lifebloom
-- 188550 -- dark titan's lesson legendary
A{ id = { 33763, 188550 } , type = "HELPFUL", assignto = set("bar4"), extend_below = 14, refreshTime = 4.5, refreshColor = { 1, 0.6, 0.2}, priority = 60, infoType = "DURATION", isMine = true, color = { 0.2, 1, 0.2}, }
-- Lifebloom PVP Talent Focused Growth
A{ id = 203554, type = "HELPFUL", assignto = set("bar4text"), priority = 60, infoType = "COUNT", isMine = true, color = { 0.2, 1, 0.2}, }
-- Regrowth
A{ id = 8936, type = "HELPFUL", assignto = set("bars"), isMine = true, scale = 0.5, color = { 0, 0.8, 0.2},priority = 50, infoType = "DURATION" }
-- Wild Growth
A{ id = 48438, type = "HELPFUL", assignto = set("bars"), color = { 0, 0.9, 0.7}, priority = 60, infoType = "DURATION", isMine = true }
Trace{id = 8936, template = "HealTrace", color = { 0, 0.8, 0.2 } } -- Regrowth
Trace{id = 50464, template = "HealTrace", color = { 0.6, 0.2, 0.4 } } -- Nourish
config.UnitInRangeFunctions = {
RangeCheckBySpell(8936),
RangeCheckBySpell(8936),
RangeCheckBySpell(8936),
RangeCheckBySpell(8936),
}
config.DispelBitmasks = {
DispelTypes("Curse", "Poison"),
DispelTypes("Curse", "Poison"),
DispelTypes("Curse", "Poison"),
DispelTypes("Magic", "Curse", "Poison"),
}
end
if playerClass == "EVOKER" then
-- Blessing of the Bronze
A{ id = { 381748, 381732, 381741, 381746, 381749, 381750, 381751, 381752, 381753, 381754, 381756, 381757, 381758 }, type = "HELPFUL", assignto = set("raidbuff"), color = { 1, 0.6, 0}, priority = 50, isMissing = true }
-- Lifebind talent
A{ id = 373267, type = "HELPFUL", assignto = set("bars" ), scale = 0.8, color = { 1, 0, 0.4}, priority = 30, infoType = "DURATION", isMine = true }
-- Reversion
A{ id = 366155, type = "HELPFUL", assignto = set("bars"), scale = 1.25, refreshTime = 3.6, priority = 90, color = { 1, 0.9, 0.2}, refreshColor = { 1, 0.1, 0.1}, foreigncolor = { 0.4, 0, 0.4 }, infoType = "DURATION", isMine = true }
-- Echo'd Reversion
A{ id = 367364, type = "HELPFUL", assignto = set("bars"), name = "Echo Reversion", scale = 0.75, refreshTime = 3.6, priority = 89.5, color = { 1, 0.9, 0.2}, refreshColor = { 1, 0.1, 0.1}, foreigncolor = { 0.4, 0, 0.4 }, infoType = "DURATION", isMine = true }
-- Dream Breath
A{ id = 355941, type = "HELPFUL", assignto = set("bars"), color = { 0, 0.9, 0.7}, priority = 60, infoType = "DURATION", isMine = true }
-- Dream Flight
A{ id = 363502, type = "HELPFUL", assignto = set("bars"), priority = 50, color = { 0, 1, 0}, infoType = "DURATION", isMine = true }
Trace{id = 363502, template = "HealTrace", color = { 0, 0.8, 0.2 } }
-- Echo
A{ id = 364343, type = "HELPFUL", assignto = set("bar4"), priority = 55, scale = 1, color = { 1, 0.55, 0 }, infoType = "DURATION", isMine = true }
Trace{id = 367231, template = "HealTrace", color = {38/255, 221/255, 163/255} } -- Spiritbloom
Trace{id = 355916, template = "HealTrace", color = { 1, 0.3, 0.55} } -- Emerald Blossom
-- Ebon Might
A{ id = { 395296 }, type = "HELPFUL", assignto = set("bars"), extend_below = 10, infoType = "DURATION", isMine = true, color = { 1, .3, .3}, priority = 90 }
-- Prescience
A{ id = { 410089 }, type = "HELPFUL", assignto = set("bars"), color = { 1, .3, .3}, infoType = "DURATION", isMine = true, priority = 80 }
-- Blistering Scales
A{ id = { 360827 }, type = "HELPFUL", assignto = set("bar4"), color = { 0.6, 0.6, 0.4}, infoType = "DURATION", isMine = true, priority = 82 }
config.UnitInRangeFunctions = {
RangeCheckBySpell(361469),
RangeCheckBySpell(361469),
RangeCheckBySpell(361469),
}
config.DispelBitmasks = {
DispelTypes("Poison"),
DispelTypes("Magic", "Poison", "Curse", "Disease"),
}
end
if playerClass == "WARRIOR" then
-- Battle Shout
A{ id = 6673, type = "HELPFUL", assignto = set("raidbuff"), color = { 1, .4 , .4}, priority = 50, isMissing = true, isKnownCheck = function() return IsPlayerSpell(6673) end}
end
if playerClass == "MAGE" then
-- Focus Magic
A{ id = 321358, type = "HELPFUL", assignto = set("bars"), color = { 206/255, 4/256, 56/256 }, priority = 50, isMine = true} --Arcane Intellect
A{ id = 1459, type = "HELPFUL", assignto = set("raidbuff"), color = { .4 , .4, 1}, priority = 50, isMissing = true, isKnownCheck = function() return IsPlayerSpell(1459) end} --Arcane Intellect
-- A{ id = 61316, type = "HELPFUL", assignto = set("spell2"), color = { .4 , .4, 1}, priority = 50 } --Dalaran Intellect
-- A{ id = 54648, type = "HELPFUL", assignto = set("spell2"), color = { 180/255, 0, 1 }, priority = 60, isMine = true } --Focus Magic
config.DispelBitmasks = {
DispelTypes("Curse"),
DispelTypes("Curse"),
DispelTypes("Curse"),
}
end
-- if not isHealer or playerClass == "PALADIN" then
-- config.redirectPowerBar = "spell1"
-- end
config.autoload = {
"HealingReduction",
"TankCooldowns"
}
-------------------------
-- Debuff Highlights
-------------------------
-- To find out current zone map id type: /dump C_Map.GetBestMapForUnit("player")
-- OR
-- Open dungeon in Encounter Journal and type: /dump EJ_GetInstanceInfo(), 7th return value will be the mapID
-- Getting Spell IDs from Encounter Journal:
-- Mouseover the spell and use this macro /dump GetMouseFocus():GetParent().spellID
config.MapIDs = {
[147] = "Ulduar",
-- This table used to be map IDs, but now it's just used to content relevance sorting
[934] = "Atal'Dazar",
[936] = "Freehold",
[974] = "Tol Dagor",
[1004] = "Kings Rest",
[1010] = "The MOTHERLODE!!",
[1015] = "Waycrest Manor",
[1038] = "Temple of Sethraliss",
[1039] = "Shrine of the Storm",
[1041] = "The Underrot",
[1162] = "Siege of Boralus",
[1148] = "Uldir",
[1469] = "Horrific Visions", -- Orgrimmar
[1470] = "Horrific Visions", -- Stormwind
[1490] = "Operation: Mechagon",
[1580] = "Ny'alotha", -- Wrathion room
[1581] = "Ny'alotha",
[1600] = "Mythic+ 8.3",
[1660] = "Castle Nathria",
[1661] = "Sanctum of Domination",
[1663] = "Halls of Atonement",
[1666] = "The Necrotic Wake",
[1669] = "Mists of Tirna Scithe",
[1674] = "Plaguefall",
[1675] = "Sanguine Depths",
[1679] = "De Other Side",
[1683] = "Theater of Pain",
[1693] = "Spires of Ascension",
[1698] = "Tazavesh",
[1700] = "Iron Docks",
[1701] = "Grimrail Depot",
[1900] = "PvP",
[2000] = "Sepulcher of the First Ones",
[2101] = "Halls of Infusion",
[2102] = "Algeth'ar Academy",
[2103] = "Brackenhide Hollow",
[2104] = "Neltharus",
[2105] = "Ruby Life Pools",
[2106] = "The Nokhud Offensive",
[2107] = "Uldaman",
[2108] = "The Azure Vault",
[2109] = "Vault of the Incarnates",
[704] = "Halls of Valor",
[706] = "Maw of Souls",
[731] = "Neltharion's Lair",
[733] = "Darkheart Thicket",
[751] = "Black Rook Hold",
[770] = "Return to Karazhan: Lower",
[771] = "Return to Karazhan: Upper",
}
-- Getting Spell IDs from Encounter Journal:
-- Mouseover the spell and use this macro /dump GetMouseFocus():GetParent().spellID
config.defaultDebuffHighlights = {
["PvP"] = {
[207736] = { 207736, 3, "Shadowy Duel" },
[212183] = { 212183, 3, "Smoke Bomb" },
[33786] = { 33786, 3, "Cyclone" },
},
-- ["Vault of the Incarnates"] = {
-- },
["Uldaman"] = {
[369365] = { 369365, 1, "Earthen Warder, Curse of Stone" },
[369366] = { 369366, 3, "Earthen Warder, Trapped in Stone" },
},
["The Azure Vault"] = {
[386549] = { 386549, 3, "Arcane Elemental, Waking Bane" },
[384978] = { 384978, 4, "Umbrelskul, Dragon Strike" },
},
["Shadowmoon Burial Grounds"] = {
[152819] = { 152819, 1, "Shadowmoon Bone-Mender, Shadow Word: Frailty" },
},
["Ruby Life Pools"] = {
[372047] = { 372047, 4, "Defiler Draghar, Steel Barrage" },
},
["Return to Karazhan: Lower"] = {
[228239] = { 228239, 3, "Forlorn Spirit, Terrifying Wail" },
-- [227981] = { 227981, 1, "uppercut" },
[227985] = { 227985, 3, "Coggleston, Dent Armor" },
[227917] = { 227917, 3, "Ghostly Understudy, Poetry Slam" },
[228164] = { 228164, 1, "Phantom Crew, Hammer Down" },
[228277] = { 228277, 1, "Undying Servant, Shackles of Servitude" },
[86545] = { 86545, 3, "Reformed Maiden, Seduction" },
[29684] = { 29684, 1, "Phantom Guardsman, Shield Slam" },
[114628] = { 114628, 1, "Skeletal Waiter, Brittle Bones" },
-- [227832] = { 227832, 1, "Moroes, Coat Check" },
[6016] = { 6016, 1, "Spectral Stable Hand, Pierce Armor" },
},
["Return to Karazhan: Upper"] = {
[229693] = { 229693, 1, "Rat, Poison Fang" },
[229159] = { 229159, 1, "Viz'aduum, Chaotic Shadows" },
},
["Iron Docks"] = {
[164837] = { 164837, 4, "Fleshrender Nok'gar, Savage Mauling" },
[164504] = { 164504, 3, "Fleshrender Nok'gar, Intimidated" },
[162415] = { 162415, 4, "Oshir, Time to Feed" },
},
["Grimrail Depot"] = {
[176025] = { 176025, 1, "Grom'kar Cinderseer, Lava Wreath" },
[160681] = { 160681, 1, "Nitrogg Thundertower, Suppressive Fire" },
[162066] = { 162066, 3, "Skylord Tovra, Freezing Snare" },
[163447] = { 163447, 1, "Skylord Tovra, Hunter's Mark" },
},
["Sepulcher of the First Ones"] = {
[366393] = { 366393, 1, "Vigilant Guardian, Searing Ablation" },
[367571] = { 367571, 1, "Vigilant Guardian, Sear" },
[364522] = { 364522, 1, "Skolex, Devouring Blood" },
[364030] = { 364030, 1, "Artificer Xy'mox, Debilitating Ray" },
[360687] = { 360687, 1, "Prototype Pantheon, Runecarver's Deathtouch" },
[364073] = { 364073, 1, "Lihuvim, Degeneration Automa, Degenerate" },
[364031] = { 364031, 3, "Anduin Wrynn, Gloom" },
[366849] = { 366849, 1, "Anduin Wrynn, Domination Word: Pain" },
-- [360012] = { 360012, 1, "Lords of Dread, Cloud of Carrion" },
[360148] = { 360148, 1, "Lords of Dread, Bursting Dread" },
[360241] = { 360241, 1, "Lords of Dread, Unsettling Dreams (Sleep)" },
[362806] = { 362806, 1, "Rygelon, Dark Eclipse" },
[364386] = { 364386, 4, "Rygelon, Gravitational Collapse" },
[365153] = { 365153, 3, "Jailer, Dominating Will" },
[365219] = { 365219, 1, "Jailer, Chains of Anguish" },
-- [25163] = { 25163, 3, "Placeholder Disgusting Oozeling" },
},
["Sanctum of Domination"] = {
[358610] = { 358610, 1, "Eye of the Jailer, Desolation Beam" },
[350388] = { 350388, 1, "The Nine, Sorrowful Procession" },
[350496] = { 350496, 1, "Guardian of the First Ones, Threat Neutralization" },
[350217] = { 350217, 1, "Soulrender Dormazain, Torment" },
[355506] = { 355506, 1, "Painsmith Raznal, Shadowsteel Chains" },
[350568] = { 350568, 2, "Fatescribe Roh-Kalo, Call of Eternity" },
[357686] = { 357686, 2, "Fatescribe Roh-Kalo, Exposed Threads of Fate" },
[347670] = { 347670, 1, "Sylvanas, Shadow Dagger" },
[358433] = { 358433, 2, "Sylvanas, Death Knives" },
[348508] = { 348508, 4, "Painsmith Raznal, Reverberating Hammer" },
[355568] = { 355568, 4, "Painsmith Raznal, Cruciform Axe" },
[355778] = { 355778, 4, "Painsmith Raznal, Dualblade Scythe" },
},
["Castle Nathria"] = {
-- [342077] = { 342077, 1, "Shriekwing, Echolocation" },
[343303] = { 343303, 3, "Shriekwing, Blood Lantern" },
[343024] = { 343024, 2, "Shriekwing, Horrified" },
-- [334971] = { 334971, 1, "Huntsman Altimor, Margore, Jagged Claws" },
[341473] = { 341473, 1, "Kael'thas, Bleakwing Assassin, Crimson Flurry" },
-- [328889] = { 328889, 4, "Kael'thas, Greater Castigation" },
-- [332871] = { 332871, 4, "Kael'thas, Greater Castigation" },
[325236] = { 325236, 4, "Artificer Xy'mox, Glyph of Destruction" },
[326302] = { 326302, 3, "Artificer Xy'mox, Stasis Trap" },
[340860] = { 340860, 1, "Artificer Xy'mox, Withering Touch" },
-- [328468] = { 328468, 2, "Artificer Xy'mox, Displacement Cypher" },
-- [328448] = { 328448, 2, "Artificer Xy'mox, Displacement Cypher" },
[329298] = { 329298, 3, "Hungering Destroyer, Gluttonous Miasma" },
-- [334064] = { 334064, 1, "Hungering Destroyer, Volatile Ejection" },
[340477] = { 340477, 2, "Lady Inerva Darkvein, Highly Concentrated Anima (Mythic)" },
[325382] = { 325382, 1, "Lady Inerva Darkvein, Warped Desires" },
[340452] = { 340452, 3, "Lady Inerva Darkvein, Change of Heart" },
-- [324982] = { 324982, 4, "Lady Inerva Darkvein, Shared Suffering" },
-- [324983] = { 324983, 4, "Lady Inerva Darkvein, Shared Suffering" },
[346651] = { 346651, 4, "Blood Council, Drain Essence" },
-- [331209] = { 331209, 1, "Sludgefist, Hateful Gaze" },
-- [335354] = { 335354, 1, "Sludgefist, Chain Slam" },
-- [334765] = { 334765, 2, "Stone Legion Generals, Kaal, Heart Rend" },
-- [333377] = { 333377, 2, "Stone Legion Generals, Kaal, Wicked Mark" },
[334771] = { 334771, 1, "Stone Legion Generals, Kaal, Heart Hemorrhage" },
[342735] = { 342735, 4, "Stone Legion Generals, Kaal, Ravenous Feast" },
[329951] = { 329951, 2, "Sire Denathrius, Impale" },
[341732] = { 341732, 3, "Sire Denathrius, Searing Censure" },
[332794] = { 332794, 1, "Sire Denathrius, Fatal Finesse" },
[332797] = { 332797, 1, "Sire Denathrius, Fatal Finesse" },
},
["Tazavesh"] = {
[345990] = { 345990, 4, "Zo'phex, Interrogation" },
[349627] = { 349627, 2, "The Grand Menagerie, Gluttony" },
[349934] = { 349934, 4, "The Grand Menagerie, Flagellation Protocol" },
[356031] = { 356031, 3, "Interrogation Specialist, Stasis Beam" },
[355642] = { 355642, 4, "Veteran Sparkcaster, Hyperlight Salvo" },
},
["Halls of Atonement"] = {
[326607] = { 326607, 3, "Stoneborn Reaver, Turn to Stone" },
[322977] = { 322977, 1, "Halkias, Sinlight Visions" },
[325701] = { 325701, 1, "Depraved Collector, Siphon Life" },
},
["Theater of Pain"] = {
[320069] = { 320069, 1, "Dessia the Decapitator, Mortal Strike" },
[323831] = { 323831, 3, "Mordretha, Death Grasp" },
[330608] = { 330608, 2, "Rancid Gasbag, Vile Eruption" },
[341949] = { 341949, 1, "Blighted Sludge-Spewer, Withering Blight from Withering Discharge" },
-- [319626] = { 319626, 1, "Kul'tharok, Phantasmal Parasite" },
[319539] = { 319539, 2, "Kul'tharok, Soulless" },
},
["Spires of Ascension"] = {
[323744] = { 323744, 1, "Forsworn Stealthclaw, Pounce" },
[324154] = { 324154, 1, "Ventunax, Dark Stride" },
},
["Sanguine Depths"] = {
[322554] = { 322554, 4, "Executor Tarvold, Castigate" },
[326836] = { 326836, 3, "Oppressor/Overseer, Curse of Suppression (Silence)" },
[336277] = { 336277, 2, "Remnant of Fury, Explosive Anger" },
},
["The Necrotic Wake"] = {
-- 320596/heaving-retch -- Blightbone dot
-- 320462 -- Necrotic bolt debuff, blacklist?
-- [323198] = { 323198, 1, "Nalthor, Dark Exile" },
[334748] = { 334748, 3, "Corpse Harvester, Drain Fluids" },
[338606] = { 338606, 1, "Separation Assistant, Morbid Fixation" },
[343556] = { 343556, 1, "Surgeon Stitchflesh, Morbid Fixation" },
},
["Plaguefall"] = {
[329110] = { 329110, 1, "Docktor Ickus, Slime Injection" },
[325552] = { 325552, 1, "Domina Venomblade, Cryotoxic Slash" },
},
["Mists of Tirna Scithe"] = {
-- [322563] = { 322563, 1, "Tred'ova, Marked Prey" },
-- [337253] = { 337253, 1, "Tred'ova, Parasitic Domination MC" },
[322557] = { 322557, 2, "Drust Soulcleaver, Soul Split" },
[321968] = { 321968, 1, "Tirnenn Villager, Bewildering Pollen" },
-- [322486] = { 322486, 1, "Tirnenn Villager, Overgrowth" },
[322487] = { 322487, 1, "Tirnenn Villager, Overgrowth Stun" },
[323137] = { 321968, 1, "Droman Oulfarran, Bewildering Pollen" },
[321891] = { 321891, 1, "Mistcaller Vulpin, Freeze Tag Fixation" },
-- 325224 -- Mistveil Stinger, Anima Injection, If Anima Injection expires, Anima Detonation is triggered.
},
["De Other Side"] = {
[332605] = { 332605, 1, "Atal'ai Hoodoo Hexxer, Hex" },
[334505] = { 334505, 3, "Shimmerdust Sleep" },
},
-- ["Mythic+ 8.3"] = {
-- [314308] = { 314308, 1, "Spirit Breaker, increase all damage taken by 100% for 8 sec." },
-- },
["Horrific Visions"] = {
[306965] = { 306965, 1, "Madness: Dark Delusions Stun" },
[306545] = { 306545, 2, "Madness: Haunting Shadows Fear" },
[316510] = { 316510, 2, "Madness: Split Personality Disorient" },
[298033] = { 298033, 1, "K'thir Dominator and SI:7 Informant, Touch of the Abyss" },
[300530] = { 300530, 1, "K'thir Mindcarver, Mind Carver" },
[298514] = { 298514, 1, "Aqiri Mind Toxin Stun" },
-- [11641] = { 11641, 1, "Bwemba, Hex" },
[304969] = { 304969, 1, "Inquisitor Gnshal, Void Torrent Stun" },
-- [304634] = { 304634, 1, "Oblivion Elemental, Despair Stun" },
[304350] = { 304350, 1, "Rexxar, Mind Trap Stun" },
-- [306726] = { 306726, 1, "Vez'okk the Lightless, Defiled Ground Stun" },
-- [306646] = { 306646, 1, "Vez'okk the Lightless, Ring of Chaos Stun" },
-- [305378] = { 305378, 1, "Voidbound Honor Guard, Horrifying Shout Fear" },
-- [298630] = { 298630, 1, "Voidbound Shieldbearer, Shockwave Stun" },
-- Agustus Moulaine Stun
[309648] = { 309648, 1, "Magister Umbric, Tainted Polymorph" },
[309882] = { 309882, 1, "Cultist Slavedriver, Brutal Smash" },
-- Fallen Riftwalker, Rift Strike
[308380] = { 308380, 3, "Inquisitor Darkspeak, Convert" }, -- Will normal MC pick it up?
-- 308375 Portal Keeper, Psychic Scream
-- [298770] = { 298770, 1, "Slavemaster Ul'rok, Chains of Servitude Stun" },
},
["Ny'alotha"] = {
[314992] = { 314992, 1, "Maut, Drain Essence" },
[307645] = { 307645, 1, "Vexiona, Heart of Darkness fear" },
[310224] = { 310224, 1, "Vexiona, Annihilation" },
[310361] = { 310361, 1, "Drest'agath, Unleashed Insanity stun" },
[312486] = { 312486, 1, "Il'gynoth, Recurring Nightmare" },
[313400] = { 313400, 1, "N'Zoth, the Corruptor, Corrupted Mind" },
[313793] = { 313793, 1, "N'Zoth, the Corruptor, Flames of Insanity disorient" },
},
["Operation: Mechagon"] = {
[294929] = { 294929, 1, "K.U.-J.0., Blazing Chomp" },
[299572] = { 299572, 3, "Mechagon Renormalizer, Shrink" },
},
["Freehold"] = {
[258323] = { 258323, 1, "Infected Wound" },
[257908] = { 257908, 1, "Oiled Blade" },
},
["Shrine of the Storm"] = {
[268233] = { 268233, 1, "Electrifying Shock" },
},
["Temple of Sethraliss"] = {
[280032] = { 280032, 1, "Neurotoxin" },
[268008] = { 268008, 1, "Snake Charm" },
[263958] = { 263958, 1, "A Knot of Snakes" },
},
["Atal'Dazar"] = {
[257407] = { 257407, 1, "Pursuit" },
},
["Waycrest Manor"] = {
[260741] = { 260741, 1, "Jagged Nettles" },
[267907] = { 267907, 1, "Soul Thorns" },
[268202] = { 268202, 1, "Death Lens" },
[263891] = { 263891, 1, "Grasping Thorns" },
},
["Kings Rest"] = {
[270920] = { 270920, 1, "Seduction" },
[270865] = { 270865, 1, "Hidden Blade" },
[270487] = { 270487, 1, "Severing Blade" },
},
["The Underrot"] = {
[278961] = { 278961, 1, "Decaying Mind" },
},
["Siege of Boralus"] = {
[272571] = { 272571, 1, "Choking Waters" },
},
["Black Rook Hold"] = {