vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd"> |
2 | <Script file="Localization.lua"/> |
||
3 | <Script file="Localization-functions-fr.lua"/> |
||
4 | <Script file="Localization-dialog-fr.lua"/> |
||
5 | <Script file="Localization-functions-en.lua"/> |
||
6 | <Script file="Localization-dialog-en.lua"/> |
||
7 | <Script file="Localization-functions-de.lua"/> |
||
8 | <Script file="Localization-dialog-de.lua"/> |
||
9 | <Script file="Speech.lua"/> |
||
10 | <Script file="Necrosis.lua"/> |
||
11 | <Script file="NecrosisInitialize.lua"/> |
||
12 | <Script file="NecrosisMessage.lua"/> |
||
13 | <Script file="NecrosisTimerFunction.lua"/> |
||
14 | <Script file="NecrosisGraphicalTimer.lua"/> |
||
15 | |||
16 | <Frame name="Necrosis_Variable_Frame" hidden="false"> |
||
17 | <Scripts> |
||
18 | <OnUpdate> |
||
19 | Necrosis_LoadVariables() |
||
20 | </OnUpdate> |
||
21 | </Scripts> |
||
22 | </Frame> |
||
23 | |||
24 | <Button name="NecrosisSpellTimerButton" frameStrata="MEDIUM" enableMouse="true" movable="true" parent="UIParent"> |
||
25 | <Size> |
||
26 | <AbsDimension x="34" y="34"/> |
||
27 | </Size> |
||
28 | <Anchors> |
||
29 | <Anchor point="CENTER"> |
||
30 | <Offset> |
||
31 | <AbsDimension x="120" y="340"/> |
||
32 | </Offset> |
||
33 | </Anchor> |
||
34 | </Anchors> |
||
35 | <Layers> |
||
36 | <Layer level="ARTWORK"> |
||
37 | <FontString name="NecrosisListSpells" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
38 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
39 | <Anchors> |
||
40 | <Anchor point="LEFT" relativeTo="NecrosisSpellTimerButton"> |
||
41 | <Offset> |
||
42 | <AbsDimension x="23" y="0"/> |
||
43 | </Offset> |
||
44 | </Anchor> |
||
45 | </Anchors> |
||
46 | </FontString> |
||
47 | </Layer> |
||
48 | </Layers> |
||
49 | <Scripts> |
||
50 | <OnLoad> |
||
51 | this:RegisterForDrag("LeftButton"); |
||
52 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
53 | this:Hide(); |
||
54 | </OnLoad> |
||
55 | <OnDragStart> |
||
56 | Necrosis_OnDragStart(this); |
||
57 | </OnDragStart> |
||
58 | <OnDragStop> |
||
59 | Necrosis_OnDragStop(this); |
||
60 | </OnDragStop> |
||
61 | <OnMouseUp> |
||
62 | Necrosis_OnDragStop(this); |
||
63 | </OnMouseUp> |
||
64 | <OnEnter> |
||
65 | Necrosis_BuildTooltip(this, "SpellTimer", AnchorSpellTimerTooltip); |
||
66 | </OnEnter> |
||
67 | <OnLeave> |
||
68 | GameTooltip:Hide(); |
||
69 | </OnLeave> |
||
70 | <OnClick> |
||
71 | Necrosis_UseItem("Hearthstone", arg1); |
||
72 | </OnClick> |
||
73 | </Scripts> |
||
74 | <NormalTexture file="Interface\AddOns\Necrosis\UI\SpellTimerButton-Normal"/> |
||
75 | <PushedTexture file="Interface\AddOns\Necrosis\UI\SpellTimerButton-Pushed"/> |
||
76 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\SpellTimerButton-Highlight"/> |
||
77 | </Button> |
||
78 | |||
79 | <Button name="NecrosisButton" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
80 | <Size> |
||
81 | <AbsDimension x="58" y="58"/> |
||
82 | </Size> |
||
83 | <Anchors> |
||
84 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
85 | <Offset> |
||
86 | <AbsDimension x="0" y="-100"/> |
||
87 | </Offset> |
||
88 | </Anchor> |
||
89 | </Anchors> |
||
90 | <Layers> |
||
91 | <Layer level="ARTWORK"> |
||
92 | <FontString name="NecrosisShardCount" inherits="GameFontNormal" text="00"> |
||
93 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
94 | <Anchors> |
||
95 | <Anchor point="CENTER" relativeTo="NecrosisButton" relativeFrom="CENTER"> |
||
96 | <Offset> |
||
97 | <AbsDimension x="0" y="0"/> |
||
98 | </Offset> |
||
99 | </Anchor> |
||
100 | </Anchors> |
||
101 | </FontString> |
||
102 | </Layer> |
||
103 | </Layers> |
||
104 | <Scripts> |
||
105 | <OnClick> |
||
106 | Necrosis_Toggle(arg1); |
||
107 | </OnClick> |
||
108 | <OnDragStart> |
||
109 | Necrosis_OnDragStart(this); |
||
110 | </OnDragStart> |
||
111 | <OnDragStop> |
||
112 | Necrosis_OnDragStop(this); |
||
113 | </OnDragStop> |
||
114 | <OnMouseUp> |
||
115 | Necrosis_OnDragStop(this); |
||
116 | </OnMouseUp> |
||
117 | <OnEnter> |
||
118 | Necrosis_BuildTooltip(this, "Main", "ANCHOR_LEFT"); |
||
119 | </OnEnter> |
||
120 | <OnLeave> |
||
121 | GameTooltip:Hide(); |
||
122 | </OnLeave> |
||
123 | <OnLoad> |
||
124 | Necrosis_OnLoad(); |
||
125 | HideUIPanel(this); |
||
126 | </OnLoad> |
||
127 | <OnUpdate> |
||
128 | Necrosis_OnUpdate(); |
||
129 | </OnUpdate> |
||
130 | <OnEvent> |
||
131 | Necrosis_OnEvent(event); |
||
132 | </OnEvent> |
||
133 | </Scripts> |
||
134 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Shard"/> |
||
135 | </Button> |
||
136 | |||
137 | <Button name="NecrosisSoulstoneButton" hidden="false" parent="UIParent" movable="true"> |
||
138 | <Size> |
||
139 | <AbsDimension x="34" y="34"/> |
||
140 | </Size> |
||
141 | <Anchors> |
||
142 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
143 | <Offset> |
||
144 | <AbsDimension x="-53" y="-100"/> |
||
145 | </Offset> |
||
146 | </Anchor> |
||
147 | </Anchors> |
||
148 | <Scripts> |
||
149 | <OnLoad> |
||
150 | this:RegisterForDrag("LeftButton"); |
||
151 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
152 | HideUIPanel(this); |
||
153 | </OnLoad> |
||
154 | <OnEnter> |
||
155 | Necrosis_BuildTooltip(this, "Soulstone", "ANCHOR_LEFT"); |
||
156 | </OnEnter> |
||
157 | <OnLeave> |
||
158 | GameTooltip:Hide(); |
||
159 | </OnLeave> |
||
160 | <OnClick> |
||
161 | Necrosis_UseItem("Soulstone"); |
||
162 | </OnClick> |
||
163 | <OnDragStart> |
||
164 | if not NecrosisLockServ then Necrosis_OnDragStart(this); end |
||
165 | </OnDragStart> |
||
166 | <OnDragStop> |
||
167 | Necrosis_OnDragStop(this); |
||
168 | </OnDragStop> |
||
169 | <OnMouseUp> |
||
170 | Necrosis_OnDragStop(this); |
||
171 | </OnMouseUp> |
||
172 | </Scripts> |
||
173 | <NormalTexture file="Interface\AddOns\Necrosis\UI\SoulstoneButton-01"/> |
||
174 | <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> |
||
175 | </Button> |
||
176 | |||
177 | <Button name="NecrosisHealthstoneButton" hidden="false" parent="UIParent" movable="true"> |
||
178 | <Size> |
||
179 | <AbsDimension x="34" y="34"/> |
||
180 | </Size> |
||
181 | <Anchors> |
||
182 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
183 | <Offset> |
||
184 | <AbsDimension x="-17" y="-100"/> |
||
185 | </Offset> |
||
186 | </Anchor> |
||
187 | </Anchors> |
||
188 | <Scripts> |
||
189 | <OnLoad> |
||
190 | this:RegisterForDrag("LeftButton"); |
||
191 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
192 | HideUIPanel(this); |
||
193 | </OnLoad> |
||
194 | <OnEnter> |
||
195 | Necrosis_BuildTooltip(this, "Healthstone", "ANCHOR_LEFT"); |
||
196 | </OnEnter> |
||
197 | <OnLeave> |
||
198 | GameTooltip:Hide(); |
||
199 | </OnLeave> |
||
200 | <OnClick> |
||
201 | Necrosis_UseItem("Healthstone"); |
||
202 | </OnClick> |
||
203 | <OnDragStart> |
||
204 | if not NecrosisLockServ then Necrosis_OnDragStart(this); end |
||
205 | </OnDragStart> |
||
206 | <OnDragStop> |
||
207 | Necrosis_OnDragStop(this); |
||
208 | </OnDragStop> |
||
209 | <OnMouseUp> |
||
210 | Necrosis_OnDragStop(this); |
||
211 | </OnMouseUp> |
||
212 | </Scripts> |
||
213 | <NormalTexture file="Interface\AddOns\Necrosis\UI\HealthstoneButton-01"/> |
||
214 | <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> |
||
215 | </Button> |
||
216 | |||
217 | <Button name="NecrosisSpellstoneButton" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
218 | <Size> |
||
219 | <AbsDimension x="34" y="34"/> |
||
220 | </Size> |
||
221 | <Anchors> |
||
222 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
223 | <Offset> |
||
224 | <AbsDimension x="17" y="-100"/> |
||
225 | </Offset> |
||
226 | </Anchor> |
||
227 | </Anchors> |
||
228 | <Scripts> |
||
229 | <OnLoad> |
||
230 | this:RegisterForDrag("LeftButton"); |
||
231 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
232 | HideUIPanel(this); |
||
233 | </OnLoad> |
||
234 | <OnEnter> |
||
235 | Necrosis_BuildTooltip(this, "Spellstone", "ANCHOR_LEFT"); |
||
236 | </OnEnter> |
||
237 | <OnLeave> |
||
238 | GameTooltip:Hide(); |
||
239 | </OnLeave> |
||
240 | <OnClick> |
||
241 | Necrosis_UseItem("Spellstone", arg1); |
||
242 | </OnClick> |
||
243 | <OnDragStart> |
||
244 | if not NecrosisLockServ then Necrosis_OnDragStart(this); end |
||
245 | </OnDragStart> |
||
246 | <OnDragStop> |
||
247 | Necrosis_OnDragStop(this); |
||
248 | </OnDragStop> |
||
249 | <OnMouseUp> |
||
250 | Necrosis_OnDragStop(this); |
||
251 | </OnMouseUp> |
||
252 | </Scripts> |
||
253 | <NormalTexture file="Interface\AddOns\Necrosis\UI\SpellstoneButton-01"/> |
||
254 | <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> |
||
255 | </Button> |
||
256 | |||
257 | <Button name="NecrosisFirestoneButton" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
258 | <Size> |
||
259 | <AbsDimension x="34" y="34"/> |
||
260 | </Size> |
||
261 | <Anchors> |
||
262 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
263 | <Offset> |
||
264 | <AbsDimension x="17" y="-100"/> |
||
265 | </Offset> |
||
266 | </Anchor> |
||
267 | </Anchors> |
||
268 | <Scripts> |
||
269 | <OnLoad> |
||
270 | this:RegisterForDrag("LeftButton"); |
||
271 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
272 | HideUIPanel(this); |
||
273 | </OnLoad> |
||
274 | <OnEnter> |
||
275 | Necrosis_BuildTooltip(this, "Firestone", "ANCHOR_LEFT"); |
||
276 | </OnEnter> |
||
277 | <OnLeave> |
||
278 | GameTooltip:Hide(); |
||
279 | </OnLeave> |
||
280 | <OnClick> |
||
281 | Necrosis_UseItem("Firestone", arg1); |
||
282 | </OnClick> |
||
283 | <OnDragStart> |
||
284 | if not NecrosisLockServ then Necrosis_OnDragStart(this); end |
||
285 | </OnDragStart> |
||
286 | <OnDragStop> |
||
287 | Necrosis_OnDragStop(this); |
||
288 | </OnDragStop> |
||
289 | <OnMouseUp> |
||
290 | Necrosis_OnDragStop(this); |
||
291 | </OnMouseUp> |
||
292 | </Scripts> |
||
293 | <NormalTexture file="Interface\AddOns\Necrosis\UI\FirestoneButton-01"/> |
||
294 | <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> |
||
295 | </Button> |
||
296 | |||
297 | <Button name="NecrosisMountButton" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
298 | <Size> |
||
299 | <AbsDimension x="34" y="34"/> |
||
300 | </Size> |
||
301 | <Anchors> |
||
302 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
303 | <Offset> |
||
304 | <AbsDimension x="17" y="-100"/> |
||
305 | </Offset> |
||
306 | </Anchor> |
||
307 | </Anchors> |
||
308 | <Scripts> |
||
309 | <OnLoad> |
||
310 | this:RegisterForDrag("LeftButton"); |
||
311 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
312 | HideUIPanel(this); |
||
313 | </OnLoad> |
||
314 | <OnEnter> |
||
315 | Necrosis_BuildTooltip(this, "Mount", "ANCHOR_RIGHT"); |
||
316 | </OnEnter> |
||
317 | <OnLeave> |
||
318 | GameTooltip:Hide(); |
||
319 | </OnLeave> |
||
320 | <OnClick> |
||
321 | Necrosis_UseItem("Mount"); |
||
322 | </OnClick> |
||
323 | <OnDragStart> |
||
324 | if not NecrosisLockServ then Necrosis_OnDragStart(this); end |
||
325 | </OnDragStart> |
||
326 | <OnDragStop> |
||
327 | Necrosis_OnDragStop(this); |
||
328 | </OnDragStop> |
||
329 | <OnMouseUp> |
||
330 | Necrosis_OnDragStop(this); |
||
331 | </OnMouseUp> |
||
332 | </Scripts> |
||
333 | <NormalTexture file="Interface\AddOns\Necrosis\UI\MountButton-01"/> |
||
334 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\MountButton-02"/> |
||
335 | </Button> |
||
336 | |||
337 | <Button name="NecrosisBuffMenuButton" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
338 | <Size> |
||
339 | <AbsDimension x="34" y="34"/> |
||
340 | </Size> |
||
341 | <Anchors> |
||
342 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
343 | <Offset> |
||
344 | <AbsDimension x="17" y="-100"/> |
||
345 | </Offset> |
||
346 | </Anchor> |
||
347 | </Anchors> |
||
348 | <Scripts> |
||
349 | <OnLoad> |
||
350 | this:RegisterForDrag("LeftButton"); |
||
351 | this:RegisterForClicks("LeftButtonUp", "MiddleButtonUp", "RightButtonUp"); |
||
352 | HideUIPanel(this); |
||
353 | </OnLoad> |
||
354 | <OnEnter> |
||
355 | Necrosis_BuildTooltip(this, "Buff", "ANCHOR_RIGHT"); |
||
356 | </OnEnter> |
||
357 | <OnLeave> |
||
358 | GameTooltip:Hide(); |
||
359 | </OnLeave> |
||
360 | <OnClick> |
||
361 | Necrosis_BuffMenu(arg1); |
||
362 | </OnClick> |
||
363 | <OnDragStart> |
||
364 | if not NecrosisLockServ then Necrosis_OnDragStart(this); end |
||
365 | </OnDragStart> |
||
366 | <OnDragStop> |
||
367 | Necrosis_OnDragStop(this); |
||
368 | </OnDragStop> |
||
369 | <OnMouseUp> |
||
370 | Necrosis_OnDragStop(this); |
||
371 | </OnMouseUp> |
||
372 | </Scripts> |
||
373 | <NormalTexture file="Interface\AddOns\Necrosis\UI\BuffMenuButton-01"/> |
||
374 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\BuffMenuButton-02"/> |
||
375 | </Button> |
||
376 | |||
377 | <Button name="NecrosisBuffMenu1" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
378 | <Size> |
||
379 | <AbsDimension x="40" y="40"/> |
||
380 | </Size> |
||
381 | <Anchors> |
||
382 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
383 | <Offset> |
||
384 | <AbsDimension x="17" y="-100"/> |
||
385 | </Offset> |
||
386 | </Anchor> |
||
387 | </Anchors> |
||
388 | <Scripts> |
||
389 | <OnLoad> |
||
390 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
391 | HideUIPanel(NecrosisBuffMenu1); |
||
392 | </OnLoad> |
||
393 | <OnEnter> |
||
394 | Necrosis_BuildTooltip(this, "Armor", "ANCHOR_RIGHT"); |
||
395 | </OnEnter> |
||
396 | <OnLeave> |
||
397 | GameTooltip:Hide(); |
||
398 | </OnLeave> |
||
399 | <OnClick> |
||
400 | Necrosis_BuffCast(31); |
||
401 | </OnClick> |
||
402 | </Scripts> |
||
403 | <NormalTexture file="Interface\AddOns\Necrosis\UI\ArmureDemo-01"/> |
||
404 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\ArmureDemo-02"/> |
||
405 | </Button> |
||
406 | <Button name="NecrosisBuffMenu2" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
407 | <Size> |
||
408 | <AbsDimension x="40" y="40"/> |
||
409 | </Size> |
||
410 | <Anchors> |
||
411 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
412 | <Offset> |
||
413 | <AbsDimension x="17" y="-100"/> |
||
414 | </Offset> |
||
415 | </Anchor> |
||
416 | </Anchors> |
||
417 | <Scripts> |
||
418 | <OnLoad> |
||
419 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
420 | HideUIPanel(NecrosisBuffMenu2); |
||
421 | </OnLoad> |
||
422 | <OnEnter> |
||
423 | Necrosis_BuildTooltip(this, "Aqua", "ANCHOR_RIGHT"); |
||
424 | </OnEnter> |
||
425 | <OnLeave> |
||
426 | GameTooltip:Hide(); |
||
427 | </OnLeave> |
||
428 | <OnClick> |
||
429 | Necrosis_BuffCast(32); |
||
430 | </OnClick> |
||
431 | </Scripts> |
||
432 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Aqua-01"/> |
||
433 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Aqua-02"/> |
||
434 | </Button> |
||
435 | <Button name="NecrosisBuffMenu3" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
436 | <Size> |
||
437 | <AbsDimension x="40" y="40"/> |
||
438 | </Size> |
||
439 | <Anchors> |
||
440 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
441 | <Offset> |
||
442 | <AbsDimension x="17" y="-100"/> |
||
443 | </Offset> |
||
444 | </Anchor> |
||
445 | </Anchors> |
||
446 | <Scripts> |
||
447 | <OnLoad> |
||
448 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
449 | HideUIPanel(NecrosisBuffMenu3); |
||
450 | </OnLoad> |
||
451 | <OnEnter> |
||
452 | Necrosis_BuildTooltip(this, "Invisible", "ANCHOR_RIGHT"); |
||
453 | </OnEnter> |
||
454 | <OnLeave> |
||
455 | GameTooltip:Hide(); |
||
456 | </OnLeave> |
||
457 | <OnClick> |
||
458 | Necrosis_BuffCast(33); |
||
459 | </OnClick> |
||
460 | </Scripts> |
||
461 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Invisible-01"/> |
||
462 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Invisible-02"/> |
||
463 | </Button> |
||
464 | <Button name="NecrosisBuffMenu4" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
465 | <Size> |
||
466 | <AbsDimension x="40" y="40"/> |
||
467 | </Size> |
||
468 | <Anchors> |
||
469 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
470 | <Offset> |
||
471 | <AbsDimension x="17" y="-100"/> |
||
472 | </Offset> |
||
473 | </Anchor> |
||
474 | </Anchors> |
||
475 | <Scripts> |
||
476 | <OnLoad> |
||
477 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
478 | HideUIPanel(NecrosisBuffMenu4); |
||
479 | </OnLoad> |
||
480 | <OnEnter> |
||
481 | Necrosis_BuildTooltip(this, "Kilrogg", "ANCHOR_RIGHT"); |
||
482 | </OnEnter> |
||
483 | <OnLeave> |
||
484 | GameTooltip:Hide(); |
||
485 | </OnLeave> |
||
486 | <OnClick> |
||
487 | Necrosis_BuffCast(34); |
||
488 | </OnClick> |
||
489 | </Scripts> |
||
490 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Kilrogg-01"/> |
||
491 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Kilrogg-02"/> |
||
492 | </Button> |
||
493 | <Button name="NecrosisBuffMenu5" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
494 | <Size> |
||
495 | <AbsDimension x="40" y="40"/> |
||
496 | </Size> |
||
497 | <Anchors> |
||
498 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
499 | <Offset> |
||
500 | <AbsDimension x="17" y="-100"/> |
||
501 | </Offset> |
||
502 | </Anchor> |
||
503 | </Anchors> |
||
504 | <Scripts> |
||
505 | <OnLoad> |
||
506 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
507 | HideUIPanel(NecrosisBuffMenu5); |
||
508 | </OnLoad> |
||
509 | <OnEnter> |
||
510 | Necrosis_BuildTooltip(this, "TP", "ANCHOR_RIGHT"); |
||
511 | </OnEnter> |
||
512 | <OnLeave> |
||
513 | GameTooltip:Hide(); |
||
514 | </OnLeave> |
||
515 | <OnClick> |
||
516 | Necrosis_BuffCast(37); |
||
517 | </OnClick> |
||
518 | </Scripts> |
||
519 | <NormalTexture file="Interface\AddOns\Necrosis\UI\TPButton-01"/> |
||
520 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\TPButton-02"/> |
||
521 | </Button> |
||
522 | <Button name="NecrosisBuffMenu6" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
523 | <Size> |
||
524 | <AbsDimension x="40" y="40"/> |
||
525 | </Size> |
||
526 | <Anchors> |
||
527 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
528 | <Offset> |
||
529 | <AbsDimension x="17" y="-100"/> |
||
530 | </Offset> |
||
531 | </Anchor> |
||
532 | </Anchors> |
||
533 | <Scripts> |
||
534 | <OnLoad> |
||
535 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
536 | HideUIPanel(NecrosisBuffMenu6); |
||
537 | </OnLoad> |
||
538 | <OnEnter> |
||
539 | Necrosis_BuildTooltip(this, "Radar", "ANCHOR_RIGHT"); |
||
540 | </OnEnter> |
||
541 | <OnLeave> |
||
542 | GameTooltip:Hide(); |
||
543 | </OnLeave> |
||
544 | <OnClick> |
||
545 | Necrosis_BuffCast(39); |
||
546 | </OnClick> |
||
547 | </Scripts> |
||
548 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Radar-01"/> |
||
549 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Radar-02"/> |
||
550 | </Button> |
||
551 | <Button name="NecrosisBuffMenu7" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
552 | <Size> |
||
553 | <AbsDimension x="40" y="40"/> |
||
554 | </Size> |
||
555 | <Anchors> |
||
556 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
557 | <Offset> |
||
558 | <AbsDimension x="17" y="-100"/> |
||
559 | </Offset> |
||
560 | </Anchor> |
||
561 | </Anchors> |
||
562 | <Scripts> |
||
563 | <OnLoad> |
||
564 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
565 | HideUIPanel(NecrosisBuffMenu7); |
||
566 | </OnLoad> |
||
567 | <OnEnter> |
||
568 | Necrosis_BuildTooltip(this, "SoulLink", "ANCHOR_RIGHT"); |
||
569 | </OnEnter> |
||
570 | <OnLeave> |
||
571 | GameTooltip:Hide(); |
||
572 | </OnLeave> |
||
573 | <OnClick> |
||
574 | Necrosis_BuffCast(38); |
||
575 | </OnClick> |
||
576 | </Scripts> |
||
577 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Lien-01"/> |
||
578 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Lien-02"/> |
||
579 | </Button> |
||
580 | <Button name="NecrosisBuffMenu8" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
581 | <Size> |
||
582 | <AbsDimension x="40" y="40"/> |
||
583 | </Size> |
||
584 | <Anchors> |
||
585 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
586 | <Offset> |
||
587 | <AbsDimension x="17" y="-100"/> |
||
588 | </Offset> |
||
589 | </Anchor> |
||
590 | </Anchors> |
||
591 | <Scripts> |
||
592 | <OnLoad> |
||
593 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
594 | HideUIPanel(NecrosisBuffMenu8); |
||
595 | </OnLoad> |
||
596 | <OnEnter> |
||
597 | Necrosis_BuildTooltip(this, "ShadowProtection", "ANCHOR_RIGHT"); |
||
598 | </OnEnter> |
||
599 | <OnLeave> |
||
600 | GameTooltip:Hide(); |
||
601 | </OnLeave> |
||
602 | <OnClick> |
||
603 | Necrosis_BuffCast(43); |
||
604 | </OnClick> |
||
605 | </Scripts> |
||
606 | <NormalTexture file="Interface\AddOns\Necrosis\UI\ShadowWard-01"/> |
||
607 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\ShadowWard-02"/> |
||
608 | </Button> |
||
609 | <Button name="NecrosisBuffMenu9" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
610 | <Size> |
||
611 | <AbsDimension x="40" y="40"/> |
||
612 | </Size> |
||
613 | <Anchors> |
||
614 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
615 | <Offset> |
||
616 | <AbsDimension x="17" y="-100"/> |
||
617 | </Offset> |
||
618 | </Anchor> |
||
619 | </Anchors> |
||
620 | <Scripts> |
||
621 | <OnLoad> |
||
622 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
623 | HideUIPanel(NecrosisBuffMenu9); |
||
624 | </OnLoad> |
||
625 | <OnEnter> |
||
626 | Necrosis_BuildTooltip(this, "Banish", "ANCHOR_RIGHT"); |
||
627 | </OnEnter> |
||
628 | <OnLeave> |
||
629 | GameTooltip:Hide(); |
||
630 | </OnLeave> |
||
631 | <OnClick> |
||
632 | Necrosis_BuffCast(9); |
||
633 | </OnClick> |
||
634 | </Scripts> |
||
635 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Banish-01"/> |
||
636 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Banish-02"/> |
||
637 | </Button> |
||
638 | |||
639 | <Button name="NecrosisPetMenuButton" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
640 | <Size> |
||
641 | <AbsDimension x="34" y="34"/> |
||
642 | </Size> |
||
643 | <Anchors> |
||
644 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
645 | <Offset> |
||
646 | <AbsDimension x="17" y="-100"/> |
||
647 | </Offset> |
||
648 | </Anchor> |
||
649 | </Anchors> |
||
650 | <Scripts> |
||
651 | <OnLoad> |
||
652 | this:RegisterForDrag("LeftButton"); |
||
653 | this:RegisterForClicks("LeftButtonUp", "MiddleButtonUp", "RightButtonUp"); |
||
654 | HideUIPanel(this); |
||
655 | </OnLoad> |
||
656 | <OnEnter> |
||
657 | Necrosis_BuildTooltip(this, "Pet", "ANCHOR_RIGHT"); |
||
658 | </OnEnter> |
||
659 | <OnLeave> |
||
660 | GameTooltip:Hide(); |
||
661 | </OnLeave> |
||
662 | <OnClick> |
||
663 | Necrosis_PetMenu(arg1); |
||
664 | </OnClick> |
||
665 | <OnDragStart> |
||
666 | if not NecrosisLockServ then Necrosis_OnDragStart(this); end |
||
667 | </OnDragStart> |
||
668 | <OnDragStop> |
||
669 | Necrosis_OnDragStop(this); |
||
670 | </OnDragStop> |
||
671 | <OnMouseUp> |
||
672 | Necrosis_OnDragStop(this); |
||
673 | </OnMouseUp> |
||
674 | </Scripts> |
||
675 | <NormalTexture file="Interface\AddOns\Necrosis\UI\PetMenuButton-01"/> |
||
676 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\PetMenuButton-02"/> |
||
677 | </Button> |
||
678 | |||
679 | <Button name="NecrosisPetMenu1" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
680 | <Size> |
||
681 | <AbsDimension x="40" y="40"/> |
||
682 | </Size> |
||
683 | <Anchors> |
||
684 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
685 | <Offset> |
||
686 | <AbsDimension x="17" y="-100"/> |
||
687 | </Offset> |
||
688 | </Anchor> |
||
689 | </Anchors> |
||
690 | <Scripts> |
||
691 | <OnLoad> |
||
692 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
693 | HideUIPanel(NecrosisPetMenu1); |
||
694 | </OnLoad> |
||
695 | <OnEnter> |
||
696 | Necrosis_BuildTooltip(this, "Domination", "ANCHOR_RIGHT"); |
||
697 | </OnEnter> |
||
698 | <OnLeave> |
||
699 | GameTooltip:Hide(); |
||
700 | </OnLeave> |
||
701 | <OnClick> |
||
702 | Necrosis_PetCast(15); |
||
703 | </OnClick> |
||
704 | </Scripts> |
||
705 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Domination-01"/> |
||
706 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Domination-02"/> |
||
707 | </Button> |
||
708 | |||
709 | <Button name="NecrosisPetMenu2" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
710 | <Size> |
||
711 | <AbsDimension x="40" y="40"/> |
||
712 | </Size> |
||
713 | <Anchors> |
||
714 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
715 | <Offset> |
||
716 | <AbsDimension x="17" y="-100"/> |
||
717 | </Offset> |
||
718 | </Anchor> |
||
719 | </Anchors> |
||
720 | <Scripts> |
||
721 | <OnLoad> |
||
722 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
723 | HideUIPanel(NecrosisPetMenu2); |
||
724 | </OnLoad> |
||
725 | <OnEnter> |
||
726 | Necrosis_BuildTooltip(this, "Imp", "ANCHOR_RIGHT"); |
||
727 | </OnEnter> |
||
728 | <OnLeave> |
||
729 | GameTooltip:Hide(); |
||
730 | </OnLeave> |
||
731 | <OnClick> |
||
732 | Necrosis_PetCast(3, arg1); |
||
733 | </OnClick> |
||
734 | </Scripts> |
||
735 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Imp-01"/> |
||
736 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Imp-02"/> |
||
737 | </Button> |
||
738 | |||
739 | <Button name="NecrosisPetMenu3" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
740 | <Size> |
||
741 | <AbsDimension x="40" y="40"/> |
||
742 | </Size> |
||
743 | <Anchors> |
||
744 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
745 | <Offset> |
||
746 | <AbsDimension x="17" y="-100"/> |
||
747 | </Offset> |
||
748 | </Anchor> |
||
749 | </Anchors> |
||
750 | <Scripts> |
||
751 | <OnLoad> |
||
752 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
753 | HideUIPanel(NecrosisPetMenu3); |
||
754 | </OnLoad> |
||
755 | <OnEnter> |
||
756 | Necrosis_BuildTooltip(this, "Void", "ANCHOR_RIGHT"); |
||
757 | </OnEnter> |
||
758 | <OnLeave> |
||
759 | GameTooltip:Hide(); |
||
760 | </OnLeave> |
||
761 | <OnClick> |
||
762 | Necrosis_PetCast(4, arg1); |
||
763 | </OnClick> |
||
764 | </Scripts> |
||
765 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Voidwalker-01"/> |
||
766 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Voidwalker-02"/> |
||
767 | </Button> |
||
768 | |||
769 | <Button name="NecrosisPetMenu4" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
770 | <Size> |
||
771 | <AbsDimension x="40" y="40"/> |
||
772 | </Size> |
||
773 | <Anchors> |
||
774 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
775 | <Offset> |
||
776 | <AbsDimension x="17" y="-100"/> |
||
777 | </Offset> |
||
778 | </Anchor> |
||
779 | </Anchors> |
||
780 | <Scripts> |
||
781 | <OnLoad> |
||
782 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
783 | HideUIPanel(NecrosisPetMenu4); |
||
784 | </OnLoad> |
||
785 | <OnEnter> |
||
786 | Necrosis_BuildTooltip(this, "Succubus", "ANCHOR_RIGHT"); |
||
787 | </OnEnter> |
||
788 | <OnLeave> |
||
789 | GameTooltip:Hide(); |
||
790 | </OnLeave> |
||
791 | <OnClick> |
||
792 | Necrosis_PetCast(5, arg1); |
||
793 | </OnClick> |
||
794 | </Scripts> |
||
795 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Succubus-01"/> |
||
796 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Succubus-02"/> |
||
797 | </Button> |
||
798 | |||
799 | <Button name="NecrosisPetMenu5" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
800 | <Size> |
||
801 | <AbsDimension x="40" y="40"/> |
||
802 | </Size> |
||
803 | <Anchors> |
||
804 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
805 | <Offset> |
||
806 | <AbsDimension x="17" y="-100"/> |
||
807 | </Offset> |
||
808 | </Anchor> |
||
809 | </Anchors> |
||
810 | <Scripts> |
||
811 | <OnLoad> |
||
812 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
813 | HideUIPanel(NecrosisPetMenu5); |
||
814 | </OnLoad> |
||
815 | <OnEnter> |
||
816 | Necrosis_BuildTooltip(this, "Fel", "ANCHOR_RIGHT"); |
||
817 | </OnEnter> |
||
818 | <OnLeave> |
||
819 | GameTooltip:Hide(); |
||
820 | </OnLeave> |
||
821 | <OnClick> |
||
822 | Necrosis_PetCast(6, arg1); |
||
823 | </OnClick> |
||
824 | </Scripts> |
||
825 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Felhunter-01"/> |
||
826 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Felhunter-02"/> |
||
827 | </Button> |
||
828 | |||
829 | <Button name="NecrosisPetMenu6" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
830 | <Size> |
||
831 | <AbsDimension x="40" y="40"/> |
||
832 | </Size> |
||
833 | <Anchors> |
||
834 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
835 | <Offset> |
||
836 | <AbsDimension x="17" y="-100"/> |
||
837 | </Offset> |
||
838 | </Anchor> |
||
839 | </Anchors> |
||
840 | <Scripts> |
||
841 | <OnLoad> |
||
842 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
843 | HideUIPanel(NecrosisPetMenu6); |
||
844 | </OnLoad> |
||
845 | <OnEnter> |
||
846 | Necrosis_BuildTooltip(this, "Infernal", "ANCHOR_RIGHT"); |
||
847 | </OnEnter> |
||
848 | <OnLeave> |
||
849 | GameTooltip:Hide(); |
||
850 | </OnLeave> |
||
851 | <OnClick> |
||
852 | Necrosis_PetCast(8); |
||
853 | </OnClick> |
||
854 | </Scripts> |
||
855 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Infernal-01"/> |
||
856 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Infernal-02"/> |
||
857 | </Button> |
||
858 | |||
859 | <Button name="NecrosisPetMenu7" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
860 | <Size> |
||
861 | <AbsDimension x="40" y="40"/> |
||
862 | </Size> |
||
863 | <Anchors> |
||
864 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
865 | <Offset> |
||
866 | <AbsDimension x="17" y="-100"/> |
||
867 | </Offset> |
||
868 | </Anchor> |
||
869 | </Anchors> |
||
870 | <Scripts> |
||
871 | <OnLoad> |
||
872 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
873 | HideUIPanel(NecrosisPetMenu7); |
||
874 | </OnLoad> |
||
875 | <OnEnter> |
||
876 | Necrosis_BuildTooltip(this, "Doom", "ANCHOR_RIGHT"); |
||
877 | </OnEnter> |
||
878 | <OnLeave> |
||
879 | GameTooltip:Hide(); |
||
880 | </OnLeave> |
||
881 | <OnClick> |
||
882 | Necrosis_PetCast(30); |
||
883 | </OnClick> |
||
884 | </Scripts> |
||
885 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Doomguard-01"/> |
||
886 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Doomguard-02"/> |
||
887 | </Button> |
||
888 | <Button name="NecrosisPetMenu8" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
889 | <Size> |
||
890 | <AbsDimension x="40" y="40"/> |
||
891 | </Size> |
||
892 | <Anchors> |
||
893 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
894 | <Offset> |
||
895 | <AbsDimension x="17" y="-100"/> |
||
896 | </Offset> |
||
897 | </Anchor> |
||
898 | </Anchors> |
||
899 | <Scripts> |
||
900 | <OnLoad> |
||
901 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
902 | HideUIPanel(NecrosisPetMenu8); |
||
903 | </OnLoad> |
||
904 | <OnEnter> |
||
905 | Necrosis_BuildTooltip(this, "Enslave", "ANCHOR_RIGHT"); |
||
906 | </OnEnter> |
||
907 | <OnLeave> |
||
908 | GameTooltip:Hide(); |
||
909 | </OnLeave> |
||
910 | <OnClick> |
||
911 | Necrosis_PetCast(35); |
||
912 | </OnClick> |
||
913 | </Scripts> |
||
914 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Enslave-01"/> |
||
915 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Enslave-02"/> |
||
916 | </Button> |
||
917 | <Button name="NecrosisPetMenu9" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
918 | <Size> |
||
919 | <AbsDimension x="40" y="40"/> |
||
920 | </Size> |
||
921 | <Anchors> |
||
922 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
923 | <Offset> |
||
924 | <AbsDimension x="17" y="-100"/> |
||
925 | </Offset> |
||
926 | </Anchor> |
||
927 | </Anchors> |
||
928 | <Scripts> |
||
929 | <OnLoad> |
||
930 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
931 | HideUIPanel(NecrosisPetMenu9); |
||
932 | </OnLoad> |
||
933 | <OnEnter> |
||
934 | Necrosis_BuildTooltip(this, "Sacrifice", "ANCHOR_RIGHT"); |
||
935 | </OnEnter> |
||
936 | <OnLeave> |
||
937 | GameTooltip:Hide(); |
||
938 | </OnLeave> |
||
939 | <OnClick> |
||
940 | Necrosis_BuffCast(44); |
||
941 | </OnClick> |
||
942 | </Scripts> |
||
943 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Sacrifice-01"/> |
||
944 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Sacrifice-02"/> |
||
945 | </Button> |
||
946 | |||
947 | |||
948 | <Button name="NecrosisCurseMenuButton" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
949 | <Size> |
||
950 | <AbsDimension x="34" y="34"/> |
||
951 | </Size> |
||
952 | <Anchors> |
||
953 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
954 | <Offset> |
||
955 | <AbsDimension x="17" y="-100"/> |
||
956 | </Offset> |
||
957 | </Anchor> |
||
958 | </Anchors> |
||
959 | <Scripts> |
||
960 | <OnLoad> |
||
961 | this:RegisterForDrag("LeftButton"); |
||
962 | this:RegisterForClicks("LeftButtonUp", "MiddleButtonUp", "RightButtonUp"); |
||
963 | HideUIPanel(this); |
||
964 | </OnLoad> |
||
965 | <OnEnter> |
||
966 | Necrosis_BuildTooltip(this, "Curse", "ANCHOR_RIGHT"); |
||
967 | </OnEnter> |
||
968 | <OnLeave> |
||
969 | GameTooltip:Hide(); |
||
970 | </OnLeave> |
||
971 | <OnClick> |
||
972 | Necrosis_CurseMenu(arg1); |
||
973 | </OnClick> |
||
974 | <OnDragStart> |
||
975 | if not NecrosisLockServ then Necrosis_OnDragStart(this); end |
||
976 | </OnDragStart> |
||
977 | <OnDragStop> |
||
978 | Necrosis_OnDragStop(this); |
||
979 | </OnDragStop> |
||
980 | <OnMouseUp> |
||
981 | Necrosis_OnDragStop(this); |
||
982 | </OnMouseUp> |
||
983 | </Scripts> |
||
984 | <NormalTexture file="Interface\AddOns\Necrosis\UI\CurseMenuButton-01"/> |
||
985 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\CurseMenuButton-02"/> |
||
986 | </Button> |
||
987 | |||
988 | <Button name="NecrosisCurseMenu1" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
989 | <Size> |
||
990 | <AbsDimension x="40" y="40"/> |
||
991 | </Size> |
||
992 | <Anchors> |
||
993 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
994 | <Offset> |
||
995 | <AbsDimension x="17" y="-100"/> |
||
996 | </Offset> |
||
997 | </Anchor> |
||
998 | </Anchors> |
||
999 | <Scripts> |
||
1000 | <OnLoad> |
||
1001 | this:RegisterForClicks("LeftButtonUp", "MiddleButtonUp", "RightButtonUp"); |
||
1002 | HideUIPanel(NecrosisCurseMenu1); |
||
1003 | </OnLoad> |
||
1004 | <OnEnter> |
||
1005 | Necrosis_BuildTooltip(this, "Amplify", "ANCHOR_RIGHT"); |
||
1006 | </OnEnter> |
||
1007 | <OnLeave> |
||
1008 | GameTooltip:Hide(); |
||
1009 | </OnLeave> |
||
1010 | <OnClick> |
||
1011 | Necrosis_CurseCast(42, arg1); |
||
1012 | </OnClick> |
||
1013 | </Scripts> |
||
1014 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Amplify-01"/> |
||
1015 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Amplify-02"/> |
||
1016 | </Button> |
||
1017 | <Button name="NecrosisCurseMenu2" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
1018 | <Size> |
||
1019 | <AbsDimension x="40" y="40"/> |
||
1020 | </Size> |
||
1021 | <Anchors> |
||
1022 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
1023 | <Offset> |
||
1024 | <AbsDimension x="17" y="-100"/> |
||
1025 | </Offset> |
||
1026 | </Anchor> |
||
1027 | </Anchors> |
||
1028 | <Scripts> |
||
1029 | <OnLoad> |
||
1030 | this:RegisterForClicks("LeftButtonUp", "MiddleButtonUp", "RightButtonUp"); |
||
1031 | HideUIPanel(NecrosisCurseMenu2); |
||
1032 | </OnLoad> |
||
1033 | <OnEnter> |
||
1034 | Necrosis_BuildTooltip(this, "Weakness", "ANCHOR_RIGHT"); |
||
1035 | </OnEnter> |
||
1036 | <OnLeave> |
||
1037 | GameTooltip:Hide(); |
||
1038 | </OnLeave> |
||
1039 | <OnClick> |
||
1040 | Necrosis_CurseCast(23, arg1); |
||
1041 | </OnClick> |
||
1042 | </Scripts> |
||
1043 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Weakness-01"/> |
||
1044 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Weakness-02"/> |
||
1045 | </Button> |
||
1046 | <Button name="NecrosisCurseMenu3" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
1047 | <Size> |
||
1048 | <AbsDimension x="40" y="40"/> |
||
1049 | </Size> |
||
1050 | <Anchors> |
||
1051 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
1052 | <Offset> |
||
1053 | <AbsDimension x="17" y="-100"/> |
||
1054 | </Offset> |
||
1055 | </Anchor> |
||
1056 | </Anchors> |
||
1057 | <Scripts> |
||
1058 | <OnLoad> |
||
1059 | this:RegisterForClicks("LeftButtonUp", "MiddleButtonUp", "RightButtonUp"); |
||
1060 | HideUIPanel(NecrosisCurseMenu3); |
||
1061 | </OnLoad> |
||
1062 | <OnEnter> |
||
1063 | Necrosis_BuildTooltip(this, "Agony", "ANCHOR_RIGHT"); |
||
1064 | </OnEnter> |
||
1065 | <OnLeave> |
||
1066 | GameTooltip:Hide(); |
||
1067 | </OnLeave> |
||
1068 | <OnClick> |
||
1069 | Necrosis_CurseCast(22, arg1); |
||
1070 | </OnClick> |
||
1071 | </Scripts> |
||
1072 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Agony-01"/> |
||
1073 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Agony-02"/> |
||
1074 | </Button> |
||
1075 | <Button name="NecrosisCurseMenu4" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
1076 | <Size> |
||
1077 | <AbsDimension x="40" y="40"/> |
||
1078 | </Size> |
||
1079 | <Anchors> |
||
1080 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
1081 | <Offset> |
||
1082 | <AbsDimension x="17" y="-100"/> |
||
1083 | </Offset> |
||
1084 | </Anchor> |
||
1085 | </Anchors> |
||
1086 | <Scripts> |
||
1087 | <OnLoad> |
||
1088 | this:RegisterForClicks("LeftButtonUp", "MiddleButtonUp", "RightButtonUp"); |
||
1089 | HideUIPanel(NecrosisCurseMenu4); |
||
1090 | </OnLoad> |
||
1091 | <OnEnter> |
||
1092 | Necrosis_BuildTooltip(this, "Reckless", "ANCHOR_RIGHT"); |
||
1093 | </OnEnter> |
||
1094 | <OnLeave> |
||
1095 | GameTooltip:Hide(); |
||
1096 | </OnLeave> |
||
1097 | <OnClick> |
||
1098 | Necrosis_CurseCast(24, arg1); |
||
1099 | </OnClick> |
||
1100 | </Scripts> |
||
1101 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Reckless-01"/> |
||
1102 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Reckless-02"/> |
||
1103 | </Button> |
||
1104 | <Button name="NecrosisCurseMenu5" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
1105 | <Size> |
||
1106 | <AbsDimension x="40" y="40"/> |
||
1107 | </Size> |
||
1108 | <Anchors> |
||
1109 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
1110 | <Offset> |
||
1111 | <AbsDimension x="17" y="-100"/> |
||
1112 | </Offset> |
||
1113 | </Anchor> |
||
1114 | </Anchors> |
||
1115 | <Scripts> |
||
1116 | <OnLoad> |
||
1117 | this:RegisterForClicks("LeftButtonUp", "MiddleButtonUp", "RightButtonUp"); |
||
1118 | HideUIPanel(NecrosisCurseMenu5); |
||
1119 | </OnLoad> |
||
1120 | <OnEnter> |
||
1121 | Necrosis_BuildTooltip(this, "Tongues", "ANCHOR_RIGHT"); |
||
1122 | </OnEnter> |
||
1123 | <OnLeave> |
||
1124 | GameTooltip:Hide(); |
||
1125 | </OnLeave> |
||
1126 | <OnClick> |
||
1127 | Necrosis_CurseCast(25, arg1); |
||
1128 | </OnClick> |
||
1129 | </Scripts> |
||
1130 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Tongues-01"/> |
||
1131 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Tongues-02"/> |
||
1132 | </Button> |
||
1133 | <Button name="NecrosisCurseMenu6" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
1134 | <Size> |
||
1135 | <AbsDimension x="40" y="40"/> |
||
1136 | </Size> |
||
1137 | <Anchors> |
||
1138 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
1139 | <Offset> |
||
1140 | <AbsDimension x="17" y="-100"/> |
||
1141 | </Offset> |
||
1142 | </Anchor> |
||
1143 | </Anchors> |
||
1144 | <Scripts> |
||
1145 | <OnLoad> |
||
1146 | this:RegisterForClicks("LeftButtonUp", "MiddleButtonUp", "RightButtonUp"); |
||
1147 | HideUIPanel(NecrosisCurseMenu6); |
||
1148 | </OnLoad> |
||
1149 | <OnEnter> |
||
1150 | Necrosis_BuildTooltip(this, "Exhaust", "ANCHOR_RIGHT"); |
||
1151 | </OnEnter> |
||
1152 | <OnLeave> |
||
1153 | GameTooltip:Hide(); |
||
1154 | </OnLeave> |
||
1155 | <OnClick> |
||
1156 | Necrosis_CurseCast(40, arg1); |
||
1157 | </OnClick> |
||
1158 | </Scripts> |
||
1159 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Exhaust-01"/> |
||
1160 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Exhaust-02"/> |
||
1161 | </Button> |
||
1162 | <Button name="NecrosisCurseMenu7" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
1163 | <Size> |
||
1164 | <AbsDimension x="40" y="40"/> |
||
1165 | </Size> |
||
1166 | <Anchors> |
||
1167 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
1168 | <Offset> |
||
1169 | <AbsDimension x="17" y="-100"/> |
||
1170 | </Offset> |
||
1171 | </Anchor> |
||
1172 | </Anchors> |
||
1173 | <Scripts> |
||
1174 | <OnLoad> |
||
1175 | this:RegisterForClicks("LeftButtonUp", "MiddleButtonUp", "RightButtonUp"); |
||
1176 | HideUIPanel(NecrosisCurseMenu7); |
||
1177 | </OnLoad> |
||
1178 | <OnEnter> |
||
1179 | Necrosis_BuildTooltip(this, "Elements", "ANCHOR_RIGHT"); |
||
1180 | </OnEnter> |
||
1181 | <OnLeave> |
||
1182 | GameTooltip:Hide(); |
||
1183 | </OnLeave> |
||
1184 | <OnClick> |
||
1185 | Necrosis_CurseCast(26, arg1); |
||
1186 | </OnClick> |
||
1187 | </Scripts> |
||
1188 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Elements-01"/> |
||
1189 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Elements-02"/> |
||
1190 | </Button> |
||
1191 | <Button name="NecrosisCurseMenu8" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
1192 | <Size> |
||
1193 | <AbsDimension x="40" y="40"/> |
||
1194 | </Size> |
||
1195 | <Anchors> |
||
1196 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
1197 | <Offset> |
||
1198 | <AbsDimension x="17" y="-100"/> |
||
1199 | </Offset> |
||
1200 | </Anchor> |
||
1201 | </Anchors> |
||
1202 | <Scripts> |
||
1203 | <OnLoad> |
||
1204 | this:RegisterForClicks("LeftButtonUp", "MiddleButtonUp", "RightButtonUp"); |
||
1205 | HideUIPanel(NecrosisCurseMenu8); |
||
1206 | </OnLoad> |
||
1207 | <OnEnter> |
||
1208 | Necrosis_BuildTooltip(this, "Shadow", "ANCHOR_RIGHT"); |
||
1209 | </OnEnter> |
||
1210 | <OnLeave> |
||
1211 | GameTooltip:Hide(); |
||
1212 | </OnLeave> |
||
1213 | <OnClick> |
||
1214 | Necrosis_CurseCast(27, arg1); |
||
1215 | </OnClick> |
||
1216 | </Scripts> |
||
1217 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Shadow-01"/> |
||
1218 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Shadow-02"/> |
||
1219 | </Button> |
||
1220 | <Button name="NecrosisCurseMenu9" hidden="false" enableMouse="true" toplevel="true" parent="UIParent" movable="true"> |
||
1221 | <Size> |
||
1222 | <AbsDimension x="40" y="40"/> |
||
1223 | </Size> |
||
1224 | <Anchors> |
||
1225 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
1226 | <Offset> |
||
1227 | <AbsDimension x="17" y="-100"/> |
||
1228 | </Offset> |
||
1229 | </Anchor> |
||
1230 | </Anchors> |
||
1231 | <Scripts> |
||
1232 | <OnLoad> |
||
1233 | this:RegisterForClicks("LeftButtonUp", "MiddleButtonUp", "RightButtonUp"); |
||
1234 | HideUIPanel(NecrosisCurseMenu9); |
||
1235 | </OnLoad> |
||
1236 | <OnEnter> |
||
1237 | Necrosis_BuildTooltip(this, "Doom", "ANCHOR_RIGHT"); |
||
1238 | </OnEnter> |
||
1239 | <OnLeave> |
||
1240 | GameTooltip:Hide(); |
||
1241 | </OnLeave> |
||
1242 | <OnClick> |
||
1243 | Necrosis_CurseCast(16, arg1); |
||
1244 | </OnClick> |
||
1245 | </Scripts> |
||
1246 | <NormalTexture file="Interface\AddOns\Necrosis\UI\Doom-01"/> |
||
1247 | <HighlightTexture file="Interface\AddOns\Necrosis\UI\Doom-02"/> |
||
1248 | </Button> |
||
1249 | |||
1250 | <Button name="NecrosisShadowTranceButton" frameStrata="MEDIUM" movable="true" parent="UIParent"> |
||
1251 | <Size> |
||
1252 | <AbsDimension x="40" y="40"/> |
||
1253 | </Size> |
||
1254 | <Anchors> |
||
1255 | <Anchor point="CENTER"> |
||
1256 | <Offset> |
||
1257 | <AbsDimension x="100" y="-30"/> |
||
1258 | </Offset> |
||
1259 | </Anchor> |
||
1260 | </Anchors> |
||
1261 | <Layers> |
||
1262 | <Layer level="ARTWORK"> |
||
1263 | <FontString name="NecrosisShadowTranceTimer" inherits="GameFontNormal" text=""> |
||
1264 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
1265 | <Anchors> |
||
1266 | <Anchor point="CENTER" relativeTo="NecrosisShadowTranceButton" relativeFrom="CENTER"> |
||
1267 | <Offset> |
||
1268 | <AbsDimension x="0" y="0"/> |
||
1269 | </Offset> |
||
1270 | </Anchor> |
||
1271 | </Anchors> |
||
1272 | </FontString> |
||
1273 | </Layer> |
||
1274 | </Layers> |
||
1275 | <Scripts> |
||
1276 | <OnDragStart> |
||
1277 | Necrosis_OnDragStart(this); |
||
1278 | </OnDragStart> |
||
1279 | <OnDragStop> |
||
1280 | Necrosis_OnDragStop(this); |
||
1281 | </OnDragStop> |
||
1282 | <OnMouseUp> |
||
1283 | Necrosis_OnDragStop(this); |
||
1284 | </OnMouseUp> |
||
1285 | <OnEnter> |
||
1286 | Necrosis_BuildTooltip(this, "ShadowTrance", "ANCHOR_RIGHT"); |
||
1287 | </OnEnter> |
||
1288 | <OnLeave> |
||
1289 | GameTooltip:Hide(); |
||
1290 | </OnLeave> |
||
1291 | <OnClick> |
||
1292 | Necrosis_CastShadowBolt(); |
||
1293 | </OnClick> |
||
1294 | <OnLoad> |
||
1295 | HideUIPanel(NecrosisShadowTranceButton); |
||
1296 | </OnLoad> |
||
1297 | </Scripts> |
||
1298 | <NormalTexture file="Interface\Addons\Necrosis\UI\ShadowTrance-Icon-01"/> |
||
1299 | <PushedTexture file="Interface\Addons\Necrosis\UI\ShadowTrance-Icon-03"/> |
||
1300 | <HighlightTexture file="Interface\Addons\Necrosis\UI\ShadowTrance-Icon-02"/> |
||
1301 | </Button> |
||
1302 | |||
1303 | <Button name="NecrosisAntiFearButton" frameStrata="MEDIUM" movable="true" parent="UIParent"> |
||
1304 | <Size> |
||
1305 | <AbsDimension x="43" y="43"/> |
||
1306 | </Size> |
||
1307 | <Anchors> |
||
1308 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
1309 | <Offset> |
||
1310 | <AbsDimension x="100" y="30"/> |
||
1311 | </Offset> |
||
1312 | </Anchor> |
||
1313 | </Anchors> |
||
1314 | <Scripts> |
||
1315 | <OnDragStart> |
||
1316 | Necrosis_OnDragStart(this); |
||
1317 | </OnDragStart> |
||
1318 | <OnDragStop> |
||
1319 | Necrosis_OnDragStop(this); |
||
1320 | </OnDragStop> |
||
1321 | <OnMouseUp> |
||
1322 | Necrosis_OnDragStop(this); |
||
1323 | </OnMouseUp> |
||
1324 | <OnLoad> |
||
1325 | HideUIPanel(NecrosisAntiFearButton); |
||
1326 | </OnLoad> |
||
1327 | </Scripts> |
||
1328 | <NormalTexture file="Interface\Addons\Necrosis\UI\AntiFear-01"/> |
||
1329 | <HighlightTexture file="Interface\Addons\Necrosis\UI\AntiFear-02"/> |
||
1330 | </Button> |
||
1331 | |||
1332 | <GameTooltip name="NecrosisTooltip" frameStrata="LOW" toplevel="true" movable="true" parent="UIParent" inherits="GameTooltipTemplate" /> |
||
1333 | </Ui> |