/
Reminders.lua
336 lines (326 loc) · 8.98 KB
/
Reminders.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
local T, C, L, _ = unpack(select(2, ...))
----------------------------------------------------------------------------------------
-- The best way to add or delete spell is to go at www.wowhead.com, search for a spell.
-- Example: Flask of the Earth -> http://www.wowhead.com/spell=105694
-- Take the number ID at the end of the URL, and add it to the list
----------------------------------------------------------------------------------------
if C.reminder.raid_buffs_enable == true then
-- General buffs
T.ReminderBuffs = {
Flask = {
156071, -- Draenic Strength Flask
156077, -- Draenic Stamina Flask
156070, -- Draenic Intellect Flask
156073, -- Draenic Agility Flask
156080, -- Greater Draenic Strength Flask
156064, -- Greater Draenic Agility Flask
156084, -- Greater Draenic Stamina Flask
156079, -- Greater Draenic Intellect Flask
105694, -- Flask of the Earth
105691, -- Flask of the Warm Sun
105696, -- Flask of Winter's Bite
105693, -- Flask of Falling Leaves
105689, -- Flask of Spring Blossoms
},
BattleElixir = {
105686, -- Elixir of Perfection
105688, -- Monk's Elixir
105685, -- Elixir of Peace
105682, -- Mad Hozen Elixir
105683, -- Elixir of Weaponry
105684, -- Elixir of the Rapids
},
GuardianElixir = {
105687, -- Elixir of Mirrors
105681, -- Mantid Elixir
},
Food = {
104280, -- Well Fed
},
Stat = {
1126, -- Mark of the Wild
159988, -- Bark of the Wild (Dog)
160017, -- Blessing of Kongs (Gorilla)
90363, -- Embrace of the Shale Spider
160077, -- Strength of the Earth (Worm)
115921, -- Legacy of the Emperor
116781, -- Legacy of the White Tiger
20217, -- Blessing of Kings
},
Stamina = {
21562, -- Power Word: Fortitude
90364, -- Qiraji Fortitude (Silithid)
160003, -- Savage Vigor (Rylak)
160014, -- Sturdiness (Goat)
166928, -- Blood Pact
469, -- Commanding Shout
111922, -- Runescroll of Fortitude III
}
}
-- Caster buffs
function T.ReminderCasterBuffs()
Spell5Buff = { -- Spell Power
1459, -- Arcane Brilliance
61316, -- Dalaran Brilliance
126309, -- Still Water (Water Strider)
128433, -- Serpent's Cunning (Serpent)
90364, -- Qiraji Fortitude (Silithid)
109773, -- Dark Intent
}
end
-- Physical buffs
function T.ReminderPhysicalBuffs()
Spell5Buff = { -- Attack Power
57330, -- Horn of Winter
19506, -- Trueshot Aura
6673, -- Battle Shout
}
end
Spell6Buff = { -- Haste
116956, -- Grace of Air
55610, -- Unholy Aura
128432, -- Cackling Howl (Hyena)
135678, -- Energizing Spores (Sporebat)
160003, -- Savage Vigor (Rylak)
49868, -- Mind Quickening
113742, -- Swiftblade's Cunning
}
end
----------------------------------------------------------------------------------------
--[[------------------------------------------------------------------------------------
Spell Reminder Arguments
Type of Check:
spells - List of spells in a group, if you have anyone of these spells the icon will hide.
Spells only Requirements:
negate_spells - List of spells in a group, if you have anyone of these spells the icon will immediately hide and stop running the spell check (these should be other peoples spells)
personal - like a negate_spells but only for your spells
reversecheck - only works if you provide a role or a spec, instead of hiding the frame when you have the buff, it shows the frame when you have the buff
negate_reversecheck - if reversecheck is set you can set a spec to not follow the reverse check
Requirements:
role - you must be a certain role for it to display (Tank, Melee, Caster)
spec - you must be active in a specific spec for it to display (1, 2, 3) note: spec order can be viewed from top to bottom when you open your talent pane
level - the minimum level you must be (most of the time we don't need to use this because it will register the spell learned event if you don't know the spell, but in some cases it may be useful)
Additional Checks: (Note we always run a check when gaining/losing an aura)
instance - check when entering a party/raid instance
pvp - check when entering a bg/arena
combat - check when entering combat
For every group created a new frame is created, it's a lot easier this way.
]]--------------------------------------------------------------------------------------
if C.reminder.solo_buffs_enable == true then
T.ReminderSelfBuffs = {
DEATHKNIGHT = {
[1] = { -- Horn of Winter group
["spells"] = {
57330, -- Horn of Winter
},
["negate_spells"] = {
6673, -- Battle Shout
19506, -- Trueshot Aura
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
[2] = { -- Blood Presence group
["spells"] = {
48263, -- Blood Presence
},
["role"] = "Tank",
["instance"] = true,
["reversecheck"] = true,
},
},
DRUID = {
[1] = { -- Mark of the Wild group
["spells"] = {
1126, -- Mark of the Wild
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
},
MAGE = {
[1] = { -- Brilliance group
["spells"] = {
1459, -- Arcane Brilliance
61316, -- Dalaran Brilliance
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
},
MONK = {
[1] = { -- Legacy of the Emperor group
["spells"] = {
115921, -- Legacy of the Emperor
},
["negate_spells"] = {
1126, -- Mark of the Wild
160017, -- Blessing of Kongs (Gorilla)
90363, -- Embrace of the Shale Spider
160077, -- Strength of the Earth (Worm)
116781, -- Legacy of the White Tiger
20217, -- Blessing of Kings
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
[2] = { -- Legacy of the White Tiger group
["spells"] = {
116781, -- Legacy of the White Tiger
},
["negate_spells"] = {
90363, -- Embrace of the Shale Spider
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
},
PALADIN = {
[1] = { -- Righteous Fury group
["spells"] = {
25780, -- Righteous Fury
},
["role"] = "Tank",
["instance"] = true,
["reversecheck"] = true,
["negate_reversecheck"] = 1, -- Holy paladins use RF sometimes
},
[2] = { -- Blessing of Kings group
["spells"] = {
20217, -- Blessing of Kings
},
["negate_spells"] = {
1126, -- Mark of the Wild
160017, -- Blessing of Kongs (Gorilla)
90363, -- Embrace of the Shale Spider
160077, -- Strength of the Earth (Worm)
115921, -- Legacy of the Emperor
116781, -- Legacy of the White Tiger
},
["personal"] = {
19740, -- Blessing of Might
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
[3] = { -- Blessing of Might group
["spells"] = {
19740, -- Blessing of Might
},
["negate_spells"] = {
116956, -- Grace of Air
93435, -- Roar of Courage
128997, -- Spirit Beast Blessing
155522, -- Power of the Grave
},
["personal"] = {
20217, -- Blessing of Kings
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
},
PRIEST = {
[1] = { -- Stamina group
["spells"] = {
21562, -- Power Word: Fortitude
},
["negate_spells"] = {
90364, -- Qiraji Fortitude (Silithid)
160003, -- Savage Vigor (Rylak)
160014, -- Sturdiness (Goat)
166928, -- Blood Pact
469, -- Commanding Shout
},
["combat"] = true,
["instance"] = true,
["pvp"] = true
},
},
ROGUE = {
[1] = { -- Lethal Poisons group
["spells"] = {
2823, -- Deadly Poison
8679, -- Wound Poison
157584, -- Instant Poison
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
[2] = { -- Non-Lethal Poisons group
["spells"] = {
3408, -- Crippling Poison
108211, -- Leeching Poison
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
},
SHAMAN = {
[1] = { -- Shields group
["spells"] = {
52127, -- Water Shield
324, -- Lightning Shield
974, -- Earth Shield
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
},
WARLOCK = {
[1] = { -- Dark Intent group
["spells"] = {
109773, -- Dark Intent
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
},
WARRIOR = {
[1] = { -- Commanding Shout group
["spells"] = {
469, -- Commanding Shout
},
["negate_spells"] = {
90364, -- Qiraji Fortitude (Silithid)
160003, -- Savage Vigor (Rylak)
160014, -- Sturdiness (Goat)
21562, -- Power Word: Fortitude
166928, -- Blood Pact
},
["personal"] = {
6673, -- Battle Shout
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
[2] = { -- Battle Shout group
["spells"] = {
6673, -- Battle Shout
},
["negate_spells"] = {
19506, -- Trueshot Aura
57330, -- Horn of Winter
},
["personal"] = {
469, -- Commanding Shout
},
["combat"] = true,
["instance"] = true,
["pvp"] = true,
},
},
}
end