-
Notifications
You must be signed in to change notification settings - Fork 0
/
aurafilter.lua
320 lines (225 loc) · 6.19 KB
/
aurafilter.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
local _, ns = ...
local config = ns.config
----------------------------
local RaceSpecific = {
BloodElf = function()
end,
Draenei = function()
end,
Dwarf = function()
config.AURAFILTER[65116] = true -- Stoneform
end,
Gnome = function()
end,
Goblin = function()
end,
Human = function()
end,
NightElf = function()
end,
Orc = function()
end,
Tauren = function()
end,
Troll = function()
end,
Undead = function()
end,
Worgen = function()
end,
}
local RoleSpecific = {
CASTER = function()
-- Enchant Proc
config.AURAFILTER[74241] = true -- Power Torrent
-- Trinket procs
config.AURAFILTER[102662] = true -- Foul Gift of the Demon Lord
config.AURAFILTER[109908] = true -- Foul Gift of the Demon Lord
-- ICC Ring proc
end,
HEALER = function()
-- Enchant Proc
config.AURAFILTER[74241] = true -- Power Torrent
-- Trinket procs
config.AURAFILTER[102662] = true -- Foul Gift of the Demon Lord
config.AURAFILTER[109908] = true -- Foul Gift of the Demon Lord
-- ICC Ring proc
end,
MELEE = function()
-- Enchant Proc
-- Weapon Proc
-- Trinket procs
config.AURAFILTER[92104] = true -- Fluid Death
config.AURAFILTER[96977] = true -- Matrix Restabilizer
config.AURAFILTER[96978] = true -- Matrix Restabilizer
config.AURAFILTER[96979] = true -- Matrix Restabilizer
config.AURAFILTER[109717] = true -- Wrath of Unchaining (Raid Finder)
end,
TANK = function()
-- Enchant Proc
-- Weapon Proc
-- Trinket procs
config.AURAFILTER[101492] = true -- Moonwell Phial
-- ICC Ring proc
end,
}
local ClassSpecific = {
DEATHKNIGHT = function()
-- Blood auras
-- Frost auras
-- Unholy auras
-- Tier procs
-- Relic
-- Glyph Proc
-- Role specific auras
RoleSpecific['MELEE']()
RoleSpecific['TANK']()
end,
DRUID = function()
-- Balance auras
config.AURAFILTER[22812] = true -- Barkskin
-- Feral Combat auras
config.AURAFILTER[1850] = true -- Dash
config.AURAFILTER[5217] = true -- Tiger's Fury
config.AURAFILTER[5229] = true -- Enrage
config.AURAFILTER[22842] = true -- Frenzied Regeneration
config.AURAFILTER[50334] = true -- Berserk
config.AURAFILTER[52610] = true -- Savage Roar
config.AURAFILTER[61336] = true -- Survival Instincts
config.AURAFILTER[62606] = true -- Savage Defense
config.AURAFILTER[69369] = true -- Predator's Swiftness
config.AURAFILTER[80951] = true -- Pulverize
-- Restoration auras
config.AURAFILTER[16870] = true -- Clearcast
-- Tier procs
config.AURAFILTER[90165] = true -- Druid T11 Feral 4P Bonus
config.AURAFILTER[99009] = true -- Druid T12 Feral 4P Bonus
-- Relic
-- Glyph Proc
-- Role specific auras
RoleSpecific['CASTER']()
RoleSpecific['HEALER']()
RoleSpecific['MELEE']()
RoleSpecific['TANK']()
end,
HUNTER = function()
-- Beast Mastery auras
-- Marksmanship auras
-- Survival auras
-- Tier procs
-- Glyph Proc
-- Role specific auras
RoleSpecific['MELEE']()
end,
MAGE = function()
-- Arcane auras
-- Fire auras
-- Frost auras
-- Tier procs
-- Glyph Proc
-- Role specific auras
RoleSpecific['CASTER']()
end,
PALADIN = function()
-- Holy auras
-- Protection auras
-- Retribution auras
-- Tier procs
-- Relic
-- Glyph Proc
-- Role specific auras
RoleSpecific['HEALER']()
RoleSpecific['MELEE']()
RoleSpecific['TANK']()
end,
PRIEST = function()
-- Discipline auras
config.AURAFILTER[89485] = true -- Inner Focus
config.AURAFILTER[59887] = true -- Borrowed Time (Rank 1)
config.AURAFILTER[59888] = true -- Borrowed Time (Rank 1)
config.AURAFILTER[96266] = true -- Strength of Soul (Rank 1)
config.AURAFILTER[96267] = true -- Strength of Soul (Rank 2)
config.AURAFILTER[45241] = true -- Focused Will (Rank 1)
config.AURAFILTER[45242] = true -- Focused Will (Rank 2)
-- Holy auras
config.AURAFILTER[88688] = true -- Surge of Light
-- Shadow auras
-- Tier procs
config.AURAFILTER[96219] = true -- Priest PvP 4P Bonus
-- Glyph Proc
-- Role specific auras
RoleSpecific['CASTER']()
RoleSpecific['HEALER']()
end,
ROGUE = function()
-- Assassination auras
-- Combat auras
-- Subtlety auras
-- Glyph Proc
-- Role specific auras
RoleSpecific['MELEE']()
end,
SHAMAN = function()
-- Elemental auras
-- Enhancement auras
-- Restoration auras
-- Tier procs
-- Relic
-- Glyph Proc
-- Role specific auras
RoleSpecific['CASTER']()
RoleSpecific['HEALER']()
RoleSpecific['MELEE']()
end,
WARLOCK = function()
-- Affliction auras
-- Demonology auras
config.AURAFILTER[63165] = true -- Decimation (Rank 1)
config.AURAFILTER[63167] = true -- Decimation (Rank 2)
config.AURAFILTER[47383] = true -- Molten Core (Rank 1)
config.AURAFILTER[71162] = true -- Molten Core (Rank 2)
config.AURAFILTER[71165] = true -- Molten Core (Rank 3)
-- Destruction auras
-- Tier procs
-- Glyph Proc
config.AURAFILTER[17941] = true -- Glyph of Corruption
-- Role specific auras
RoleSpecific['CASTER']()
end,
WARRIOR = function()
-- Arms auras
-- Fury auras
-- Protection auras
-- Tier procs
-- Glyph Proc
-- Role specific auras
RoleSpecific['MELEE']()
RoleSpecific['TANK']()
end,
}
-- General auras
config.AURAFILTER[10060] = true -- Power Infusion
config.AURAFILTER[47930] = true -- Grace (Rank 1)
config.AURAFILTER[77613] = true -- Grace (Rank 2)
config.AURAFILTER[47753] = true -- Divine Aegis
config.AURAFILTER[14893] = true -- Inspiration (Rank 1)
config.AURAFILTER[15357] = true -- Inspiration (Rank 2)
config.AURAFILTER[16240] = true -- Ancestral Healing
config.AURAFILTER[29166] = true -- Innervate
config.AURAFILTER[32182] = true -- Heroism
config.AURAFILTER[12443] = true -- Bloodlust
config.AURAFILTER[80353] = true -- Time Warp
config.AURAFILTER[33206] = true -- Pain Suppression
config.AURAFILTER[47788] = true -- Guardian Spirit
config.AURAFILTER[49016] = true -- Hysteria
-- Potion auras
-- Racial auras
local _, playerRace = UnitRace('player')
if RaceSpecific[playerRace] then RaceSpecific[playerRace]() end
-- Class specific auras
local _, playerClass = UnitClass('player')
if ClassSpecific[playerClass] then ClassSpecific[playerClass]() end
----------------------------
-- Do not edit below here --
----------------------------
ns.config = config