vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <!-- AsmoMOD --> |
2 | <!-- Options Pane Definition --> |
||
3 | |||
4 | <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/"> |
||
5 | <Script file="AsmoMOD.lua"/> |
||
6 | |||
7 | <CheckButton name="AsmoMODCheckTemplate" hidden="false" virtual="true"> |
||
8 | <Anchors> |
||
9 | <Anchor point="LEFT"> |
||
10 | <Offset> |
||
11 | <AbsDimension x="0" y="0" /> |
||
12 | </Offset> |
||
13 | </Anchor> |
||
14 | </Anchors> |
||
15 | <Size> |
||
16 | <AbsDimension x="32" y="32" /> |
||
17 | </Size> |
||
18 | <Layers> |
||
19 | <Layer level="BACKGROUND"> |
||
20 | <Texture name="$parentCheckbuttonBackground" setAllPoints="true"> |
||
21 | <Color r="0" g="0" b="1" a="0.0" /> |
||
22 | </Texture> |
||
23 | </Layer> |
||
24 | </Layers> |
||
25 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
26 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
27 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
28 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
29 | <CheckedDisabledTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
30 | <DisabledTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
31 | </CheckButton> |
||
32 | |||
33 | <Slider name="AsmoMODSliderTemplate" inherits="OptionsSliderTemplate" virtual="true"> |
||
34 | <Anchors> |
||
35 | <Anchor point="LEFT"> |
||
36 | <Offset> |
||
37 | <AbsDimension x="20" y="-140" /> |
||
38 | </Offset> |
||
39 | </Anchor> |
||
40 | </Anchors> |
||
41 | <Size> |
||
42 | <AbsDimension x="100" y="17"/> |
||
43 | </Size> |
||
44 | <Scripts> |
||
45 | <OnValueChanged> |
||
46 | AsmoMOD_OptionsSliderOnValueChanged(); |
||
47 | </OnValueChanged> |
||
48 | </Scripts> |
||
49 | </Slider > |
||
50 | |||
51 | <Frame name="AsmoMODDividerTemplate" hidden="false" virtual="true"> |
||
52 | <Size> |
||
53 | <AbsDimension x="200" y="19" /> |
||
54 | </Size> |
||
55 | <Layers> |
||
56 | <Layer level="BACKGROUND"> |
||
57 | <Texture name="$parentLeft" file="Interface\HelpFrame\HelpFrameDivider"> |
||
58 | <Size> |
||
59 | <AbsDimension x="134" y="20" /> |
||
60 | </Size> |
||
61 | <Anchors> |
||
62 | <Anchor point="TOPLEFT" /> |
||
63 | </Anchors> |
||
64 | <TexCoords left="0" right="1.0" top="0" bottom="0.3125" /> |
||
65 | </Texture> |
||
66 | <Texture name="$parentMiddle" file="Interface\HelpFrame\HelpFrameDivider"> |
||
67 | <Size> |
||
68 | <AbsDimension x="55" y="20" /> |
||
69 | </Size> |
||
70 | <Anchors> |
||
71 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"> |
||
72 | <Offset> |
||
73 | <AbsDimension x="0" y="1" /> |
||
74 | </Offset> |
||
75 | </Anchor> |
||
76 | </Anchors> |
||
77 | <TexCoords left="0" right="1.0" top="0.3125" bottom="0.625" /> |
||
78 | </Texture> |
||
79 | <Texture name="$parentRight" file="Interface\HelpFrame\HelpFrameDivider"> |
||
80 | <Size> |
||
81 | <AbsDimension x="101" y="20" /> |
||
82 | </Size> |
||
83 | <Anchors> |
||
84 | <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT" /> |
||
85 | </Anchors> |
||
86 | <TexCoords left="0" right="0.25390625" top="0.625" bottom="0.9375" /> |
||
87 | </Texture> |
||
88 | </Layer> |
||
89 | </Layers> |
||
90 | </Frame> |
||
91 | |||
92 | <Frame name="AsmoMODOptions" hidden="true" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" parent="UIParent"> |
||
93 | <Size> |
||
94 | <AbsDimension x="300" y="625" /> |
||
95 | </Size> |
||
96 | <Anchors> |
||
97 | <Anchor point="CENTER" /> |
||
98 | </Anchors> |
||
99 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" |
||
100 | tile="true"> |
||
101 | <BackgroundInsets> |
||
102 | <AbsInset left="11" right="12" top="12" bottom="11" /> |
||
103 | <Size> |
||
104 | <AbsDimension x="128" y="17" /> |
||
105 | </Size> |
||
106 | </BackgroundInsets> |
||
107 | <TileSize> |
||
108 | <AbsValue val="32" /> |
||
109 | </TileSize> |
||
110 | <EdgeSize> |
||
111 | <AbsValue val="32" /> |
||
112 | </EdgeSize> |
||
113 | </Backdrop> |
||
114 | |||
115 | <Layers> |
||
116 | <Layer level="ARTWORK"> |
||
117 | <Texture name="AsmoMODFrameTitle" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
118 | <Size> |
||
119 | <AbsDimension x="350" y="64" /> |
||
120 | </Size> |
||
121 | <Anchors> |
||
122 | <Anchor point="TOP"> |
||
123 | <Offset> |
||
124 | <AbsDimension x="0" y="12" /> |
||
125 | </Offset> |
||
126 | </Anchor> |
||
127 | </Anchors> |
||
128 | </Texture> |
||
129 | <FontString inherits="GameFontNormal" text="AsmoMOD v1.82 Options"> |
||
130 | <Anchors> |
||
131 | <Anchor point="TOP" relativeTo="AsmoMODOptions"> |
||
132 | <Offset> |
||
133 | <AbsDimension x="0" y="-3" /> |
||
134 | </Offset> |
||
135 | </Anchor> |
||
136 | </Anchors> |
||
137 | </FontString> |
||
138 | </Layer> |
||
139 | </Layers> |
||
140 | |||
141 | |||
142 | <Frames> |
||
143 | <CheckButton name="trinketenabled" inherits="AsmoMODCheckTemplate"> |
||
144 | <Anchors> |
||
145 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
146 | <Offset> |
||
147 | <AbsDimension x="20" y="250" /> |
||
148 | </Offset> |
||
149 | </Anchor> |
||
150 | </Anchors> |
||
151 | |||
152 | <Layers> |
||
153 | <Layer> |
||
154 | <FontString inherits="GameFontNormal" text="Auto Wotf/Trinket"> |
||
155 | <Anchors> |
||
156 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
157 | <Offset> |
||
158 | <AbsDimension x="35" y="0" /> |
||
159 | </Offset> |
||
160 | </Anchor> |
||
161 | </Anchors> |
||
162 | </FontString> |
||
163 | </Layer> |
||
164 | </Layers> |
||
165 | |||
166 | <Scripts> |
||
167 | <OnClick> |
||
168 | AsmoMOD_trinkettoggle(); |
||
169 | </OnClick> |
||
170 | <OnEnter> |
||
171 | AsmoMODExplainText:AddMessage("\n Enables or Dsiables automatic use of WoTF and the PvP Trinket when you are feared/polyed/charmed/slept \n", 156/256, 212/256, 1.0 ); |
||
172 | </OnEnter> |
||
173 | <OnLeave> |
||
174 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
175 | </OnLeave> |
||
176 | </Scripts> |
||
177 | </CheckButton> |
||
178 | |||
179 | <CheckButton name="RessEnabled" inherits="AsmoMODCheckTemplate"> |
||
180 | <Anchors> |
||
181 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
182 | <Offset> |
||
183 | <AbsDimension x="20" y="220" /> |
||
184 | </Offset> |
||
185 | </Anchor> |
||
186 | </Anchors> |
||
187 | |||
188 | <Layers> |
||
189 | <Layer> |
||
190 | <FontString inherits="GameFontNormal" text="Auto Ressurect"> |
||
191 | <Anchors> |
||
192 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
193 | <Offset> |
||
194 | <AbsDimension x="35" y="0" /> |
||
195 | </Offset> |
||
196 | </Anchor> |
||
197 | </Anchors> |
||
198 | </FontString> |
||
199 | </Layer> |
||
200 | </Layers> |
||
201 | |||
202 | <Scripts> |
||
203 | <OnClick> |
||
204 | AsmoMOD_RezToggle(); |
||
205 | </OnClick> |
||
206 | <OnEnter> |
||
207 | AsmoMODExplainText:AddMessage("\n Enables or Disables automatic acceptance of ressurects \n", 156/256, 212/256, 1.0 ); |
||
208 | </OnEnter> |
||
209 | <OnLeave> |
||
210 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
211 | </OnLeave> |
||
212 | </Scripts> |
||
213 | </CheckButton> |
||
214 | |||
215 | <CheckButton name="SummonEnabled" inherits="AsmoMODCheckTemplate"> |
||
216 | <Anchors> |
||
217 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
218 | <Offset> |
||
219 | <AbsDimension x="20" y="190" /> |
||
220 | </Offset> |
||
221 | </Anchor> |
||
222 | </Anchors> |
||
223 | |||
224 | <Layers> |
||
225 | <Layer> |
||
226 | <FontString inherits="GameFontNormal" text="Auto Summon"> |
||
227 | <Anchors> |
||
228 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
229 | <Offset> |
||
230 | <AbsDimension x="35" y="0" /> |
||
231 | </Offset> |
||
232 | </Anchor> |
||
233 | </Anchors> |
||
234 | </FontString> |
||
235 | </Layer> |
||
236 | </Layers> |
||
237 | |||
238 | <Scripts> |
||
239 | <OnClick> |
||
240 | AsmoMOD_SummonToggle(); |
||
241 | </OnClick> |
||
242 | <OnEnter> |
||
243 | AsmoMODExplainText:AddMessage("\n Enables or Disables automatic acceptance of summons \n", 156/256, 212/256, 1.0 ); |
||
244 | </OnEnter> |
||
245 | <OnLeave> |
||
246 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
247 | </OnLeave> |
||
248 | </Scripts> |
||
249 | </CheckButton> |
||
250 | |||
251 | <CheckButton name="bgrelenabled" inherits="AsmoMODCheckTemplate"> |
||
252 | <Anchors> |
||
253 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
254 | <Offset> |
||
255 | <AbsDimension x="20" y="160" /> |
||
256 | </Offset> |
||
257 | </Anchor> |
||
258 | </Anchors> |
||
259 | |||
260 | <Layers> |
||
261 | <Layer> |
||
262 | <FontString inherits="GameFontNormal" text="BG Auto Release"> |
||
263 | <Anchors> |
||
264 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
265 | <Offset> |
||
266 | <AbsDimension x="35" y="0" /> |
||
267 | </Offset> |
||
268 | </Anchor> |
||
269 | </Anchors> |
||
270 | </FontString> |
||
271 | </Layer> |
||
272 | </Layers> |
||
273 | |||
274 | <Scripts> |
||
275 | <OnClick> |
||
276 | AsmoMOD_bgreltoggle(); |
||
277 | </OnClick> |
||
278 | <OnEnter> |
||
279 | AsmoMODExplainText:AddMessage("\n Enables or Disables automatically releasing in BGs \n", 156/256, 212/256, 1.0 ); |
||
280 | </OnEnter> |
||
281 | <OnLeave> |
||
282 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
283 | </OnLeave> |
||
284 | </Scripts> |
||
285 | </CheckButton> |
||
286 | |||
287 | <CheckButton name="bgjoinenabled" inherits="AsmoMODCheckTemplate"> |
||
288 | <Anchors> |
||
289 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
290 | <Offset> |
||
291 | <AbsDimension x="20" y="130" /> |
||
292 | </Offset> |
||
293 | </Anchor> |
||
294 | </Anchors> |
||
295 | |||
296 | <Layers> |
||
297 | <Layer> |
||
298 | <FontString inherits="GameFontNormal" text="BG Auto Join"> |
||
299 | <Anchors> |
||
300 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
301 | <Offset> |
||
302 | <AbsDimension x="35" y="0" /> |
||
303 | </Offset> |
||
304 | </Anchor> |
||
305 | </Anchors> |
||
306 | </FontString> |
||
307 | </Layer> |
||
308 | </Layers> |
||
309 | |||
310 | <Scripts> |
||
311 | <OnClick> |
||
312 | AsmoMOD_bgjointoggle(); |
||
313 | </OnClick> |
||
314 | <OnEnter> |
||
315 | AsmoMODExplainText:AddMessage("\n Enables or Disables automatically joining BGs \n", 156/256, 212/256, 1.0 ); |
||
316 | </OnEnter> |
||
317 | <OnLeave> |
||
318 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
319 | </OnLeave> |
||
320 | </Scripts> |
||
321 | </CheckButton> |
||
322 | |||
323 | <CheckButton name="repairenabled" inherits="AsmoMODCheckTemplate"> |
||
324 | <Anchors> |
||
325 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
326 | <Offset> |
||
327 | <AbsDimension x="20" y="100" /> |
||
328 | </Offset> |
||
329 | </Anchor> |
||
330 | </Anchors> |
||
331 | |||
332 | <Layers> |
||
333 | <Layer> |
||
334 | <FontString inherits="GameFontNormal" text="Auto Repair"> |
||
335 | <Anchors> |
||
336 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
337 | <Offset> |
||
338 | <AbsDimension x="35" y="0" /> |
||
339 | </Offset> |
||
340 | </Anchor> |
||
341 | </Anchors> |
||
342 | </FontString> |
||
343 | </Layer> |
||
344 | </Layers> |
||
345 | |||
346 | <Scripts> |
||
347 | <OnClick> |
||
348 | AsmoMOD_repairtoggle(); |
||
349 | </OnClick> |
||
350 | <OnEnter> |
||
351 | AsmoMODExplainText:AddMessage("\n Enables or Disables automatic repair of all items when you talk to merchants \n", 156/256, 212/256, 1.0 ); |
||
352 | </OnEnter> |
||
353 | <OnLeave> |
||
354 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
355 | </OnLeave> |
||
356 | </Scripts> |
||
357 | </CheckButton> |
||
358 | |||
359 | <CheckButton name="groupenabled" inherits="AsmoMODCheckTemplate"> |
||
360 | <Anchors> |
||
361 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
362 | <Offset> |
||
363 | <AbsDimension x="20" y="70" /> |
||
364 | </Offset> |
||
365 | </Anchor> |
||
366 | </Anchors> |
||
367 | |||
368 | <Layers> |
||
369 | <Layer> |
||
370 | <FontString inherits="GameFontNormal" text="Auto Group"> |
||
371 | <Anchors> |
||
372 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
373 | <Offset> |
||
374 | <AbsDimension x="35" y="0" /> |
||
375 | </Offset> |
||
376 | </Anchor> |
||
377 | </Anchors> |
||
378 | </FontString> |
||
379 | </Layer> |
||
380 | </Layers> |
||
381 | |||
382 | <Scripts> |
||
383 | <OnClick> |
||
384 | AsmoMOD_grouptoggle(); |
||
385 | </OnClick> |
||
386 | <OnEnter> |
||
387 | AsmoMODExplainText:AddMessage("\n Enables or Dsiables automatic acceptance of group invites \n", 156/256, 212/256, 1.0 ); |
||
388 | </OnEnter> |
||
389 | <OnLeave> |
||
390 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
391 | </OnLeave> |
||
392 | </Scripts> |
||
393 | </CheckButton> |
||
394 | |||
395 | <CheckButton name="herbmineenabled" inherits="AsmoMODCheckTemplate"> |
||
396 | <Anchors> |
||
397 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
398 | <Offset> |
||
399 | <AbsDimension x="20" y="40" /> |
||
400 | </Offset> |
||
401 | </Anchor> |
||
402 | </Anchors> |
||
403 | |||
404 | <Layers> |
||
405 | <Layer> |
||
406 | <FontString inherits="GameFontNormal" text="Auto Herb/Mine"> |
||
407 | <Anchors> |
||
408 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
409 | <Offset> |
||
410 | <AbsDimension x="35" y="0" /> |
||
411 | </Offset> |
||
412 | </Anchor> |
||
413 | </Anchors> |
||
414 | </FontString> |
||
415 | </Layer> |
||
416 | </Layers> |
||
417 | |||
418 | <Scripts> |
||
419 | <OnClick> |
||
420 | AsmoMOD_herbminetoggle(); |
||
421 | </OnClick> |
||
422 | <OnEnter> |
||
423 | AsmoMODExplainText:AddMessage("\n Enables or Disables automatic casting of find herbs/minerals\n", 156/256, 212/256, 1.0 ); |
||
424 | </OnEnter> |
||
425 | <OnLeave> |
||
426 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
427 | </OnLeave> |
||
428 | </Scripts> |
||
429 | </CheckButton> |
||
430 | |||
431 | <CheckButton name="openabled" inherits="AsmoMODCheckTemplate"> |
||
432 | <Anchors> |
||
433 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
434 | <Offset> |
||
435 | <AbsDimension x="20" y="10" /> |
||
436 | </Offset> |
||
437 | </Anchor> |
||
438 | </Anchors> |
||
439 | |||
440 | <Layers> |
||
441 | <Layer> |
||
442 | <FontString inherits="GameFontNormal" text="Auto Overpower"> |
||
443 | <Anchors> |
||
444 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
445 | <Offset> |
||
446 | <AbsDimension x="35" y="0" /> |
||
447 | </Offset> |
||
448 | </Anchor> |
||
449 | </Anchors> |
||
450 | </FontString> |
||
451 | </Layer> |
||
452 | </Layers> |
||
453 | |||
454 | <Scripts> |
||
455 | <OnClick> |
||
456 | AsmoMOD_overpowertoggle(); |
||
457 | </OnClick> |
||
458 | <OnEnter> |
||
459 | AsmoMODExplainText:AddMessage("\n Enables or Dsiables automatic use of overpower Note: Do NOT enable unless you have overpower on one of your hotbars \n", 156/256, 212/256, 1.0 ); |
||
460 | </OnEnter> |
||
461 | <OnLeave> |
||
462 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
463 | </OnLeave> |
||
464 | </Scripts> |
||
465 | </CheckButton> |
||
466 | |||
467 | <CheckButton name="riposteenabled" inherits="AsmoMODCheckTemplate"> |
||
468 | <Anchors> |
||
469 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
470 | <Offset> |
||
471 | <AbsDimension x="20" y="-20" /> |
||
472 | </Offset> |
||
473 | </Anchor> |
||
474 | </Anchors> |
||
475 | |||
476 | <Layers> |
||
477 | <Layer> |
||
478 | <FontString inherits="GameFontNormal" text="Auto Riposte"> |
||
479 | <Anchors> |
||
480 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
481 | <Offset> |
||
482 | <AbsDimension x="35" y="0" /> |
||
483 | </Offset> |
||
484 | </Anchor> |
||
485 | </Anchors> |
||
486 | </FontString> |
||
487 | </Layer> |
||
488 | </Layers> |
||
489 | |||
490 | <Scripts> |
||
491 | <OnClick> |
||
492 | AsmoMOD_ripostetoggle(); |
||
493 | </OnClick> |
||
494 | <OnEnter> |
||
495 | AsmoMODExplainText:AddMessage("\n Enables or Dsiables automatic use of riposte Note: Do NOT enable unless you have riposte on one of your hotbars \n", 156/256, 212/256, 1.0 ); |
||
496 | </OnEnter> |
||
497 | <OnLeave> |
||
498 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
499 | </OnLeave> |
||
500 | </Scripts> |
||
501 | </CheckButton> |
||
502 | |||
503 | <CheckButton name="executeenabled" inherits="AsmoMODCheckTemplate"> |
||
504 | <Anchors> |
||
505 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
506 | <Offset> |
||
507 | <AbsDimension x="20" y="-50" /> |
||
508 | </Offset> |
||
509 | </Anchor> |
||
510 | </Anchors> |
||
511 | |||
512 | <Layers> |
||
513 | <Layer> |
||
514 | <FontString inherits="GameFontNormal" text="Auto Execute"> |
||
515 | <Anchors> |
||
516 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
517 | <Offset> |
||
518 | <AbsDimension x="35" y="0" /> |
||
519 | </Offset> |
||
520 | </Anchor> |
||
521 | </Anchors> |
||
522 | </FontString> |
||
523 | </Layer> |
||
524 | </Layers> |
||
525 | |||
526 | <Scripts> |
||
527 | <OnClick> |
||
528 | AsmoMOD_executetoggle(); |
||
529 | </OnClick> |
||
530 | <OnEnter> |
||
531 | AsmoMODExplainText:AddMessage("\n Enables or Dsiables automatic use of execute Note: Enable ONLY if you are a warrior \n", 156/256, 212/256, 1.0 ); |
||
532 | </OnEnter> |
||
533 | <OnLeave> |
||
534 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
535 | </OnLeave> |
||
536 | </Scripts> |
||
537 | </CheckButton> |
||
538 | |||
539 | <CheckButton name="nshealenabled" inherits="AsmoMODCheckTemplate"> |
||
540 | <Anchors> |
||
541 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
542 | <Offset> |
||
543 | <AbsDimension x="20" y="-80" /> |
||
544 | </Offset> |
||
545 | </Anchor> |
||
546 | </Anchors> |
||
547 | |||
548 | <Layers> |
||
549 | <Layer> |
||
550 | <FontString inherits="GameFontNormal" text="Auto NSHeal"> |
||
551 | <Anchors> |
||
552 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
553 | <Offset> |
||
554 | <AbsDimension x="35" y="0" /> |
||
555 | </Offset> |
||
556 | </Anchor> |
||
557 | </Anchors> |
||
558 | </FontString> |
||
559 | </Layer> |
||
560 | </Layers> |
||
561 | |||
562 | <Scripts> |
||
563 | <OnClick> |
||
564 | AsmoMOD_nshealtoggle(); |
||
565 | </OnClick> |
||
566 | <OnEnter> |
||
567 | AsmoMODExplainText:AddMessage("\n Enables or Dsiables automatic use of NSHeal if you go below a certain health percentage: Enable ONLY if you are a druid or shaman with NS \n", 156/256, 212/256, 1.0 ); |
||
568 | </OnEnter> |
||
569 | <OnLeave> |
||
570 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
571 | </OnLeave> |
||
572 | </Scripts> |
||
573 | </CheckButton> |
||
574 | |||
575 | <CheckButton name="conserveenabled" inherits="AsmoMODCheckTemplate"> |
||
576 | <Anchors> |
||
577 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
578 | <Offset> |
||
579 | <AbsDimension x="20" y="-110" /> |
||
580 | </Offset> |
||
581 | </Anchor> |
||
582 | </Anchors> |
||
583 | |||
584 | <Layers> |
||
585 | <Layer> |
||
586 | <FontString inherits="GameFontNormal" text="Mana Conserve"> |
||
587 | <Anchors> |
||
588 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
589 | <Offset> |
||
590 | <AbsDimension x="35" y="0" /> |
||
591 | </Offset> |
||
592 | </Anchor> |
||
593 | </Anchors> |
||
594 | </FontString> |
||
595 | </Layer> |
||
596 | </Layers> |
||
597 | |||
598 | <Scripts> |
||
599 | <OnClick> |
||
600 | AsmoMOD_conservetoggle(); |
||
601 | </OnClick> |
||
602 | <OnEnter> |
||
603 | AsmoMODExplainText:AddMessage("\n Enables or Dsiables automatic cancelling of heals if your target is above a specified percentage of life\n", 156/256, 212/256, 1.0 ); |
||
604 | </OnEnter> |
||
605 | <OnLeave> |
||
606 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
607 | </OnLeave> |
||
608 | </Scripts> |
||
609 | </CheckButton> |
||
610 | |||
611 | <Slider name="nshealpercentage" id="1" inherits="AsmoMODSliderTemplate"> |
||
612 | <Layers> |
||
613 | <Layer> |
||
614 | <FontString name="nstext" inherits="GameFontNormal"> |
||
615 | <Anchors> |
||
616 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
617 | <Offset> |
||
618 | <AbsDimension x="110" y="0" /> |
||
619 | </Offset> |
||
620 | </Anchor> |
||
621 | </Anchors> |
||
622 | </FontString> |
||
623 | </Layer> |
||
624 | </Layers> |
||
625 | <Scripts> |
||
626 | <OnLoad> |
||
627 | this:SetMinMaxValues(0, 100); |
||
628 | this:SetValueStep(10); |
||
629 | getglobal(this:GetName().."High"):SetText("100"); |
||
630 | getglobal(this:GetName().."Low"):SetText("0"); |
||
631 | </OnLoad> |
||
632 | <OnValueChanged> |
||
633 | AsmoMOD_PercentageChanged(); |
||
634 | </OnValueChanged> |
||
635 | <OnEnter> |
||
636 | AsmoMODExplainText:AddMessage("\n Sets the percentage of health at which nsheal with automatically cast: Enable ONLY if you are a shaman or druid \n", 156/256, 212/256, 1.0 ); |
||
637 | </OnEnter> |
||
638 | <OnLeave> |
||
639 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
640 | </OnLeave> |
||
641 | </Scripts> |
||
642 | </Slider> |
||
643 | |||
644 | <Slider name="conservepercentage" id="1" inherits="AsmoMODSliderTemplate"> |
||
645 | <Anchors> |
||
646 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
647 | <Offset> |
||
648 | <AbsDimension x="20" y="-170" /> |
||
649 | </Offset> |
||
650 | </Anchor> |
||
651 | </Anchors> |
||
652 | <Layers> |
||
653 | <Layer> |
||
654 | <FontString name="conservetext" inherits="GameFontNormal"> |
||
655 | <Anchors> |
||
656 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
657 | <Offset> |
||
658 | <AbsDimension x="110" y="0" /> |
||
659 | </Offset> |
||
660 | </Anchor> |
||
661 | </Anchors> |
||
662 | </FontString> |
||
663 | </Layer> |
||
664 | </Layers> |
||
665 | <Scripts> |
||
666 | <OnLoad> |
||
667 | this:SetMinMaxValues(0, 100); |
||
668 | this:SetValueStep(10); |
||
669 | getglobal(this:GetName().."High"):SetText("100"); |
||
670 | getglobal(this:GetName().."Low"):SetText("0"); |
||
671 | </OnLoad> |
||
672 | <OnValueChanged> |
||
673 | AsmoMOD_ConserveChanged(); |
||
674 | </OnValueChanged> |
||
675 | <OnEnter> |
||
676 | AsmoMODExplainText:AddMessage("\n Spells will cancel if your target has more than this set percentage: Enable ONLY if you are a healer \n", 156/256, 212/256, 1.0 ); |
||
677 | </OnEnter> |
||
678 | <OnLeave> |
||
679 | AsmoMODExplainText:AddMessage("\n\n\n\n\n"); |
||
680 | </OnLeave> |
||
681 | </Scripts> |
||
682 | </Slider> |
||
683 | |||
684 | <Frame name="AsmoMODOptionsDivider" inherits="AsmoMODDividerTemplate"> |
||
685 | <Anchors> |
||
686 | <Anchor point="TOPLEFT"> |
||
687 | <Offset> |
||
688 | <AbsDimension x="6" y="-500" /> |
||
689 | </Offset> |
||
690 | </Anchor> |
||
691 | </Anchors> |
||
692 | </Frame> |
||
693 | |||
694 | <ScrollingMessageFrame name="AsmoMODExplainText" ignoreArrows="true" maxLines="4" historyLines="0" fade="true" |
||
695 | displayDuration="3" fadeDuration="3" letters="256" hidden="false"> |
||
696 | <Size> |
||
697 | <AbsDimension x="295" y="55" /> |
||
698 | </Size> |
||
699 | <Anchors> |
||
700 | <Anchor point="BOTTOMLEFT"> |
||
701 | <Offset> |
||
702 | <AbsDimension x="0" y="65" /> |
||
703 | </Offset> |
||
704 | </Anchor> |
||
705 | </Anchors> |
||
706 | <Layers> |
||
707 | <Layer level="BACKGROUND"> |
||
708 | <Texture name="AsmoMODTextBack" setAllPoints="true"> |
||
709 | <Color r="0" g="0" b="0" a="0.0" /> |
||
710 | </Texture> |
||
711 | </Layer> |
||
712 | <Layer level="ARTWORK"> |
||
713 | <FontString name="AsmoMODTextBack" inherits="GameFontNormal"> |
||
714 | <Anchors> |
||
715 | <Anchor point="TOP"> |
||
716 | <Offset> |
||
717 | <AbsDimension x="13" y="0" /> |
||
718 | </Offset> |
||
719 | </Anchor> |
||
720 | </Anchors> |
||
721 | </FontString> |
||
722 | </Layer> |
||
723 | </Layers> |
||
724 | <FontString inherits="GameFontNormal"></FontString> |
||
725 | </ScrollingMessageFrame> |
||
726 | |||
727 | <Frame name="AsmoMODSubDivider" inherits="AsmoMODDividerTemplate"> |
||
728 | <Anchors> |
||
729 | <Anchor point="BOTTOMLEFT"> |
||
730 | <Offset> |
||
731 | <AbsDimension x="6" y="40" /> |
||
732 | </Offset> |
||
733 | </Anchor> |
||
734 | </Anchors> |
||
735 | </Frame> |
||
736 | |||
737 | <Button name="AsmoMODOptionsSave" inherits="GameMenuButtonTemplate"> |
||
738 | <Anchors> |
||
739 | <Anchor point="CENTER" relativePoint="BOTTOM" relitiveTo="AsmoMODOptions"> |
||
740 | <Offset> |
||
741 | <AbsDimension x="0" y="30" /> |
||
742 | </Offset> |
||
743 | </Anchor> |
||
744 | </Anchors> |
||
745 | <Scripts> |
||
746 | <OnLoad> |
||
747 | this:SetText(OKAY); |
||
748 | </OnLoad> |
||
749 | <OnClick> |
||
750 | this:GetParent():Hide(); |
||
751 | </OnClick> |
||
752 | </Scripts> |
||
753 | </Button> |
||
754 | </Frames> |
||
755 | </Frame> |
||
756 | </Ui> |