forked from jordonwow/bigdebuffs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BigDebuffs_Vanilla.lua
360 lines (331 loc) · 14.6 KB
/
BigDebuffs_Vanilla.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
local addonName, addon = ...
local BUFF_DEFENSIVE = "buffs_defensive"
local BUFF_OFFENSIVE = "buffs_offensive"
local BUFF_OTHER = "buffs_other"
local INTERRUPT = "interrupts"
local CROWD_CONTROL = "cc"
local ROOT = "roots"
local IMMUNITY = "immunities"
addon.Units = {
"player",
"pet",
"target",
"party1",
"party2",
"party3",
"party4",
}
-- Make sure we always see these debuffs, but don't make them bigger
addon.PriorityDebuffs = {
770, -- Faerie Fire
778, -- Faerie Fire
9749, -- Faerie Fire
9907, -- Faerie Fire
12294, -- Mortal Strike
21551, -- Mortal Strike
21552, -- Mortal Strike
21553, -- Mortal Strike
9035, -- Hex of Weakness
19281, -- Hex of Weakness
19282, -- Hex of Weakness
19283, -- Hex of Weakness
19284, -- Hex of Weakness
19285, -- Hex of Weakness
23230, -- Blood Fury Debuff
23605, -- Nightfall, Spell Vulnerability
}
addon.Spells = {
-- Racials
[20600] = { type = BUFF_OFFENSIVE }, -- Perception
[7744] = { type = BUFF_OFFENSIVE }, -- Will of the Forsaken
[20549] = { type = CROWD_CONTROL }, -- War Stomp
[20594] = { type = BUFF_OFFENSIVE }, -- Stoneform
-- Other
[23451] = { type = BUFF_OFFENSIVE }, -- Battleground Speed buff
[23493] = { type = BUFF_DEFENSIVE }, -- Battleground Heal buff
[23505] = { type = BUFF_OFFENSIVE }, -- Battleground Damage buff
[6615] = { type = BUFF_OFFENSIVE }, -- Free Action Potion
[24364] = { type = BUFF_OFFENSIVE }, -- Living Action Potion
[3169] = { type = IMMUNITY }, -- Limited Invulnerability Potion
[16621] = { type = IMMUNITY }, -- Invulnerable Mail
[1090] = { type = CROWD_CONTROL }, -- Magic Dust
[13327] = { type = CROWD_CONTROL }, -- Reckless Charge
[835] = { type = CROWD_CONTROL }, -- Tidal Charm
[11359] = { type = BUFF_OFFENSIVE }, -- Restorative Potion
[5024] = { type = BUFF_OFFENSIVE }, -- Skull of Impending Doom
[2379] = { type = BUFF_OFFENSIVE }, -- Swiftness Potion
[5134] = { type = CROWD_CONTROL }, -- Flash Bomb
[23097] = { type = BUFF_OFFENSIVE }, -- Fire Reflector
[23131] = { type = BUFF_OFFENSIVE }, -- Frost Reflector
[23132] = { type = BUFF_OFFENSIVE }, -- Shadow Reflector
[19769] = { type = CROWD_CONTROL }, -- Thorium Grenade
[4068] = { type = CROWD_CONTROL }, -- Iron Grenade
[23506] = { type = BUFF_DEFENSIVE }, -- Arena Grand Master trinket
[29506] = { type = BUFF_DEFENSIVE }, -- Burrower's Shell trinket
[12733] = { type = BUFF_OFFENSIVE }, -- Blacksmith trinket, Fear immunity
[15753] = { type = CROWD_CONTROL }, -- Linken's Boomerang Stun
[14530] = { type = BUFF_OFFENSIVE }, -- Nifty Stopwatch
[13237] = { type = CROWD_CONTROL }, -- Goblin Mortar trinket
[14253] = { type = BUFF_OFFENSIVE }, -- Black Husk Shield
[9175] = { type = BUFF_OFFENSIVE }, -- Swift Boots
[13141] = { type = BUFF_OFFENSIVE }, -- Gnomish Rocket Boots
[8892] = { type = BUFF_OFFENSIVE }, -- Goblin Rocket Boots
[9774] = { type = BUFF_OFFENSIVE }, -- Spider Belt & Ornate Mithril Boots
[18798] = { type = CROWD_CONTROL }, -- Freezing Band
[22734] = { type = BUFF_OTHER }, -- Drink
[23605] = { type = BUFF_OTHER }, -- Nightfall, Spell Vulnerability
[13494] = { type = BUFF_OFFENSIVE }, -- Manual Crowd Pummeler Haste buff
-- Interrupts
[15752] = { type = INTERRUPT, duration = 10 }, -- Linken's Boomerang Disarm
[19244] = { type = INTERRUPT, duration = 6 }, -- Spell Lock - Rank 1 (Warlock)
[19647] = { parent = 19244, duration = 8 }, -- Spell Lock - Rank 2 (Warlock)
[8042] = { type = INTERRUPT, duration = 2 }, -- Earth Shock (Shaman)
[8044] = { parent = 8042 },
[8045] = { parent = 8042 },
[8046] = { parent = 8042 },
[10412] = { parent = 8042 },
[10413] = { parent = 8042 },
[10414] = { parent = 8042 },
[16979] = { type = INTERRUPT, duration = 4 }, -- Feral Charge (Druid)
[2139] = { type = INTERRUPT, duration = 10 }, -- Counterspell (Mage)
[1766] = { type = INTERRUPT, duration = 5 }, -- Kick (Rogue)
[1767] = { parent = 1766 },
[1768] = { parent = 1766 },
[1769] = { parent = 1766 },
[14251] = { type = INTERRUPT, duration = 6 }, -- Riposte (Rogue)
[6552] = { type = INTERRUPT, duration = 4 }, -- Pummel
[6554] = { parent = 6552 },
[72] = { type = INTERRUPT, duration = 6 }, -- Shield Bash
[1671] = { parent = 72 },
[1672] = { parent = 72 },
-- Priest
[17] = { type = BUFF_DEFENSIVE }, -- Power Word: Shield
[592] = { parent = 17 }, -- Power Word: Shield
[600] = { parent = 17 },
[3747] = { parent = 17 },
[6065] = { parent = 17 },
[6066] = { parent = 17 },
[10898] = { parent = 17 },
[10899] = { parent = 17 },
[10900] = { parent = 17 },
[10901] = { parent = 17 },
[605] = { type = CROWD_CONTROL }, -- Mind Control
[10911] = { parent = 605 },
[10912] = { parent = 605 },
[8122] = { type = CROWD_CONTROL }, -- Psychic Scream
[8124] = { parent = 8122 },
[10888] = { parent = 8122 },
[10890] = { parent = 8122 },
[10060] = { type = BUFF_OFFENSIVE }, -- Power Infusion
[15269] = { type = CROWD_CONTROL }, -- Blackout
[15487] = { type = CROWD_CONTROL }, -- Silence
[14892] = { type = BUFF_DEFENSIVE }, -- Inspiration
[15362] = { parent = 14892 },
[15363] = { parent = 14892 },
[6346] = { type = BUFF_DEFENSIVE }, -- Fear Ward
[9484] = { type = CROWD_CONTROL }, -- Shackle Undead
[9485] = { parent = 9484 },
[10955] = { parent = 9484 },
[402004] = { type = BUFF_DEFENSIVE }, -- Pain Suppression
[425294] = { type = BUFF_DEFENSIVE }, -- Dispersion
-- Warlock
[24259] = { type = CROWD_CONTROL }, -- Spell Lock Silence
[6358] = { type = CROWD_CONTROL }, -- Seduction
[5782] = { type = CROWD_CONTROL }, -- Fear
[6213] = { parent = 5782 },
[6215] = { parent = 5782 },
[5484] = { type = CROWD_CONTROL }, -- Howl of Terror
[17928] = { parent = 5484 },
[710] = { type = CROWD_CONTROL }, -- Banish
[18647] = { parent = 710 },
[6789] = { type = CROWD_CONTROL }, -- Death Coil
[17925] = { parent = 6789 },
[17926] = { parent = 6789 },
[6229] = { type = BUFF_DEFENSIVE }, -- Shadow Ward
[11739] = { parent = 6229 },
[11740] = { parent = 6229 },
[28610] = { parent = 6229 },
[7812] = { type = BUFF_DEFENSIVE }, -- Sacrifice
[19438] = { parent = 7812 },
[19440] = { parent = 7812 },
[19441] = { parent = 7812 },
[19442] = { parent = 7812 },
[19443] = { parent = 7812 },
[18093] = { type = CROWD_CONTROL }, -- Pyroclasm
[18223] = { type = ROOT }, -- Curse of Exhaustion
[18310] = { parent = 18223 },
[18313] = { parent = 18223 },
[1714] = { type = ROOT }, -- Curse of Tongues
[11719] = { parent = 1714 },
-- Shaman
[8178] = { type = IMMUNITY }, -- Grounding Totem Effect
[16188] = { type = BUFF_DEFENSIVE }, -- Nature's Swiftness
[12548] = { type = ROOT }, -- Frost Shock
[425876] = { type = IMMUNITY }, -- Decoy Totem (Redirect)
[436391] = { type = BUFF_DEFENSIVE }, -- Decoy Totem (Freedom)
-- Paladin
[1022] = { type = IMMUNITY },-- Blessing of Protection
[5599] = { parent = 1022 },
[10278] = { parent = 1022 },
[498] = { type = IMMUNITY }, -- Divine Shield
[5573] = { parent = 498 },
[642] = { parent = 498 },
[1020] = { parent = 498 },
[853] = { type = CROWD_CONTROL }, -- Hammer of Justice
[5588] = { parent = 853 },
[5589] = { parent = 853 },
[10308] = { parent = 853 },
[1044] = { type = BUFF_DEFENSIVE }, -- Blessing of Freedom
[20066] = { type = CROWD_CONTROL }, -- Repentance
[20170] = { type = CROWD_CONTROL }, -- Seal of Justice stun
[6940] = { type = BUFF_DEFENSIVE }, -- Blessing of Sacrifice
[20729] = { parent = 6940 },
[407613] = { type = BUFF_DEFENSIVE }, -- Beacon of Light
[412019] = { type = BUFF_DEFENSIVE }, -- Sacred Shield
[427719] = { type = CROWD_CONTROL }, -- Unstable Affliction (Silence)
-- Hunter
[13159] = { type = BUFF_OFFENSIVE }, -- Aspect of the Pack
[5118] = { parent = 13159 }, -- Aspect of the Cheetah
[1513] = { type = CROWD_CONTROL }, -- Scare Beast
[14326] = { parent = 1513 },
[14327] = { parent = 1513 },
[19410] = { type = CROWD_CONTROL }, -- Concussive Shot Stun
[3045] = { type = BUFF_OFFENSIVE }, -- Rapid Fire
[19263] = { type = BUFF_DEFENSIVE }, -- Deterrence
[19574] = { type = BUFF_OFFENSIVE }, -- Bestial Wrath
[3355] = { type = CROWD_CONTROL }, -- Freezing Trap
[14308] = { parent = 3355 },
[14309] = { parent = 3355 },
[19229] = { type = ROOT }, -- Wing Clip Root
[19306] = { type = ROOT }, -- Counterattack Root
[20909] = { parent = 19306 },
[20910] = { parent = 19306 },
[19386] = { type = CROWD_CONTROL }, --Wyvern Sting
[24132] = { parent = 19386 },
[24133] = { parent = 19386 },
[19185] = { type = ROOT }, -- Entrapment
[19503] = { type = CROWD_CONTROL }, -- Scatter Shot
[25999] = { type = ROOT }, -- Boar Charge
[3034] = { type = ROOT }, -- Viper Sting
[14279] = { parent = 3034 },
[14280] = { parent = 3034 },
[409368] = { type = BUFF_OFFENSIVE }, -- Beast Mastery
-- Druid
[22812] = { type = BUFF_DEFENSIVE }, -- Barkskin
[339] = { type = ROOT }, -- Entangling Roots
[1062] = { parent = 339 },
[5195] = { parent = 339 },
[5196] = { parent = 339 },
[9852] = { parent = 339 },
[9853] = { parent = 339 },
[19970] = { parent = 339 }, -- Nature's Grasp Rank 6
[19971] = { parent = 339 }, -- Nature's Grasp Rank 5
[19972] = { parent = 339 }, -- Nature's Grasp Rank 4
[19973] = { parent = 339 }, -- Nature's Grasp Rank 3
[19974] = { parent = 339 }, -- Nature's Grasp Rank 2
[19975] = { parent = 339 }, -- Nature's Grasp Rank 1
[2637] = { type = CROWD_CONTROL }, -- Hibernate
[18657] = { parent = 2637 },
[18658] = { parent = 2637 },
[29166] = { type = BUFF_OFFENSIVE }, -- Innervate
[9005] = { type = CROWD_CONTROL }, -- Pounce Stun
[9823] = { parent = 9005 },
[9827] = { parent = 9005 },
[16922] = { type = CROWD_CONTROL }, -- Starfire Stun
[5211] = { type = CROWD_CONTROL}, -- Bash
[6798] = { parent = 5211 },
[8983] = { parent = 5211 },
-- [16979] = { type = ROOT }, -- Feral Charge TODO: invalid spellId, root effect must be different than the interrupt
[1850] = { type = BUFF_OFFENSIVE }, -- Dash
[9821] = { parent = 1850 },
[16689] = { type = BUFF_OFFENSIVE }, -- Nature's Grasp Buff
[16810] = { parent = 16689 },
[16811] = { parent = 16689 },
[16812] = { parent = 16689 },
[16813] = { parent = 16689 },
[17329] = { parent = 16689 },
[770] = { type = BUFF_OTHER }, -- Faerie Fire
[778] = { parent = 770 },
[9749] = { parent = 770 },
[9907] = { parent = 770 },
[417141] = { type = BUFF_OFFENSIVE }, -- Berserk
-- Mage
[18469] = { type = CROWD_CONTROL }, -- Improved Counterspell
[118] = { type = CROWD_CONTROL }, -- Polymorph
[12824] = { parent = 118 },
[12825] = { parent = 118 },
[12826] = { parent = 118 },
[28270] = { parent = 118 },
[28271] = { parent = 118 },
[28272] = { parent = 118 },
[11426] = { type = BUFF_DEFENSIVE }, -- Ice Barrier
[13031] = { parent = 11426 },
[13032] = { parent = 11426 },
[13033] = { parent = 11426 },
[543] = { type = BUFF_DEFENSIVE }, -- Fire Ward
[8457] = { parent = 543 },
[8458] = { parent = 543 },
[10223] = { parent = 543 },
[10225] = { parent = 543 },
[6143] = { type = BUFF_DEFENSIVE }, -- Frost Ward
[8461] = { parent = 6143 },
[8462] = { parent = 6143 },
[10177] = { parent = 6143 },
[28609] = { parent = 6143 },
[12355] = { type = CROWD_CONTROL }, -- Impact Stun
[12494] = { type = ROOT }, -- Frostbite
[122] = { type = ROOT }, -- Frost Nova
[865] = { parent = 122 },
[6131] = { parent = 122 },
[10230] = { parent = 122 },
[12042] = { type = BUFF_OFFENSIVE }, -- Arcane Power
[11958] = { type = IMMUNITY }, -- Ice Block
[12051] = { type = BUFF_OFFENSIVE }, -- Evocation
[1463] = { type = BUFF_DEFENSIVE }, -- Mana Shield
[8494] = { parent = 1463 },
[8495] = { parent = 1463 },
[10191] = { parent = 1463 },
[10192] = { parent = 1463 },
[10193] = { parent = 1463 },
-- Rogue
[18425] = { type = CROWD_CONTROL }, -- Improved Kick
[13750] = { type = BUFF_OFFENSIVE}, -- Adrenaline Rush
[13877] = { type = BUFF_OFFENSIVE}, -- Blade Flurry
[1833] = { type = CROWD_CONTROL }, -- Cheap Shot
[408] = { type = CROWD_CONTROL }, -- Kidney Shot
[8643] = { parent = 408 },
[2070] = { type = CROWD_CONTROL }, -- Sap
[6770] = { parent = 2070 },
[11297] = { parent = 2070 },
[2094] = { type = CROWD_CONTROL }, -- Blind
[2983] = { type = BUFF_OFFENSIVE }, -- Sprint
[8696] = { parent = 2983 },
[11305] = { parent = 2983 },
[5277] = { type = BUFF_DEFENSIVE }, -- Evasion
[1776] = { type = CROWD_CONTROL }, -- Gouge
[1777] = { parent = 1776 },
[8629] = { parent = 1776 },
[11285] = { parent = 1776 },
[11286] = { parent = 1776 },
[14278] = { type = BUFF_DEFENSIVE }, -- Ghostly Strike
[3409] = { type = ROOT }, -- Crippling Poison
[11201] = { parent = 3409 },
[400009] = { type = CROWD_CONTROL }, -- Between the Eyes
-- Warrior
[18498] = { type = CROWD_CONTROL }, -- Improved Shield Bash
[5246] = { type = CROWD_CONTROL }, -- Intimidating Shout (Other targets)
[20511] = { type = CROWD_CONTROL, parent = 5246 }, -- (Main target)
[20230] = { type = IMMUNITY }, -- Retaliation
[1719] = { type = BUFF_OFFENSIVE }, -- Recklessness
[871] = { type = BUFF_DEFENSIVE }, -- Shield Wall
[12328] = { type = BUFF_OFFENSIVE }, -- Death Wish
[23694] = { type = ROOT }, -- Improved Hamstring
[18499] = { type = BUFF_OFFENSIVE}, -- Berserker Rage
[20253] = { type = CROWD_CONTROL }, -- Intercept Stun
[20614] = { parent = 20253 },
[20615] = { parent = 20253 },
[12798] = { type = CROWD_CONTROL }, -- Revenge Stun
[12809] = { type = CROWD_CONTROL }, -- Concussion Blow
[7922] = { type = CROWD_CONTROL }, -- Charge Stun
[5530] = { type = CROWD_CONTROL }, -- Mace Spec Stun (Warrior & Rogue)
}