-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPowerRaidData.lua
427 lines (421 loc) · 13.7 KB
/
PowerRaidData.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
local PowerRaidData = {}
_G["PowerRaidData"] = PowerRaidData
local L = LibStub("AceLocale-3.0"):GetLocale("PowerRaid");
local ordered_table = LibStub("ordered_table")
PowerRaidData.RaidBuffs = ordered_table.create()
PowerRaidData.RaidBuffs["Prayer of Fortitude"] = {
["alts"] = {"21564", "10938"},
["castingClass"] = "PRIEST",
["excludedClasses"] = {},
["faction"] = nil,
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["Fort"],
}
PowerRaidData.RaidBuffs["Prayer of Spirit"] = {
["alts"] = {"27681", "27841"},
["castingClass"] = "PRIEST",
["excludedClasses"] = {"WARRIOR", "ROGUE"},
["faction"] = nil,
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["Spirit"],
}
PowerRaidData.RaidBuffs["Gift of the Wild"] = {
["alts"] = {"21850", "9885"},
["castingClass"] = "DRUID",
["excludedClasses"] = {},
["faction"] = nil,
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["MoTW"],
}
PowerRaidData.RaidBuffs["Arcane Brilliance"] = {
["alts"] = {"23028", "10157"},
["castingClass"] = "MAGE",
["excludedClasses"] = {"WARRIOR", "ROGUE"},
["faction"] = nil,
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["Int"],
}
PowerRaidData.RaidBuffs["Prayer of Shadow Protection"] = {
["alts"] = {"27683", "10958"},
["castingClass"] = "PRIEST",
["excludedClasses"] = {},
["faction"] = nil,
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["ShadowProt"],
}
PowerRaidData.WorldBuffs = ordered_table.create()
PowerRaidData.WorldBuffs["Rallying Cry of the Dragonslayer"] = {
["alts"] = {"22888"},
["castingClass"] = nil,
["excludedClasses"] = {},
["faction"] = nil,
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["Ony/Nef"],
}
PowerRaidData.WorldBuffs["Songflower Serenade"] = {
["alts"] = {"15366"},
["castingClass"] = nil,
["excludedClasses"] = {},
["faction"] = nil,
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["Songflower"],
}
PowerRaidData.WorldBuffs["Warchief's Blessing"] = {
["alts"] = {"16609"},
["castingClass"] = nil,
["excludedClasses"] = {},
["faction"] = "Horde",
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["Rend"],
}
PowerRaidData.WorldBuffs["DMF"] = {
["alts"] = {"23736", "23766", "23738", "23737", "23735", "23767", "23769", "23768"},
["castingClass"] = nil,
["excludedClasses"] = {},
["faction"] = nil,
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["DMF"],
["hideSpellTooltip"] = true,
}
PowerRaidData.WorldBuffs["DM Tribute"] = {
["alts"] = {"22817", "22820", "22818"},
["castingClass"] = nil,
["excludedClasses"] = {},
["faction"] = nil,
["icon"] = "Interface\\Icons\\spell_nature_massteleport",
["label"] = L["DMT"],
["playersBuffStatus"] = {},
["short"] = L["DMT"],
["hideSpellTooltip"] = true,
}
PowerRaidData.WorldBuffs["Spirit of Zandalar"] = {
["alts"] = {"24425"},
["castingClass"] = nil,
["excludedClasses"] = {},
["faction"] = nil,
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["ZG"],
}
PowerRaidData.WorldBuffs["Resist Fire"] = {
["alts"] = {"15123"},
["castingClass"] = nil,
["excludedClasses"] = {},
["faction"] = nil,
["icon"] = nil,
["label"] = L["UBRS"],
["playersBuffStatus"] = {},
["short"] = L["UBRS"],
}
PowerRaidData.PaladinBuffs = ordered_table.create()
PowerRaidData.PaladinBuffs["Greater Blessing of Kings"] = {
["alts"] = {"25898", "20217"},
["castingClass"] = "PALADIN",
["excludedClasses"] = {},
["faction"] = "Alliance",
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["Kings"],
}
PowerRaidData.PaladinBuffs["Greater Blessing of Might"] = {
["alts"] = {"25782", "25916", "19838", "25291"},
["castingClass"] = "PALADIN",
["excludedClasses"] = {"MAGE", "WARLOCK", "PRIEST"},
["faction"] = "Alliance",
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["Might"],
}
PowerRaidData.PaladinBuffs["Greater Blessing of Wisdom"] = {
["alts"] = {"25894", "25918", "19854", "25290"},
["castingClass"] = "PALADIN",
["excludedClasses"] = {"WARRIOR", "ROGUE"},
["faction"] = "Alliance",
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["Wisdom"],
}
PowerRaidData.PaladinBuffs["Greater Blessing of Salvation"] = {
["alts"] = {"25895", "1038"},
["castingClass"] = "PALADIN",
["excludedClasses"] = {},
["faction"] = "Alliance",
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["Salvation"],
}
PowerRaidData.PaladinBuffs["Greater Blessing of Sanctuary"] = {
["alts"] = {"25899", "20911"},
["castingClass"] = "PALADIN",
["excludedClasses"] = {},
["faction"] = "Alliance",
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["Sanctuary"],
}
PowerRaidData.PaladinBuffs["Greater Blessing of Light"] = {
["alts"] = {"25890", "19979"},
["castingClass"] = "PALADIN",
["excludedClasses"] = {},
["faction"] = "Alliance",
["icon"] = nil,
["label"] = "",
["playersBuffStatus"] = {},
["short"] = L["Light"],
}
local iterators = { PowerRaidData.RaidBuffs, PowerRaidData.WorldBuffs, PowerRaidData.PaladinBuffs }
for _, iterator in pairs(iterators) do
for _, spellData in pairs(iterator) do
if spellData["names"] == nil then
spellData["names"] = {}
end
for _, spellId in pairs(spellData["alts"]) do
local name, _, icon = GetSpellInfo(spellId)
table.insert(spellData["names"], name)
if spellData["icon"] == nil then
spellData["icon"] = icon
end
end
end
end
PowerRaidData.DefaultConsumesForSpecs = {
["All Classes"] = {
"5634", -- Free Action Potion
"10646", -- Goblin Sapper Charge
"13461", -- Greater Arcane Protection Potion
"13457", -- Greater Fire Protection Potion
"13456", -- Greater Frost Protection Potion
"13458", -- Greater Nature Protection Potion
"13459", -- Greater Shadow Protection Potion
"14530", -- Heavy Runecloth Bandage
"3387", -- Limited Invulnerability Potion
"20008", -- Living Action Potion
"19013", -- Major Healthstone
"9030", -- Restorative Potion
"15993", -- Thorium Grenade
},
["Shaman (Ele)"] = {},
["Shaman (Enh)"] = {},
["Druid (Feral DPS)"] = {},
["Druid (Moonkin)"] = {},
["Druid (Feral Tank)"] = {
"13810", -- Blessed Sunfruit
"12662", -- Demonic Rune/Dark Rune
"9206", -- Elixir of Giants
"13452", -- Elixir of the Mongoose
"13510", -- Flask of the Titans
"18269", -- Gordok Green Grog
"13928", -- Grilled Squid
"8412", -- Ground Scorpok Assay
"12450", -- Juju Flurry
"12460", -- Juju Might
"12451", -- Juju Power
"8411", -- Lung Juice Cocktail
"9449", -- Manual Crowd Pummeler
"8410", -- R.O.I.D.S.
"21151", -- Rumsey Rum Black Label
},
["Priest (Healing)"] = {
"8423", -- Cerebral Cortex Compound
"12662", -- Demonic Rune/Dark Rune
"9179", -- Elixir of Greater Intellect
"13511", -- Flask of Distilled Wisdom
"8424", -- Gizzard Gum
"18284", -- Kreeg's Stout Beatdown
"20007", -- Mageblood Potion
"13444", -- Major Mana Potion
"13931", -- Nightfin Soup
},
["Paladin (Holy)"] = {
"12662", -- Demonic Rune/Dark Rune
"13511", -- Flask of Distilled Wisdom
"18269", -- Gordok Green Grog
"8411", -- Lung Juice Cocktail
"20007", -- Mageblood Potion
"13444", -- Major Mana Potion
"13931", -- Nightfin Soup
"21151", -- Rumsey Rum Black Label
},
["Hunter"] = {
"12662", -- Demonic Rune/Dark Rune
"12654", -- Doomshot
"9187", -- Elixir of Greater Agility
"13452", -- Elixir of the Mongoose
"13510", -- Flask of the Titans
"18269", -- Gordok Green Grog
"13928", -- Grilled Squid
"8412", -- Ground Scorpok Assay
"12460", -- Juju Might
"12451", -- Juju Power
"13444", -- Major Mana Potion
"8410", -- R.O.I.D.S.
"21151", -- Rumsey Rum Black Label
"18042", -- Thorium Headed Arrow
"15997", -- Thorium Shells
"12820", -- Winterfall Firewater
},
["Mage"] = {
"12662", -- Demonic Rune/Dark Rune
"17708", -- Elixir of Frost Power
"21546", -- Elixir of Greater Firepower
"13447", -- Elixir of the Sages
"13512", -- Flask of Supreme Power
"13454", -- Greater Arcane Elixir
"20007", -- Mageblood Potion
"13444", -- Major Mana Potion
"13931", -- Nightfin Soup
"18254", -- Runn Tum Tuber Surprise
},
["Paladin (Prot)"] = {
"13810", -- Blessed Sunfruit
"12662", -- Demonic Rune/Dark Rune
"18262", -- Elemental Sharpening Stone
"3825", -- Elixir of Fortitude
"13452", -- Elixir of the Mongoose
"13510", -- Flask of the Titans
"18269", -- Gordok Green Grog
"13454", -- Greater Arcane Elixir
"8412", -- Ground Scorpok Assay
"12450", -- Juju Flurry
"12460", -- Juju Might
"12451", -- Juju Power
"13444", -- Major Mana Potion
"8410", -- R.O.I.D.S.
"21151", -- Rumsey Rum Black Label
},
["Warrior (Prot)"] = {
"13810", -- Blessed Sunfruit
"12404", -- Dense Sharpening Stone
"21023", -- Dirge's Kickin' Chimaerok Chops
"18262", -- Elemental Sharpening Stone
"9187", -- Elixir of Greater Agility
"13452", -- Elixir of the Mongoose
"13510", -- Flask of the Titans
"13455", -- Greater Stoneshield Potion
"8412", -- Ground Scorpok Assay
"12460", -- Juju Might
"12451", -- Juju Power
"8411", -- Lung Juice Cocktail
"13442", -- Mighty Rage Potion
"8410", -- R.O.I.D.S.
"21151", -- Rumsey Rum Black Label
"20452", -- Smoked Desert Dumplings
"18045", -- Tender Wolf Steak
},
["Druid (Resto)"] = {
"13813", -- Blessed Sunfruit Juice
"12662", -- Demonic Rune/Dark Rune
"13511", -- Flask of Distilled Wisdom
"18284", -- Kreeg's Stout Beatdown
"20007", -- Mageblood Potion
"13444", -- Major Mana Potion
"13931", -- Nightfin Soup
"18254", -- Runn Tum Tuber Surprise
},
["Shaman (Resto)"] = {
"8423", -- Cerebral Cortex Compound
"12662", -- Demonic Rune/Dark Rune
"13511", -- Flask of Distilled Wisdom
"8424", -- Gizzard Gum
"20007", -- Mageblood Potion
"13444", -- Major Mana Potion
"13931", -- Nightfin Soup
},
["Paladin (Ret)"] = {
"12662", -- Demonic Rune/Dark Rune
"18262", -- Elemental Sharpening Stone
"13452", -- Elixir of the Mongoose
"13452", -- Elixir of the Mongoose
"13511", -- Flask of Distilled Wisdom
"13510", -- Flask of the Titans
"18269", -- Gordok Green Grog
"13454", -- Greater Arcane Elixir
"8412", -- Ground Scorpok Assay
"12450", -- Juju Flurry
"12460", -- Juju Might
"12451", -- Juju Power
"13444", -- Major Mana Potion
"8410", -- R.O.I.D.S.
"21151", -- Rumsey Rum Black Label
"20452", -- Smoked Desert Dumplings
"12820", -- Winterfall Firewater
},
["Rogue"] = {
"13810", -- Blessed Sunfruit
"9206", -- Elixir of Giants
"9187", -- Elixir of Greater Agility
"13452", -- Elixir of the Mongoose
"13510", -- Flask of the Titans
"13928", -- Grilled Squid
"8412", -- Ground Scorpok Assay
"8928", -- Instant Poison VI
"12460", -- Juju Might
"12451", -- Juju Power
"8410", -- R.O.I.D.S.
"7676", -- Thistle Tea
"12820", -- Winterfall Firewater
},
["Priest (Shadow)"] = {
"8423", -- Cerebral Cortex Compound
"12662", -- Demonic Rune/Dark Rune
"9264", -- Elixir of Shadow Power
"13512", -- Flask of Supreme Power
"8424", -- Gizzard Gum
"13454", -- Greater Arcane Elixir
"18284", -- Kreeg's Stout Beatdown
"20007", -- Mageblood Potion
"13444", -- Major Mana Potion
"13931", -- Nightfin Soup
},
["Warlock"] = {
"12662", -- Demonic Rune/Dark Rune
"21546", -- Elixir of Greater Firepower
"9264", -- Elixir of Shadow Power
"13512", -- Flask of Supreme Power
"18269", -- Gordok Green Grog
"13454", -- Greater Arcane Elixir
"13444", -- Major Mana Potion
"21151", -- Rumsey Rum Black Label
"18254", -- Runn Tum Tuber Surprise
},
["Warrior (DPS)"] = {
"13810", -- Blessed Sunfruit
"18262", -- Elemental Sharpening Stone
"9206", -- Elixir of Giants
"9187", -- Elixir of Greater Agility
"13452", -- Elixir of the Mongoose
"13510", -- Flask of the Titans
"18269", -- Gordok Green Grog
"8412", -- Ground Scorpok Assay
"12460", -- Juju Might
"12451", -- Juju Power
"13442", -- Mighty Rage Potion
"8410", -- R.O.I.D.S.
"21151", -- Rumsey Rum Black Label
"20452", -- Smoked Desert Dumplings
}
}