-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
config.tbc.lua
527 lines (413 loc) · 20.2 KB
/
config.tbc.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
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 DT = helpers.AddDispellType
local D = helpers.AddDebuff
local Trace = helpers.AddTrace
local pixelperfect = helpers.pixelperfect
local config = AptechkaDefaultConfig
local DispelTypes = helpers.DispelTypes
local RangeCheckBySpell = helpers.RangeCheckBySpell
local IsPlayerSpell = IsPlayerSpell
local set = helpers.set
local apiLevel = math.floor(select(4,GetBuildInfo())/10000)
local isBC = apiLevel == 2
if not isBC then return end
config.HealthTextStatus.formatType = "MISSING_HEALING_SHORT"
if apiLevel <= 3 then
config.DefaultWidgets.totemCluster1 = { type = "Indicator", width = 5, height = 5, point = "TOPLEFT", x = pixelperfect(6), y = 0 }
config.DefaultWidgets.totemCluster2 = { type = "Indicator", width = 5, height = 5, point = "TOPLEFT", x = pixelperfect(12), y = 0 }
config.DefaultWidgets.totemCluster3 = { type = "Indicator", width = 5, height = 5, point = "TOPLEFT", x = pixelperfect(19), y = 0 }
end
local color1 = { 0.9, 0, 0 }
-- WARLOCK
AG{ id = { 6229, 11739, 11740, 28610 }, template = "SurvivalCD" } -- Shadow Ward
-- DRUID
AG{ id = 22812, template = "SurvivalCD" } -- Barkskin
AG{ id = 29166, template = "SurvivalCD" } -- Innervate
-- PRIEST
AG{ id = 15286, template = "SurvivalCD" } -- Vampiric Embrace
AG{ id = 33206, template = "TankCD", priority = 93 } --Pain Suppression
-- MAGE
AG{ id = 11958, template = "TankCD" } -- Ice Block
AG{ id = { 543, 8457, 8458, 10223, 10225, 27128 }, template = "SurvivalCD" } -- Fire Ward
AG{ id = { 6143, 8461, 8462, 10177, 28609, 32796 }, template = "SurvivalCD" } -- Frost Ward
-- PALADIN
AG{ id = { 498, 5573, 642, 1020 }, template = "TankCD", priority = 95 } -- Divine Shield
AG{ id = { 1022, 5599, 10278 }, template = "SurvivalCD" } -- Blessing of Protection
AG{ id = 1044, template = "SurvivalCD", priority = 40 } -- Blessing of Freedom
-- HUNTER
AG{ id = 19263, template = "SurvivalCD" } -- Deterrence
-- WARRIOR
AG{ id = 20230, template = "SurvivalCD" } -- Retaliation
AG{ id = 12976, template = "SurvivalCD", priority = 85 } --Last Stand
AG{ id = 871, template = "TankCD" } --Shield Wall 40%
-- ROGUE
AG{ id = { 5277, 26669 }, template = "SurvivalCD" } -- Evasion
AG{ id = { 1856, 1857 }, template = "TankCD" } -- Vanish
AG{ id = 45182, template = "TankCD" } -- Cheating Death
AG{ id = 31224, template = "SurvivalCD", priority = 91 } -- Cloak of Shadows
-- WARLOCK
AG{ id = { 6229, 11739, 11740, 28610 }, template = "SurvivalCD" } -- Shadow Ward
-- SHAMAN
AG{ id = 30823, template = "SurvivalCD" } -- Shamanistic Rage
-- Healing Reduction
-- AG{ id = { 12294, 21551, 21552, 21553 }, color = { 147/255, 54/255, 115/255 }, template = "bossDebuff", global = true, } --Mortal Strike
-- Battleground
AG{ id = 23333, type = "HELPFUL", assignto = set("raidbuff"), scale = 1.7, color = {1,0,0}, priority = 95, global = true, } --Warsong Flag
AG{ id = 23335, type = "HELPFUL", assignto = set("raidbuff"), scale = 1.7, color = {0,0,1}, priority = 95, global = true, } --Silverwing Flag
-- Soulstone Resurrection
AG{ id = { 20707, 20762, 20763, 20764, 20765, 27239 }, type = "HELPFUL", global = true, assignto = set("raidbuff"), color = { 0.6, 0, 1 }, priority = 20 }
AG{ id = {
430, 431, 432, 1133, 1135, 1137, 22734, 24355, 29007, 26473, 26261, -- Classic water
34291, 43183, 43182, 43706, -- BC & WotLK water,
27089, 46755, -- BC mage water
}, assignto = set("text2"), color = {0.7, 0.7, 1}, text = "DRINKING", global = true, priority = 30 }
-- Stealth, Prowl, Shadowmeld
AG{ id = {1784, 5215, 20580}, assignto = set("text2"), color = {0.2, 1, 0.3}, text = "STEALTH", priority = 20 }
AG{ id = 5384, assignto = set("text2"), color = {0, 0.7, 1}, text = "FD", global = true, priority = 75 } -- Feign Death
local manaClasses = {
HUNTER = true,
MAGE = true,
DRUID = true,
PRIEST = true,
SHAMAN = true,
WARLOCK = true,
PALADIN = true
}
if playerClass == "PRIEST" then
-- Power Word: Fortitude and Prayer of Fortitude
A{ id = { 1243, 1244, 1245, 2791, 10937, 10938, 25389, 21562, 21564, 25392 }, type = "HELPFUL", assignto = set("raidbuff"), color = { 1, 1, 1}, priority = 100, isMissing = true, isKnownCheck = function() return IsPlayerSpell(1243) end }
-- Prayer of Shadow Protection
-- A{ id = { 976, 10957, 10958, 27683 }, type = "HELPFUL", assignto = set("raidbuff"), color = { 151/255, 86/255, 168/255 }, priority = 80, isMissing = true, isKnownCheck = function() return IsPlayerSpell(976) end }
-- Prayer of Spirit, Divine Spirit
A{ id = { 14752, 14818, 14819, 25312, 27841, 27681, 32999 }, type = "HELPFUL", assignto = set("raidbuff"), color = {52/255, 172/255, 114/255}, priority = 90, isMissing = true,
isKnownCheck = function(unit)
local isKnown = IsPlayerSpell(14752)
local isSpiritClass = manaClasses[select(2,UnitClass(unit))]
return isKnown and isSpiritClass
end }
A{ id = 6346, type = "HELPFUL", assignto = set("bar4"), priority = 30, color = { 1, 0.7, 0} , infoType = "DURATION" } -- Fear Ward
-- Abolish Disease
A{ id = 552, type = "HELPFUL", assignto = set("bars"), priority = 30, color = { 118/255, 69/255, 50/255} , infoType = "DURATION" }
-- Renew
A{ id = { 139, 6074, 6075, 6076, 6077, 6078, 10927, 10928, 10929, 25221, 25222, 25315 }, type = "HELPFUL", isMine = true, assignto = set("bars"), priority = 50, color = { 0, 1, 0}, foreigncolor = {0.1, 0.4, 0.1}, infoType = "DURATION" }
-- Lightwell Renew
A{ id = { 7001, 27873, 27874, 28276 }, type = "HELPFUL", assignto = set("bars"), priority = 20, color = { 0.5, 0.7, 0}, infoType = "DURATION" }
-- Power Word: Shield
A{ id = { 17, 592, 600, 3747, 6065, 6066, 10898, 10899, 10900, 10901, 25217, 25218 }, type = "HELPFUL", assignto = set("bars"), priority = 90, color = { 1, 0.85, 0}, foreigncolor = {0.4, 0.35, 0.1}, infoType = "DURATION" }
-- Weakened Soul
A{ id = 6788, type = "HARMFUL", assignto = set("spell3"), priority = 70, color = { 0.8, 0, 0}, infoType = "DURATION" }
--Prayer of Mending
A{ id = 41635, type = "HELPFUL", assignto = set("bar4"), priority = 70, isMine = true, color = { 1, 0, 102/255 }, maxCount = 5, infoType = "COUNT" }
-- Prayer of Healing
Trace{id = { 596, 996, 10960, 10961, 25308, 25316 }, template = "HealTrace", color = { .5, .5, 1} }
-- Flash Heal
Trace{id = { 2061, 9472, 9473, 9474, 10915, 10916, 10917, 25233, 25235 } , template = "HealTrace", color = { 0.6, 1, 0.6} }
-- Greater Heal, Heal, Lesser heal
Trace{id = { 2060, 10963, 10964, 10965, 25210, 25213, 25314, 2054, 2055, 6063, 6064, 2050, 2052, 2053 }, template = "HealTrace", color = { 0.7, 1, 0.7} }
-- Circle of Healing
Trace{id = { 34861, 34863, 34864, 34865, 34866 }, template = "HealTrace", color = { 1, 0.7, 0.35} }
-- Prayer of Mending
Trace{id = 33110, template = "HealTrace", color = { 1, 0.3, 0.55 }, fade = 0.5, priority = 95 }
config.UnitInRangeFunctions = {
RangeCheckBySpell(2050), -- Lesser Heal Rank 1
RangeCheckBySpell(2050),
RangeCheckBySpell(2050),
}
config.DispelBitmasks = {
DispelTypes("Magic", "Disease")
}
end
if playerClass == "DRUID" then
-- Mark of the Wild, Gift of the Wild
A{ id = { 1126, 5232, 5234, 6756, 8907, 9884, 9885, 26990, 21849, 21850, 26991 }, type = "HELPFUL", assignto = set("raidbuff"), color = { 1, 0.2, 1}, priority = 100, isMissing = true, isKnownCheck = function() return IsPlayerSpell(1126) end }
-- Rejuvenation
A{ id = { 774, 1058, 1430, 2090, 2091, 3627, 8910, 9839, 9840, 9841, 25299, 26981, 26982 }, type = "HELPFUL", assignto = set("bars"), isMine = true, priority = 90, color = { 1, 0.2, 1}, foreigncolor = { 0.4, 0.1, 0.4 }, infoType = "DURATION" }
-- Regrowth
A{ id = { 8936, 8938, 8939, 8940, 8941, 9750, 9856, 9857, 9858, 26980 }, type = "HELPFUL", assignto = set("bars"), isMine = true, scale = 0.5, color = { 0, 0.8, 0.2}, priority = 50, infoType = "DURATION" }
-- Abolish Poison
A{ id = 2893, type = "HELPFUL", assignto = set("bars"), priority = 30, color = {15/255, 78/255, 60/255} , infoType = "DURATION", isMine = false }
-- Lifebloom
A{ id = 33763, type = "HELPFUL", assignto = set("bar4", "bar4text"), priority = 60, infoType = "DURATION", isMine = true, color = { 0.2, 1, 0.2}, }
-- Healing Touch
Trace{id = { 5185, 5186, 5187, 5188, 5189, 6778, 8903, 9758, 9888, 9889, 25297, 26978, 26979 } , template = "HealTrace", color = { 0.6, 1, 0.6} }
config.UnitInRangeFunctions = {
RangeCheckBySpell(5185),
RangeCheckBySpell(5185),
RangeCheckBySpell(5185),
}
config.DispelBitmasks = {
DispelTypes("Curse", "Poison")
}
end
if playerClass == "PALADIN" then
-- Forbearance
A{ id = 25771, type = "HARMFUL", assignto = set("bars"), infoType = "DURATION", color = { 0.8, 0, 0 } }
-- Blessing of Freedom
-- A{ id = 1044, type = "HELPFUL", assignto = set("bars"), infoType = "DURATION", isMine = true, color = { 1, 0.4, 0.2} }
-- Holy Light
Trace{id = { 635, 639, 647, 1026, 1042, 3472, 10328, 10329, 25292, 27135, 27136 } , template = "HealTrace", color = { 1, 1, 0.6} }
-- Flash of Light
Trace{id = { 19750, 19939, 19940, 19941, 19942, 19943, 27137 } , template = "HealTrace", color = { 0.6, 1, 0.6} }
config.UnitInRangeFunctions = {
RangeCheckBySpell(635), -- Holy Light
RangeCheckBySpell(635),
RangeCheckBySpell(635),
}
config.DispelBitmasks = {
DispelTypes("Magic", "Disease", "Poison")
}
end
-- if playerClass == "HUNTER" then
-- -- Trueshot Aura
-- A{ id = { 19506, 20905, 20906 }, type = "HELPFUL", assignto = set("raidbuff"), color = { 1, 1, 1}, priority = 100, isMissing = true, isKnownCheck = function() return IsPlayerSpell(19506) end }
-- end
if playerClass == "SHAMAN" then
-- Healing Way
A{ id = 29203, type = "HELPFUL", assignto = set("bars"), maxCount = 3, infoType = "DURATION", scale = 0.7, --color = {38/255, 221/255, 163/255},
stackcolor = {
[1] = {27/255, 158/255, 117/255},
[2] = {32/255, 186/255, 137/255},
[3] = {38/255, 221/255, 163/255},
},
}
A{ id = { 974, 32593, 32594 } , type = "HELPFUL", assignto = set("bar4"), infoType = "COUNT", maxCount = 6, color = {0.2, 1, 0.2}, foreigncolor = {0, 0.5, 0} }
local prioWater = 75
local prioAir = 74
local prioEarth = 73
local prioFire = 72
-- Earth
A{ id = { 8072, 8156, 8157, 10403, 10404, 10405, 25506, 25507 }, type = "HELPFUL", assignto = set("totemCluster2"), priority = prioEarth, isMine = true, color = { 162/255, 77/255, 48/255 } } -- Stoneskin Totem
A{ id = { 8076, 8162, 8163, 10441, 25362, 25527 }, type = "HELPFUL", assignto = set("totemCluster2"), priority = prioEarth, isMine = true, color = { 0.1, 0.8, 0.1 } } -- Strength of Earth Totem
-- Fire
A{ id = { 8182, 10476, 10477, 25559 }, type = "HELPFUL", assignto = set("raidbuff"), priority = prioFire, isMine = true, color = { 206/255, 4/256, 56/256 } } -- Frost Resistance Totem
A{ id = 30708, type = "HELPFUL", assignto = set("raidbuff"), priority = prioFire, isMine = true, color = { 1,0.2,0.2} } -- Totem of Wrath
-- Water
A{ id = 16191, type = "HELPFUL", assignto = set("totemCluster1"), priority = prioWater, isMine = true, color = {38/255, 221/255, 163/255} } -- Mana Tide Totem
A{ id = { 5677, 10491, 10493, 10494, 25569 }, type = "HELPFUL", assignto = set("totemCluster1"), priority = prioWater, isMine = true, color = { 187/255, 75/255, 128/255 } } -- Mana Spring Totem
A{ id = { 5672, 6371, 6372, 10460, 10461, 25566 }, type = "HELPFUL", assignto = set("totemCluster1"), priority = prioWater, isMine = true, color = { 0.63, 0.8, 0.35 } } -- Healing Stream Totem
A{ id = { 8185, 10534, 10535, 25562 }, type = "HELPFUL", assignto = set("totemCluster1"), priority = prioWater, isMine = true, color = { 65/255, 110/255, 1 } } -- Fire Resistance Totem
-- Air
A{ id = 8178, type = "HELPFUL", assignto = set("totemCluster3"), priority = prioAir, isMine = true, color = { 0.6, 0, 1 } } -- Grounding Totem
A{ id = 25909, type = "HELPFUL", assignto = set("totemCluster3"), priority = prioAir, isMine = true, color = {149/255, 121/255, 214/255} } -- Tranquil Air Totem
A{ id = { 8836, 10626, 25360 }, type = "HELPFUL", assignto = set("totemCluster3"), priority = prioAir, isMine = true, color = { 65/255, 110/255, 1 } } -- Grace of Air Totem
A{ id = { 10596, 10598, 10599, 25573 }, type = "HELPFUL", assignto = set("totemCluster3"), priority = prioAir, isMine = true, color = {52/255, 172/255, 114/255} } -- Nature Resistance Totem
A{ id = 2895, type = "HELPFUL", assignto = set("totemCluster3"), priority = prioAir, isMine = true, color = { 216/255, 24/256, 76/256 } } -- Wrath of Air
-- Ancestral Healing
A{ id = { 16177, 16236, 16237 }, type = "HELPFUL", assignto = set("bars"), infoType = "DURATION", color = { 1, 0.85, 0} }
-- Chain Heal
Trace{id = { 1064, 10622, 10623, 25422, 25423 }, template = "HealTrace", color = { 1, 1, 0 } }
-- Healing Wave
Trace{id = { 331, 332, 547, 913, 939, 959, 8005, 10395, 10396, 25357, 25391, 25396 }, template = "HealTrace", color = { 0.5, 1, 0.5 } }
-- Lesser Healing Wave
Trace{id = { 8004, 8008, 8010, 10466, 10467, 10468, 25420 }, template = "HealTrace", color = { 0.5, 1, 0.5 } }
config.UnitInRangeFunctions = {
RangeCheckBySpell(331),
RangeCheckBySpell(331),
RangeCheckBySpell(331),
}
config.DispelBitmasks = {
DispelTypes("Poison", "Disease")
}
end
if playerClass == "MAGE" then
-- Arcane Intellect and Brilliance
A{ id = { 1459, 1460, 1461, 10156, 10157, 27126, 23028, 27127 }, type = "HELPFUL", assignto = set("raidbuff"), color = { .4 , .4, 1 }, priority = 50, isMissing = true,
isKnownCheck = function(unit)
local isKnown = IsPlayerSpell(1459)
local isSpiritClass = manaClasses[select(2,UnitClass(unit))]
return isKnown and isSpiritClass
end }
-- Dampen Magic
A{ id = { 604, 8450, 8451, 10173, 10174, 33944 }, type = "HELPFUL", assignto = set("spell3"), color = {52/255, 172/255, 114/255}, priority = 80 }
-- Amplify Magic
A{ id = { 1008, 8455, 10169, 10170, 27130, 33946 }, type = "HELPFUL", assignto = set("spell3"), color = {1,0.7,0.5}, priority = 80 }
if IsPlayerSpell(1459) then
config.UnitInRangeFunctions = {
RangeCheckBySpell(1459), -- Arcane Intellect, 30yd range
}
end
config.DispelBitmasks = {
DispelTypes("Curse")
}
end
if playerClass == "WARRIOR" then
-- Battle Shout
A{ id = { 5242, 6192, 6673, 11549, 11550, 11551, 25289, 2048 }, type = "HELPFUL", assignto = set("raidbuff"), color = { 1, .4 , .4}, priority = 50 }
-- Commanding Shout
A{ id = 469, type = "HELPFUL", assignto = set("raidbuff"), color = { 0.4, 0.4 , 1}, priority = 49 }
end
-------------------------
-- Debuff Highlights
-------------------------
config.MapIDs = {
[257] = "Auchenai Crypts",
[258] = "Sethekk Halls",
[260] = "Shadow Labyrinth",
[256] = "Mana Tombs", --272
[261] = "The Blood Furnace",
[246] = "The Shattered Halls",
[262] = "The Underbog",
[263] = "The Steamvault",
[265] = "The Slave Pens",
[266] = "The Botanica",
[267] = "The Mechanar",
[269] = "The Arcatraz",
[273] = "Black Morass",
[274] = "Old Hillsbrad Foothills",
[347] = "Hellfire Ramparts",
[349] = "Magisters' Terrace",
[350] = "Karazhan",
[1701] = "PvP",
}
config.defaultDebuffHighlights = {
["PvP"] = {
[33786] = { 33786, 3, "Cyclone" },
},
["Karazhan"] = {
[29522] = { 29522, 1, "Maiden of Virtue, Holy Fire" },
[34694] = { 34694, 1, "Moroes, Blind" },
[30898] = { 30898, 1, "Prince Malchezaar, Shadow Word: Pain" },
},
}
-------------------------
-- Blacklist
-------------------------
helpers.auraBlacklist = {
[51120] = true, -- Tinnitus
[26013] = true, -- PVP Deserter
[8326] = true, -- Ghost
[25771] = true, -- Forbearance
[6788] = true, -- Weakened Soul
[11196] = true, -- Recently Bandaged
[26680] = true, -- Adored (Love is in the Air)
-- Trash
[22959] = true, -- Fire Vulnerability
[15258] = true, -- Shadow Vulnerability
[12579] = true, -- Winter's Chill
-- 133, 143, 145, 3140, 8400, 8401, 8402, 10148, 10149, 10150, 10151, 25306 -- Fireball shitty dot
-- 11366, 12505, 12522, 12523, 12524, 12525, 12526, 18809 -- Pyroblast dot
}
helpers.importantTargetedCasts = {}
helpers.customBossAuras = {
[5782] = true, -- Fear 3 ranks
[6213] = true,
[6215] = true,
[5484] = true, -- Howl of Terror 2 ranks
[17928] = true,
[6358] = true, -- Seduction
[853] = true, -- Hammer of Justice 4 ranks
[5588] = true,
[5589] = true,
[10308] = true,
[20066] = true, -- Repentance
[3355] = true, -- Freezing Trap Effect 3 ranks
[14308] = true,
[14309] = true,
[19503] = true, -- Scatter Shot
[19229] = true, -- Wing Clip Root
[19410] = true, -- Conc stun
[24394] = true, -- Intimidation
[2637] = true, -- Hibernate 3 ranks
[18657] = true,
[18658] = true,
[5211] = true, -- Bash 3 ranks
[6798] = true,
[8983] = true,
[339] = true, -- Entangling Roots
[1062] = true,
[5195] = true,
[5196] = true,
[9852] = true,
[9853] = true,
[9005] = true, -- Pounce Stun
[9823] = true,
[9827] = true,
[18469] = true, -- Silence (Improved Counterspell)
[118] = true, -- Polymorph 7 variants
[12824] = true,
[12825] = true,
[12826] = true,
[28270] = true,
[28271] = true,
[28272] = true,
[12494] = true, -- Frostbite
[122] = true, -- Frost Nova 4 rank
[865] = true,
[6131] = true,
[10230] = true,
[15487] = true, -- Silence (Priest)
[15269] = true, -- Blackout
[8122] = true, -- Psychic Scream
[8124] = true,
[10888] = true,
[10890] = true,
[1833] = true, -- Cheap Shot
[2094] = true, -- Blind
[2070] = true, -- Sap 3 ranks
[6770] = true,
[11297] = true,
[408] = true, -- Kidney Shot 2 ranks
[8643] = true,
[23694] = true, -- Improved Hamstring Root
[676] = true, -- Disarm
[12809] = true, -- Concussion Blow
}
do
local AURA = helpers.BuffGainTypes.AURA
local CAST = helpers.BuffGainTypes.CAST
local HEAL = helpers.BuffGainTypes.HEAL
helpers.buffGainWhitelist = {
[27237] = HEAL, -- Master Healthstone
[27236] = HEAL,
[27235] = HEAL,
[28495] = HEAL, -- Super Healing Potion (TBC)
[7744] = AURA, -- Will of the Forsaken
-- WARLOCK
[27239] = AURA, -- Soulstone
-- PRIEST
[10060] = AURA, -- Power Infusion
[28276] = AURA, -- Lightwell Renew, 70lvl rank
-- ROGUE
[2983] = AURA, -- Sprint
[8696] = AURA,
[11305] = AURA,
--[[DUP]] [5277] = AURA, -- Evasion
[26669] = AURA,
--[[DUP]] [31224] = AURA, -- Cloak of Shadows
[1787] = AURA, -- Stealth last rank
-- WARRIOR
[12292] = AURA, -- Death Wish
[1719] = AURA, -- Recklessness
--[[DUP]] [23920] = AURA, -- Spell Reflect
-- MAGE
[12042] = AURA, -- Arcane Power
[12472] = AURA, -- Icy Veins
[28682] = AURA, -- Combustion
[11958] = AURA, -- Ice Block
[66] = AURA, -- Invisiblity Fade
[32612] = AURA, -- Invisibility
-- PALADIN
[31884] = AURA, -- Avenging Wrath
--[[DUP]] [498] = AURA, -- Divine Protection
--[[DUP]] [642] = AURA, -- Divine Shield
--[[DUP]] [1020] = AURA,
[1022] = AURA, -- Blessing of Protection
[5599] = AURA,
[10278] = AURA,
[1044] = AURA, -- Blessing of Freedom
-- DRUID
[9913] = AURA, -- Prowl 60 lvl rank
--[[DUP]] [22812] = AURA, -- Barkskin
--[[DUP]] [1850] = AURA, -- Dash
[9821] = AURA,
[33357] = AURA,
-- HUNTER
[19574] = AURA, -- Bestial Wrath
-- SHAMAN
[2894] = CAST, -- Fire Elemental Totem
}
end