vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | CountDoomSpellMapping = {}; |
2 | |||
3 | |||
4 | CountDoomSpell = {}; |
||
5 | --[[ |
||
6 | spell = "amplify"; |
||
7 | CountDoomSpell[ spell ] = {}; |
||
8 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_AMPLIFY_CURSE; |
||
9 | CountDoomSpell[ spell ].type = COUNTDOOMSPELL_AMPLIFY_CURSE; |
||
10 | CountDoomSpell[ spell ].replacesSameType = true; |
||
11 | CountDoomSpell[ spell ].duration = 30; |
||
12 | CountDoomSpell[ spell ].rankDuration = {}; |
||
13 | CountDoomSpell[ spell ].rankDuration[1] = 30; |
||
14 | CountDoomSpell[ spell ].countDown = false; |
||
15 | CountDoomSpell[ spell ].warningTime = 5; |
||
16 | CountDoomSpell[ spell ].combatOnly = true; |
||
17 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_Contagion"; |
||
18 | CountDoomSpell[ spell ].soundStart = false; |
||
19 | CountDoomSpell[ spell ].soundWarning = false; |
||
20 | CountDoomSpell[ spell ].soundEnd = false; |
||
21 | CountDoomSpell[ spell ].announceStart = false; |
||
22 | CountDoomSpell[ spell ].announceWarning = false; |
||
23 | CountDoomSpell[ spell ].announceEnd = false; |
||
24 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
25 | --]] |
||
26 | |||
27 | spell = "banish"; |
||
28 | CountDoomSpell[ spell ] = {}; |
||
29 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_BANISH; |
||
30 | CountDoomSpell[ spell ].type = COUNTDOOMSPELL_BANISH; |
||
31 | CountDoomSpell[ spell ].replacesSameType = false; |
||
32 | CountDoomSpell[ spell ].duration = 30; |
||
33 | CountDoomSpell[ spell ].rankDuration = {}; |
||
34 | CountDoomSpell[ spell ].rankDuration[1] = 20; |
||
35 | CountDoomSpell[ spell ].rankDuration[2] = 30; |
||
36 | CountDoomSpell[ spell ].countDown = true; |
||
37 | CountDoomSpell[ spell ].warningTime = 5; |
||
38 | CountDoomSpell[ spell ].combatOnly = true; |
||
39 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_Cripple"; |
||
40 | CountDoomSpell[ spell ].soundStart = false; |
||
41 | CountDoomSpell[ spell ].soundWarning = false; |
||
42 | CountDoomSpell[ spell ].soundEnd = false; |
||
43 | CountDoomSpell[ spell ].announceStart = true; |
||
44 | CountDoomSpell[ spell ].announceWarning = true; |
||
45 | CountDoomSpell[ spell ].announceEnd = false; |
||
46 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
47 | |||
48 | spell = "coa"; |
||
49 | CountDoomSpell[ spell ] = {}; |
||
50 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_CURSEOFAGONY; |
||
51 | CountDoomSpell[ spell ].type = "curse"; |
||
52 | CountDoomSpell[ spell ].replacesSameType = true; |
||
53 | CountDoomSpell[ spell ].duration = 24; |
||
54 | CountDoomSpell[ spell ].rankDuration = {}; |
||
55 | CountDoomSpell[ spell ].rankDuration[1] = 24; |
||
56 | CountDoomSpell[ spell ].rankDuration[2] = 24; |
||
57 | CountDoomSpell[ spell ].rankDuration[3] = 24; |
||
58 | CountDoomSpell[ spell ].rankDuration[4] = 24; |
||
59 | CountDoomSpell[ spell ].rankDuration[5] = 24; |
||
60 | CountDoomSpell[ spell ].rankDuration[6] = 24; |
||
61 | CountDoomSpell[ spell ].countDown = true; |
||
62 | CountDoomSpell[ spell ].warningTime = 5; |
||
63 | CountDoomSpell[ spell ].combatOnly = true; |
||
64 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_CurseOfSargeras"; |
||
65 | CountDoomSpell[ spell ].soundStart = false; |
||
66 | CountDoomSpell[ spell ].soundWarning = false; |
||
67 | CountDoomSpell[ spell ].soundEnd = false; |
||
68 | CountDoomSpell[ spell ].announceStart = false; |
||
69 | CountDoomSpell[ spell ].announceWarning = false; |
||
70 | CountDoomSpell[ spell ].announceEnd = false; |
||
71 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
72 | |||
73 | spell = "cod"; |
||
74 | CountDoomSpell[ spell ] = {}; |
||
75 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_CURSEOFDOOM; |
||
76 | CountDoomSpell[ spell ].type = "curse"; |
||
77 | CountDoomSpell[ spell ].replacesSameType = true; |
||
78 | CountDoomSpell[ spell ].duration = 60; |
||
79 | CountDoomSpell[ spell ].rankDuration = {}; |
||
80 | CountDoomSpell[ spell ].rankDuration[1] = 60; |
||
81 | CountDoomSpell[ spell ].countDown = true; |
||
82 | CountDoomSpell[ spell ].warningTime = 5; |
||
83 | CountDoomSpell[ spell ].combatOnly = true; |
||
84 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_AuraOfDarkness"; |
||
85 | CountDoomSpell[ spell ].soundStart = false; |
||
86 | CountDoomSpell[ spell ].soundWarning = false; |
||
87 | CountDoomSpell[ spell ].soundEnd = false; |
||
88 | CountDoomSpell[ spell ].announceStart = false; |
||
89 | CountDoomSpell[ spell ].announceWarning = true; |
||
90 | CountDoomSpell[ spell ].announceEnd = false; |
||
91 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
92 | |||
93 | spell = "coe"; |
||
94 | CountDoomSpell[ spell ] = {}; |
||
95 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_CURSEOFTHEELEMENTS; |
||
96 | CountDoomSpell[ spell ].type = "curse"; |
||
97 | CountDoomSpell[ spell ].replacesSameType = true; |
||
98 | CountDoomSpell[ spell ].duration = 300; |
||
99 | CountDoomSpell[ spell ].rankDuration = {}; |
||
100 | CountDoomSpell[ spell ].rankDuration[1] = 300; |
||
101 | CountDoomSpell[ spell ].rankDuration[2] = 300; |
||
102 | CountDoomSpell[ spell ].rankDuration[3] = 300; |
||
103 | CountDoomSpell[ spell ].countDown = true; |
||
104 | CountDoomSpell[ spell ].warningTime = 30; |
||
105 | CountDoomSpell[ spell ].combatOnly = true; |
||
106 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_ChillTouch"; |
||
107 | CountDoomSpell[ spell ].soundStart = false; |
||
108 | CountDoomSpell[ spell ].soundWarning = false; |
||
109 | CountDoomSpell[ spell ].soundEnd = false; |
||
110 | CountDoomSpell[ spell ].announceStart = false; |
||
111 | CountDoomSpell[ spell ].announceWarning = false; |
||
112 | CountDoomSpell[ spell ].announceEnd = false; |
||
113 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
114 | |||
115 | spell = "coex"; |
||
116 | CountDoomSpell[ spell ] = {}; |
||
117 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_CURSEOFEXHAUSTION; |
||
118 | CountDoomSpell[ spell ].type = "curse"; |
||
119 | CountDoomSpell[ spell ].replacesSameType = true; |
||
120 | CountDoomSpell[ spell ].duration = 12; |
||
121 | CountDoomSpell[ spell ].rankDuration = {}; |
||
122 | CountDoomSpell[ spell ].rankDuration[1] = 12; |
||
123 | CountDoomSpell[ spell ].countDown = true; |
||
124 | CountDoomSpell[ spell ].warningTime = 2; |
||
125 | CountDoomSpell[ spell ].combatOnly = true; |
||
126 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_GrimWard"; |
||
127 | CountDoomSpell[ spell ].soundStart = false; |
||
128 | CountDoomSpell[ spell ].soundWarning = false; |
||
129 | CountDoomSpell[ spell ].soundEnd = false; |
||
130 | CountDoomSpell[ spell ].announceStart = false; |
||
131 | CountDoomSpell[ spell ].announceWarning = false; |
||
132 | CountDoomSpell[ spell ].announceEnd = false; |
||
133 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
134 | |||
135 | spell = "cor"; |
||
136 | CountDoomSpell[ spell ] = {}; |
||
137 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_CURSEOFRECKLESSNESS; |
||
138 | CountDoomSpell[ spell ].type = "curse"; |
||
139 | CountDoomSpell[ spell ].replacesSameType = true; |
||
140 | CountDoomSpell[ spell ].duration = 120; |
||
141 | CountDoomSpell[ spell ].rankDuration = {}; |
||
142 | CountDoomSpell[ spell ].rankDuration[1] = 120; |
||
143 | CountDoomSpell[ spell ].rankDuration[2] = 120; |
||
144 | CountDoomSpell[ spell ].rankDuration[3] = 120; |
||
145 | CountDoomSpell[ spell ].rankDuration[4] = 120; |
||
146 | CountDoomSpell[ spell ].countDown = true; |
||
147 | CountDoomSpell[ spell ].warningTime = 15; |
||
148 | CountDoomSpell[ spell ].combatOnly = true; |
||
149 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_UnholyStrength"; |
||
150 | CountDoomSpell[ spell ].soundStart = false; |
||
151 | CountDoomSpell[ spell ].soundWarning = false; |
||
152 | CountDoomSpell[ spell ].soundEnd = false; |
||
153 | CountDoomSpell[ spell ].announceStart = false; |
||
154 | CountDoomSpell[ spell ].announceWarning = false; |
||
155 | CountDoomSpell[ spell ].announceEnd = false; |
||
156 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
157 | |||
158 | spell = "corruption"; |
||
159 | CountDoomSpell[ spell ] = {}; |
||
160 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_CORRUPTION; |
||
161 | CountDoomSpell[ spell ].type = COUNTDOOMSPELL_CORRUPTION; |
||
162 | CountDoomSpell[ spell ].replacesSameType = true; |
||
163 | CountDoomSpell[ spell ].duration = 18; |
||
164 | CountDoomSpell[ spell ].rankDuration = {}; |
||
165 | CountDoomSpell[ spell ].rankDuration[1] = 12; |
||
166 | CountDoomSpell[ spell ].rankDuration[2] = 15; |
||
167 | CountDoomSpell[ spell ].rankDuration[3] = 18; |
||
168 | CountDoomSpell[ spell ].rankDuration[4] = 18; |
||
169 | CountDoomSpell[ spell ].rankDuration[5] = 18; |
||
170 | CountDoomSpell[ spell ].rankDuration[6] = 18; |
||
171 | CountDoomSpell[ spell ].countDown = true; |
||
172 | CountDoomSpell[ spell ].warningTime = 5; |
||
173 | CountDoomSpell[ spell ].combatOnly = true; |
||
174 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_AbominationExplosion"; |
||
175 | CountDoomSpell[ spell ].soundStart = false; |
||
176 | CountDoomSpell[ spell ].soundWarning = false; |
||
177 | CountDoomSpell[ spell ].soundEnd = false; |
||
178 | CountDoomSpell[ spell ].announceStart = false; |
||
179 | CountDoomSpell[ spell ].announceWarning = false; |
||
180 | CountDoomSpell[ spell ].announceEnd = false; |
||
181 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
182 | |||
183 | spell = "cos"; |
||
184 | CountDoomSpell[ spell ] = {}; |
||
185 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_CURSEOFSHADOW; |
||
186 | CountDoomSpell[ spell ].type = "curse"; |
||
187 | CountDoomSpell[ spell ].replacesSameType = true; |
||
188 | CountDoomSpell[ spell ].duration = 300; |
||
189 | CountDoomSpell[ spell ].rankDuration = {}; |
||
190 | CountDoomSpell[ spell ].rankDuration[1] = 300; |
||
191 | CountDoomSpell[ spell ].rankDuration[2] = 300; |
||
192 | CountDoomSpell[ spell ].countDown = true; |
||
193 | CountDoomSpell[ spell ].warningTime = 30; |
||
194 | CountDoomSpell[ spell ].combatOnly = true; |
||
195 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_CurseOfAchimonde"; |
||
196 | CountDoomSpell[ spell ].soundStart = false; |
||
197 | CountDoomSpell[ spell ].soundWarning = false; |
||
198 | CountDoomSpell[ spell ].soundEnd = false; |
||
199 | CountDoomSpell[ spell ].announceStart = false; |
||
200 | CountDoomSpell[ spell ].announceWarning = false; |
||
201 | CountDoomSpell[ spell ].announceEnd = false; |
||
202 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
203 | |||
204 | spell = "cot"; |
||
205 | CountDoomSpell[ spell ] = {}; |
||
206 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_CURSEOFTONGUES; |
||
207 | CountDoomSpell[ spell ].type = "curse"; |
||
208 | CountDoomSpell[ spell ].replacesSameType = true; |
||
209 | CountDoomSpell[ spell ].duration = 30; |
||
210 | CountDoomSpell[ spell ].rankDuration = {}; |
||
211 | CountDoomSpell[ spell ].rankDuration[1] = 30; |
||
212 | CountDoomSpell[ spell ].rankDuration[2] = 30; |
||
213 | CountDoomSpell[ spell ].countDown = true; |
||
214 | CountDoomSpell[ spell ].warningTime = 5; |
||
215 | CountDoomSpell[ spell ].combatOnly = true; |
||
216 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_CurseOfTounges"; |
||
217 | CountDoomSpell[ spell ].soundStart = false; |
||
218 | CountDoomSpell[ spell ].soundWarning = false; |
||
219 | CountDoomSpell[ spell ].soundEnd = false; |
||
220 | CountDoomSpell[ spell ].announceStart = false; |
||
221 | CountDoomSpell[ spell ].announceWarning = false; |
||
222 | CountDoomSpell[ spell ].announceEnd = false; |
||
223 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
224 | |||
225 | |||
226 | spell = "cow"; |
||
227 | CountDoomSpell[ spell ] = {}; |
||
228 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_CURSEOFWEAKNESS; |
||
229 | CountDoomSpell[ spell ].type = "curse"; |
||
230 | CountDoomSpell[ spell ].replacesSameType = true; |
||
231 | CountDoomSpell[ spell ].duration = 120; |
||
232 | CountDoomSpell[ spell ].rankDuration = {}; |
||
233 | CountDoomSpell[ spell ].rankDuration[1] = 120; |
||
234 | CountDoomSpell[ spell ].rankDuration[2] = 120; |
||
235 | CountDoomSpell[ spell ].rankDuration[3] = 120; |
||
236 | CountDoomSpell[ spell ].rankDuration[4] = 120; |
||
237 | CountDoomSpell[ spell ].rankDuration[5] = 120; |
||
238 | CountDoomSpell[ spell ].rankDuration[6] = 120; |
||
239 | CountDoomSpell[ spell ].countDown = true; |
||
240 | CountDoomSpell[ spell ].warningTime = 15; |
||
241 | CountDoomSpell[ spell ].combatOnly = true; |
||
242 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_CurseOfMannoroth"; |
||
243 | CountDoomSpell[ spell ].soundStart = false; |
||
244 | CountDoomSpell[ spell ].soundWarning = false; |
||
245 | CountDoomSpell[ spell ].soundEnd = false; |
||
246 | CountDoomSpell[ spell ].announceStart = false; |
||
247 | CountDoomSpell[ spell ].announceWarning = false; |
||
248 | CountDoomSpell[ spell ].announceEnd = false; |
||
249 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
250 | |||
251 | spell = "enslave"; |
||
252 | CountDoomSpell[ spell ] = {}; |
||
253 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_ENSLAVEDEMON; |
||
254 | CountDoomSpell[ spell ].type = COUNTDOOMSPELL_ENSLAVEDEMON; |
||
255 | CountDoomSpell[ spell ].replacesSameType = true; |
||
256 | CountDoomSpell[ spell ].duration = 300; |
||
257 | CountDoomSpell[ spell ].rankDuration = {}; |
||
258 | CountDoomSpell[ spell ].rankDuration[1] = 300; |
||
259 | CountDoomSpell[ spell ].rankDuration[2] = 300; |
||
260 | CountDoomSpell[ spell ].rankDuration[3] = 300; |
||
261 | CountDoomSpell[ spell ].countDown = false; |
||
262 | CountDoomSpell[ spell ].warningTime = 60; |
||
263 | CountDoomSpell[ spell ].combatOnly = false; |
||
264 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_EnslaveDemon"; |
||
265 | CountDoomSpell[ spell ].soundStart = false; |
||
266 | CountDoomSpell[ spell ].soundWarning = true; |
||
267 | CountDoomSpell[ spell ].soundEnd = true; |
||
268 | CountDoomSpell[ spell ].announceStart = true; |
||
269 | CountDoomSpell[ spell ].announceWarning = true; |
||
270 | CountDoomSpell[ spell ].announceEnd = false; |
||
271 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
272 | |||
273 | spell = "fear"; |
||
274 | CountDoomSpell[ spell ] = {}; |
||
275 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_FEAR; |
||
276 | CountDoomSpell[ spell ].type = COUNTDOOMSPELL_FEAR; |
||
277 | CountDoomSpell[ spell ].replacesSameType = true; |
||
278 | CountDoomSpell[ spell ].duration = 20; |
||
279 | CountDoomSpell[ spell ].rankDuration = {}; |
||
280 | CountDoomSpell[ spell ].rankDuration[1] = 10; |
||
281 | CountDoomSpell[ spell ].rankDuration[2] = 15; |
||
282 | CountDoomSpell[ spell ].rankDuration[3] = 20; |
||
283 | CountDoomSpell[ spell ].countDown = true; |
||
284 | CountDoomSpell[ spell ].warningTime = 5; |
||
285 | CountDoomSpell[ spell ].combatOnly = true; |
||
286 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_Possession"; |
||
287 | CountDoomSpell[ spell ].soundStart = false; |
||
288 | CountDoomSpell[ spell ].soundWarning = false; |
||
289 | CountDoomSpell[ spell ].soundEnd = false; |
||
290 | CountDoomSpell[ spell ].announceStart = false; |
||
291 | CountDoomSpell[ spell ].announceWarning = false; |
||
292 | CountDoomSpell[ spell ].announceEnd = false; |
||
293 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
294 | |||
295 | spell = "howl"; |
||
296 | CountDoomSpell[ spell ] = {}; |
||
297 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_HOWLOFTERROR; |
||
298 | CountDoomSpell[ spell ].type = COUNTDOOMSPELL_HOWLOFTERROR; |
||
299 | CountDoomSpell[ spell ].replacesSameType = true; |
||
300 | CountDoomSpell[ spell ].duration = 15; |
||
301 | CountDoomSpell[ spell ].rankDuration = {}; |
||
302 | CountDoomSpell[ spell ].rankDuration[1] = 10; |
||
303 | CountDoomSpell[ spell ].rankDuration[2] = 15; |
||
304 | CountDoomSpell[ spell ].countDown = true; |
||
305 | CountDoomSpell[ spell ].warningTime = 5; |
||
306 | CountDoomSpell[ spell ].combatOnly = true; |
||
307 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_DeathScream"; |
||
308 | CountDoomSpell[ spell ].soundStart = false; |
||
309 | CountDoomSpell[ spell ].soundWarning = false; |
||
310 | CountDoomSpell[ spell ].soundEnd = false; |
||
311 | CountDoomSpell[ spell ].announceStart = false; |
||
312 | CountDoomSpell[ spell ].announceWarning = false; |
||
313 | CountDoomSpell[ spell ].announceEnd = false; |
||
314 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
315 | |||
316 | spell = "immolate"; |
||
317 | CountDoomSpell[ spell ] = {}; |
||
318 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_IMMOLATE; |
||
319 | CountDoomSpell[ spell ].type = COUNTDOOMSPELL_IMMOLATE; |
||
320 | CountDoomSpell[ spell ].replacesSameType = true; |
||
321 | CountDoomSpell[ spell ].duration = 15; |
||
322 | CountDoomSpell[ spell ].rankDuration = {}; |
||
323 | CountDoomSpell[ spell ].rankDuration[1] = 15; |
||
324 | CountDoomSpell[ spell ].rankDuration[2] = 15; |
||
325 | CountDoomSpell[ spell ].rankDuration[3] = 15; |
||
326 | CountDoomSpell[ spell ].rankDuration[4] = 15; |
||
327 | CountDoomSpell[ spell ].rankDuration[5] = 15; |
||
328 | CountDoomSpell[ spell ].rankDuration[6] = 15; |
||
329 | CountDoomSpell[ spell ].rankDuration[7] = 15; |
||
330 | CountDoomSpell[ spell ].countDown = true; |
||
331 | CountDoomSpell[ spell ].warningTime = 5; |
||
332 | CountDoomSpell[ spell ].combatOnly = true; |
||
333 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Fire_Immolation"; |
||
334 | CountDoomSpell[ spell ].soundStart = false; |
||
335 | CountDoomSpell[ spell ].soundWarning = false; |
||
336 | CountDoomSpell[ spell ].soundEnd = false; |
||
337 | CountDoomSpell[ spell ].announceStart = false; |
||
338 | CountDoomSpell[ spell ].announceWarning = false; |
||
339 | CountDoomSpell[ spell ].announceEnd = false; |
||
340 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
341 | |||
342 | |||
343 | spell = "conflagrate"; |
||
344 | CountDoomSpell[ spell ] = {}; |
||
345 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_CONFLAGRATE; |
||
346 | CountDoomSpell[ spell ].type = COUNTDOOMSPELL_IMMOLATE; |
||
347 | CountDoomSpell[ spell ].replacesSameType = true; |
||
348 | CountDoomSpell[ spell ].duration = 1; |
||
349 | CountDoomSpell[ spell ].rankDuration = {}; |
||
350 | CountDoomSpell[ spell ].rankDuration[1] = 1; |
||
351 | CountDoomSpell[ spell ].countDown = true; |
||
352 | CountDoomSpell[ spell ].warningTime = 0; |
||
353 | CountDoomSpell[ spell ].combatOnly = true; |
||
354 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Fire_Fireball"; |
||
355 | CountDoomSpell[ spell ].soundStart = false; |
||
356 | CountDoomSpell[ spell ].soundWarning = false; |
||
357 | CountDoomSpell[ spell ].soundEnd = false; |
||
358 | CountDoomSpell[ spell ].announceStart = false; |
||
359 | CountDoomSpell[ spell ].announceWarning = false; |
||
360 | CountDoomSpell[ spell ].announceEnd = false; |
||
361 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
362 | |||
363 | |||
364 | spell = "siphon"; |
||
365 | CountDoomSpell[ spell ] = {}; |
||
366 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_SIPHONLIFE; |
||
367 | CountDoomSpell[ spell ].type = COUNTDOOMSPELL_SIPHONLIFE; |
||
368 | CountDoomSpell[ spell ].replacesSameType = true; |
||
369 | CountDoomSpell[ spell ].duration = 30; |
||
370 | CountDoomSpell[ spell ].rankDuration = {}; |
||
371 | CountDoomSpell[ spell ].rankDuration[1] = 30; |
||
372 | CountDoomSpell[ spell ].rankDuration[2] = 30; |
||
373 | CountDoomSpell[ spell ].rankDuration[3] = 30; |
||
374 | CountDoomSpell[ spell ].rankDuration[4] = 30; |
||
375 | CountDoomSpell[ spell ].countDown = true; |
||
376 | CountDoomSpell[ spell ].warningTime = 5; |
||
377 | CountDoomSpell[ spell ].combatOnly = true; |
||
378 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_Requiem"; |
||
379 | CountDoomSpell[ spell ].soundStart = false; |
||
380 | CountDoomSpell[ spell ].soundWarning = false; |
||
381 | CountDoomSpell[ spell ].soundEnd = false; |
||
382 | CountDoomSpell[ spell ].announceStart = false; |
||
383 | CountDoomSpell[ spell ].announceWarning = false; |
||
384 | CountDoomSpell[ spell ].announceEnd = false; |
||
385 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
386 | |||
387 | spell = "seduce"; |
||
388 | CountDoomSpell[ spell ] = {}; |
||
389 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_SEDUCE; |
||
390 | CountDoomSpell[ spell ].type = COUNTDOOMSPELL_SEDUCE; |
||
391 | CountDoomSpell[ spell ].replacesSameType = true; |
||
392 | CountDoomSpell[ spell ].duration = 15; |
||
393 | CountDoomSpell[ spell ].rankDuration = {}; |
||
394 | CountDoomSpell[ spell ].rankDuration[1] = 15; |
||
395 | CountDoomSpell[ spell ].countDown = true; |
||
396 | CountDoomSpell[ spell ].warningTime = 5; |
||
397 | CountDoomSpell[ spell ].combatOnly = true; |
||
398 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_MindSteal"; |
||
399 | CountDoomSpell[ spell ].soundStart = false; |
||
400 | CountDoomSpell[ spell ].soundWarning = false; |
||
401 | CountDoomSpell[ spell ].soundEnd = false; |
||
402 | CountDoomSpell[ spell ].announceStart = false; |
||
403 | CountDoomSpell[ spell ].announceWarning = false; |
||
404 | CountDoomSpell[ spell ].announceEnd = false; |
||
405 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
406 | |||
407 | spell = "spelllock"; |
||
408 | CountDoomSpell[ spell ] = {}; |
||
409 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_SPELL_LOCK; |
||
410 | CountDoomSpell[ spell ].type = COUNTDOOMSPELL_SPELL_LOCK; |
||
411 | CountDoomSpell[ spell ].replacesSameType = true; |
||
412 | CountDoomSpell[ spell ].duration = 3; |
||
413 | CountDoomSpell[ spell ].rankDuration = {}; |
||
414 | CountDoomSpell[ spell ].rankDuration[1] = 3; |
||
415 | CountDoomSpell[ spell ].countDown = true; |
||
416 | CountDoomSpell[ spell ].warningTime = 1; |
||
417 | CountDoomSpell[ spell ].combatOnly = true; |
||
418 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_MindRot"; |
||
419 | CountDoomSpell[ spell ].soundStart = false; |
||
420 | CountDoomSpell[ spell ].soundWarning = false; |
||
421 | CountDoomSpell[ spell ].soundEnd = false; |
||
422 | CountDoomSpell[ spell ].announceStart = false; |
||
423 | CountDoomSpell[ spell ].announceWarning = false; |
||
424 | CountDoomSpell[ spell ].announceEnd = false; |
||
425 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
426 | |||
427 | |||
428 | spell = "coil"; |
||
429 | CountDoomSpell[ spell ] = {}; |
||
430 | CountDoomSpell[ spell ].text = COUNTDOOMSPELL_DEATH_COIL; |
||
431 | CountDoomSpell[ spell ].type = COUNTDOOMSPELL_DEATH_COIL; |
||
432 | CountDoomSpell[ spell ].replacesSameType = true; |
||
433 | CountDoomSpell[ spell ].duration = 3; |
||
434 | CountDoomSpell[ spell ].rankDuration = {}; |
||
435 | CountDoomSpell[ spell ].rankDuration[1] = 3; |
||
436 | CountDoomSpell[ spell ].rankDuration[2] = 3; |
||
437 | CountDoomSpell[ spell ].rankDuration[3] = 3; |
||
438 | CountDoomSpell[ spell ].countDown = true; |
||
439 | CountDoomSpell[ spell ].warningTime = 2; |
||
440 | CountDoomSpell[ spell ].combatOnly = true; |
||
441 | CountDoomSpell[ spell ].icon = "Interface\\Icons\\Spell_Shadow_DeathCoil"; |
||
442 | CountDoomSpell[ spell ].soundStart = false; |
||
443 | CountDoomSpell[ spell ].soundWarning = false; |
||
444 | CountDoomSpell[ spell ].soundEnd = false; |
||
445 | CountDoomSpell[ spell ].announceStart = false; |
||
446 | CountDoomSpell[ spell ].announceWarning = false; |
||
447 | CountDoomSpell[ spell ].announceEnd = false; |
||
448 | CountDoomSpellMapping[ CountDoomSpell[ spell ].text ] = spell; |
||
449 | |||
450 | |||
451 | CountDoomSpell.Dump = function ( spell ) |
||
452 | if( spell == nil ) then |
||
453 | return; |
||
454 | end |
||
455 | |||
456 | local enabled = CountDoom.config.enableSpell[ spell ]; |
||
457 | local config = CountDoomSpell[ spell ]; |
||
458 | |||
459 | CountDoom.prt( "Name: " .. config.text ); |
||
460 | CountDoom.prt( "Enabled: " .. CountDoom.ToStr( enabled ) ); |
||
461 | |||
462 | local rank = 1; |
||
463 | while config.rankDuration[ rank ] ~= nil do |
||
464 | CountDoom.prt( "Duration[" .. rank .. "]: " .. config.rankDuration[ rank ] ); |
||
465 | rank = rank + 1; |
||
466 | end |
||
467 | CountDoom.prt( "Countdown: " .. CountDoom.ToStr( config.countDown ) ); |
||
468 | CountDoom.prt( "Warning Time: " .. config.warningTime ); |
||
469 | CountDoom.prt( "Combat Only: " .. CountDoom.ToStr( config.combatOnly ) ); |
||
470 | CountDoom.prt( "Icon: " .. config.icon ); |
||
471 | |||
472 | --CountDoom.prt( "Play Spell Start: " .. CountDoom.ToStr( config.soundStart ) ); |
||
473 | CountDoom.prt( "Play Spell Warn: " .. CountDoom.ToStr( CountDoom.config.warningSound[ spell ] ) ); |
||
474 | CountDoom.prt( "Play Spell End: " .. CountDoom.ToStr( CountDoom.config.endSound[ spell ] ) ); |
||
475 | |||
476 | --CountDoom.prt( "Announce Spell Start: " .. CountDoom.ToStr( config.announceStart ) ); |
||
477 | CountDoom.prt( "Announce Spell Warn: " .. CountDoom.ToStr( config.announceWarning ) ); |
||
478 | CountDoom.prt( "Announce Spell End: " .. CountDoom.ToStr( config.announceEnd ) ); |
||
479 | end; |
||
480 | |||
481 | |||
482 | CountDoomSpell.IsEnabled = function( spell ) |
||
483 | if CountDoomSpell[ spell ] == nil then |
||
484 | return false; |
||
485 | end |
||
486 | |||
487 | if CountDoom.config.enableSpell == nil then |
||
488 | return true; |
||
489 | end |
||
490 | |||
491 | if CountDoom.config.enableSpell[ spell ] == nil then |
||
492 | return true; |
||
493 | end |
||
494 | |||
495 | return CountDoom.config.enableSpell[ spell ]; |
||
496 | end; |
||
497 | |||
498 | |||
499 | CountDoomSpell.ToggleEnabled = function( spellAbbreviation ) |
||
500 | if CountDoomSpell[ spellAbbreviation ] == nil then |
||
501 | return; |
||
502 | end |
||
503 | |||
504 | if CountDoom.config.enableSpell == nil then |
||
505 | CountDoom.config.enableSpell = {}; |
||
506 | end |
||
507 | |||
508 | if CountDoomSpell.IsEnabled( spellAbbreviation ) then |
||
509 | CountDoom.config.enableSpell[ spellAbbreviation ] = false; |
||
510 | CountDoom.prt( string.format( "Tracking of %s is disabled.", CountDoomSpell[ spellAbbreviation ].text ) ); |
||
511 | else |
||
512 | CountDoom.config.enableSpell[ spellAbbreviation ] = true; |
||
513 | CountDoom.prt( string.format( "Tracking of %s is enabled.", CountDoomSpell[ spellAbbreviation ].text ) ); |
||
514 | end |
||
515 | end; |
||
516 | |||
517 | |||
518 | CountDoomSpell.ToggleSound = function( spellAbbreviation ) |
||
519 | if CountDoomSpell[ spellAbbreviation ] == nil then |
||
520 | return; |
||
521 | end |
||
522 | |||
523 | if CountDoom.config.enableSpell == nil then |
||
524 | CountDoom.config.enableSpell = {}; |
||
525 | end |
||
526 | |||
527 | if CountDoomSpell.IsEnabled( spellAbbreviation ) then |
||
528 | CountDoom.config.enableSpell[ spellAbbreviation ] = false; |
||
529 | CountDoom.prt( string.format( "Tracking of %s is disabled.", CountDoomSpell[ spellAbbreviation ].text ) ); |
||
530 | else |
||
531 | CountDoom.config.enableSpell[ spellAbbreviation ] = true; |
||
532 | CountDoom.prt( string.format( "Tracking of %s is enabled.", CountDoomSpell[ spellAbbreviation ].text ) ); |
||
533 | end |
||
534 | end; |
||
535 | |||
536 | |||
537 | -- Other spell icons |
||
538 | -- Shadow Ward - Spell_Shadow_AntiShadow |
||
539 | -- Shadow Bolt - Spell_Shadow_ShadowBolt |
||
540 | -- Shadow Pain - Spell_Shadow_ScourgeBuild |
||
541 | -- Death Coil - Spell_Shadow_DeathCoil |
||
542 | -- Searing Pain - Spell_Fire_SoulBurn |
||
543 | -- Soul Fire - Spell_Fire_Fireball02 |
||
544 | -- Rain of Fire - Spell_Shadow_RainOfFire |
||
545 | -- Hellfire - Spell_Fire_Incinerate |
||
546 | -- Health Funnel - Spell_Shadow_LifeDrain |
||
547 | -- Life Tap - Spell_Shadow_BurningSpirit |
||
548 | -- Drain Soul - Spell_Shadow_Haunting |
||
549 | -- Drain Life - Spell_Shadow_LifeDrain02 |
||
550 | -- Drain Mana - Spell_Shadow_SiphonMana |
||
551 | -- Will of the forsaken - Spell_Shadow_RaiseDead |
||
552 | -- Demon Armor - Spell_Shadow_RagingScream |
||
553 | -- Detect Invisibility - Spell_Shadow_DetectInvisibility |
||
554 | -- Ritual of Summoning - Spell_Shadow_Twilight |
||
555 | -- Spell_Shadow_SummonInfernal |
||
556 | -- Spell_Shadow_SummonImp |
||
557 | -- Spell_Shadow_SummonSuccubus |
||
558 | -- Spell_Shadow_SummonVoidWalker |
||
559 | -- Spell_Shadow_SummonFelHunter |
||
560 | -- Spell_Shadow_Metamorphosis |
||
561 | -- Disenchant - Spell_Holy_RemoveCurse |
||
562 | -- Eye of Kilrogg - Spell_Shadow_EvilEye |
||
563 | -- Summon Dreadsteed - Spell_Nature_Swiftness |
||
564 | -- Ritual of Doom - Spell_Shadow_AntiMagicShell |