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/ |
2 | ..\FrameXML\UI.xsd"> |
||
3 | <Script file="localization.lua"/> |
||
4 | <Script file="CombatStats.lua"/> |
||
5 | |||
6 | |||
7 | <Frame name="CombatStatFrameTemplate" virtual="true"> |
||
8 | <Size> |
||
9 | <AbsDimension x="115" y="13"/> |
||
10 | </Size> |
||
11 | <Layers> |
||
12 | <Layer level="BACKGROUND"> |
||
13 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
14 | <Anchors> |
||
15 | <Anchor point="LEFT"/> |
||
16 | </Anchors> |
||
17 | </FontString> |
||
18 | </Layer> |
||
19 | |||
20 | </Layers> |
||
21 | <Frames> |
||
22 | <Frame name="$parentStat"> |
||
23 | <Size> |
||
24 | <AbsDimension x="30" y="13"/> |
||
25 | </Size> |
||
26 | <Anchors> |
||
27 | <Anchor point="RIGHT"/> |
||
28 | </Anchors> |
||
29 | <Layers> |
||
30 | <Layer level="BACKGROUND"> |
||
31 | <FontString name="$parentText" inherits="GameFontHighlightSmall" justifyH="RIGHT"> |
||
32 | <Anchors> |
||
33 | <Anchor point="RIGHT"/> |
||
34 | </Anchors> |
||
35 | </FontString> |
||
36 | </Layer> |
||
37 | </Layers> |
||
38 | </Frame> |
||
39 | </Frames> |
||
40 | </Frame> |
||
41 | |||
42 | |||
43 | <Frame name="CombatStatsDataFrame" hidden="true" movable="true" toplevel="true" parent="UIParent" enableMouse="true"> |
||
44 | <Size> |
||
45 | <AbsDimension x="275" y="280"/> |
||
46 | </Size> |
||
47 | <Anchors> |
||
48 | <Anchor point="TOPLEFT" relativeTo="UIParent" relativePoint="TOPLEFT"> |
||
49 | <Offset> |
||
50 | <AbsDimension x="75" y="-75"/> |
||
51 | </Offset> |
||
52 | </Anchor> |
||
53 | </Anchors> |
||
54 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
55 | <BackgroundInsets> |
||
56 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
57 | </BackgroundInsets> |
||
58 | <TileSize> |
||
59 | <AbsValue val="32"/> |
||
60 | </TileSize> |
||
61 | <EdgeSize> |
||
62 | <AbsValue val="32"/> |
||
63 | </EdgeSize> |
||
64 | </Backdrop> |
||
65 | |||
66 | <Frames> |
||
67 | <Button name="CombatStatsDataFrame_Reset" inherits="GameMenuButtonTemplate" text="Reset"> |
||
68 | <Size> |
||
69 | <AbsDimension x="100" y="21"/> |
||
70 | </Size> |
||
71 | <Anchors> |
||
72 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="CombatStatsDataFrame"> |
||
73 | <Offset> |
||
74 | <AbsDimension x="-10" y="14"/> |
||
75 | </Offset> |
||
76 | </Anchor> |
||
77 | </Anchors> |
||
78 | <Scripts> |
||
79 | <OnClick> |
||
80 | |||
81 | CombatStats_Reset(); |
||
82 | </OnClick> |
||
83 | </Scripts> |
||
84 | </Button> |
||
85 | <Button name="CombatStatsDataFrame_ModifyClose" inherits="UIPanelCloseButton"> |
||
86 | <Anchors> |
||
87 | <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" relativeTo="CombatStatsDataFrame"> |
||
88 | <Offset> |
||
89 | <AbsDimension x="0" y="2"/> |
||
90 | </Offset> |
||
91 | </Anchor> |
||
92 | </Anchors> |
||
93 | <Scripts> |
||
94 | <OnShow> |
||
95 | local parent = this:GetParent(); |
||
96 | if ( parent ) then |
||
97 | this:SetFrameLevel(parent:GetFrameLevel()+5); |
||
98 | else |
||
99 | this:SetFrameLevel(6); |
||
100 | end |
||
101 | </OnShow> |
||
102 | </Scripts> |
||
103 | </Button> |
||
104 | |||
105 | <Frame name="CombatStatsAttackDropDown" inherits="UIDropDownMenuTemplate" id="133"> |
||
106 | <Anchors> |
||
107 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" relativeTo="CombatStatsDataFrame"> |
||
108 | <Offset> |
||
109 | <AbsDimension x="-7" y="6"/> |
||
110 | </Offset> |
||
111 | </Anchor> |
||
112 | </Anchors> |
||
113 | <Scripts> |
||
114 | <OnLoad> |
||
115 | CombatStatsAttackDropDown_OnLoad(); |
||
116 | </OnLoad> |
||
117 | <OnShow> |
||
118 | CombatStatsAttackDropDown_OnLoad(); |
||
119 | </OnShow> |
||
120 | </Scripts> |
||
121 | </Frame> |
||
122 | |||
123 | <Frame name="CombatStatsDataFrame_GeneralBreakdown"> |
||
124 | |||
125 | |||
126 | <Size> |
||
127 | <AbsDimension x="260" y="125"/> |
||
128 | </Size> |
||
129 | <Anchors> |
||
130 | <Anchor point="TOPLEFT" relativePoint = "TOPLEFT" relativeTo="CombatStatsDataFrame"> |
||
131 | <Offset> |
||
132 | <AbsDimension x="10" y="-25"/> |
||
133 | </Offset> |
||
134 | </Anchor> |
||
135 | </Anchors> |
||
136 | <Layers> |
||
137 | <Layer level="BACKGROUND"> |
||
138 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-StatBackground"> |
||
139 | <Size> |
||
140 | <AbsDimension x="250" y="120"/> |
||
141 | </Size> |
||
142 | <Anchors> |
||
143 | <Anchor point="TOPLEFT"> |
||
144 | <Offset> |
||
145 | <AbsDimension x="0" y="0"/> |
||
146 | </Offset> |
||
147 | </Anchor> |
||
148 | </Anchors> |
||
149 | <TexCoords left="0" right="0.89" top="0" bottom="0.61"/> |
||
150 | </Texture> |
||
151 | </Layer> |
||
152 | </Layers> |
||
153 | <Frames> |
||
154 | <Frame name="CombatStats_DataFramesLabels"> |
||
155 | |||
156 | <Size> |
||
157 | <AbsDimension x="200" y="16"/> |
||
158 | </Size> |
||
159 | <Anchors> |
||
160 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> |
||
161 | <Offset> |
||
162 | <AbsDimension x="0" y="-5"/> |
||
163 | </Offset> |
||
164 | </Anchor> |
||
165 | </Anchors> |
||
166 | <Layers> |
||
167 | <Layer level="BACKGROUND"> |
||
168 | <FontString inherits="GameFontNormalSmall" justifyH="RIGHT" text="General Attack Info."> |
||
169 | <Anchors> |
||
170 | <Anchor point="TOPLEFT"> |
||
171 | <Offset> |
||
172 | <AbsDimension x="3" y="0"/> |
||
173 | </Offset> |
||
174 | </Anchor> |
||
175 | </Anchors> |
||
176 | </FontString> |
||
177 | </Layer> |
||
178 | </Layers> |
||
179 | </Frame> |
||
180 | |||
181 | |||
182 | <Frame name="CombatStatsOverallCritPct" id="41"> |
||
183 | |||
184 | <Size> |
||
185 | <AbsDimension x="52" y="13"/> |
||
186 | </Size> |
||
187 | |||
188 | <Anchors> |
||
189 | <Anchor point="TOPLEFT" relativeTo="CombatStats_DataFramesLabels" relativePoint="TOPRIGHT"> |
||
190 | |||
191 | </Anchor> |
||
192 | </Anchors> |
||
193 | |||
194 | <Layers> |
||
195 | <Layer level="BACKGROUND"> |
||
196 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
197 | <Anchors> |
||
198 | <Anchor point="LEFT"/> |
||
199 | </Anchors> |
||
200 | </FontString> |
||
201 | </Layer> |
||
202 | </Layers> |
||
203 | |||
204 | <Scripts> |
||
205 | <OnEnter> |
||
206 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
207 | GameTooltip:SetText(CS_TT_OVERALLPCT_TEXT); |
||
208 | </OnEnter> |
||
209 | <OnLeave> |
||
210 | GameTooltip:Hide(); |
||
211 | </OnLeave> |
||
212 | </Scripts> |
||
213 | |||
214 | </Frame> |
||
215 | |||
216 | <Frame name="CombatStatsGeneralName" id="11"> |
||
217 | |||
218 | |||
219 | <Size> |
||
220 | <AbsDimension x="80" y="13"/> |
||
221 | </Size> |
||
222 | |||
223 | <Anchors> |
||
224 | <Anchor point="TOPLEFT"> |
||
225 | <Offset> |
||
226 | <AbsDimension x="7" y="-5"/> |
||
227 | </Offset> |
||
228 | </Anchor> |
||
229 | </Anchors> |
||
230 | |||
231 | <Layers> |
||
232 | <Layer level="BACKGROUND"> |
||
233 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
234 | <Anchors> |
||
235 | <Anchor point="LEFT"/> |
||
236 | </Anchors> |
||
237 | </FontString> |
||
238 | </Layer> |
||
239 | </Layers> |
||
240 | |||
241 | </Frame> |
||
242 | |||
243 | |||
244 | <Frame name="CombatStatsGeneralNameText"> |
||
245 | |||
246 | <Size> |
||
247 | <AbsDimension x="75" y="13"/> |
||
248 | </Size> |
||
249 | |||
250 | <Anchors> |
||
251 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralName" relativePoint="TOPRIGHT"> |
||
252 | </Anchor> |
||
253 | </Anchors> |
||
254 | |||
255 | <Layers> |
||
256 | <Layer level="BACKGROUND"> |
||
257 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
258 | <Anchors> |
||
259 | <Anchor point="LEFT"/> |
||
260 | </Anchors> |
||
261 | </FontString> |
||
262 | </Layer> |
||
263 | </Layers> |
||
264 | |||
265 | |||
266 | </Frame> |
||
267 | |||
268 | <Frame name="CombatStatsGeneralTotalHits" id="12"> |
||
269 | |||
270 | <Size> |
||
271 | <AbsDimension x="28" y="13"/> |
||
272 | </Size> |
||
273 | |||
274 | <Anchors> |
||
275 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralName" relativePoint="BOTTOMLEFT"> |
||
276 | <Offset> |
||
277 | <AbsDimension x="1" y="-1"/> |
||
278 | </Offset> |
||
279 | </Anchor> |
||
280 | </Anchors> |
||
281 | |||
282 | <Layers> |
||
283 | <Layer level="BACKGROUND"> |
||
284 | <FontString name="$parentHits" inherits="GameFontHighlightSmall"> |
||
285 | <Anchors> |
||
286 | <Anchor point="LEFT"/> |
||
287 | </Anchors> |
||
288 | </FontString> |
||
289 | </Layer> |
||
290 | </Layers> |
||
291 | |||
292 | |||
293 | </Frame> |
||
294 | |||
295 | |||
296 | <Frame name="CombatStatsGeneralHitsText" id="14"> |
||
297 | |||
298 | |||
299 | |||
300 | <Size> |
||
301 | <AbsDimension x="55" y="13"/> |
||
302 | </Size> |
||
303 | |||
304 | <Anchors> |
||
305 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralTotalHits" relativePoint="TOPRIGHT"> |
||
306 | </Anchor> |
||
307 | </Anchors> |
||
308 | |||
309 | <Layers> |
||
310 | <Layer level="BACKGROUND"> |
||
311 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
312 | <Anchors> |
||
313 | <Anchor point="LEFT"/> |
||
314 | </Anchors> |
||
315 | </FontString> |
||
316 | </Layer> |
||
317 | </Layers> |
||
318 | |||
319 | |||
320 | </Frame> |
||
321 | |||
322 | <Frame name="CombatStatsGeneralSwings" id="15"> |
||
323 | |||
324 | <Size> |
||
325 | <AbsDimension x="30" y="13"/> |
||
326 | </Size> |
||
327 | |||
328 | <Anchors> |
||
329 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralHitsText" relativePoint="TOPRIGHT"> |
||
330 | </Anchor> |
||
331 | </Anchors> |
||
332 | |||
333 | <Layers> |
||
334 | <Layer level="BACKGROUND"> |
||
335 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
336 | <Anchors> |
||
337 | <Anchor point="LEFT"/> |
||
338 | </Anchors> |
||
339 | </FontString> |
||
340 | </Layer> |
||
341 | </Layers> |
||
342 | |||
343 | |||
344 | </Frame> |
||
345 | |||
346 | <Frame name="CombatStatsGeneralSwingsText" id="16"> |
||
347 | |||
348 | |||
349 | <Size> |
||
350 | <AbsDimension x="75" y="13"/> |
||
351 | </Size> |
||
352 | |||
353 | <Anchors> |
||
354 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralSwings" relativePoint="TOPRIGHT"> |
||
355 | </Anchor> |
||
356 | </Anchors> |
||
357 | |||
358 | <Layers> |
||
359 | <Layer level="BACKGROUND"> |
||
360 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
361 | <Anchors> |
||
362 | <Anchor point="LEFT"/> |
||
363 | </Anchors> |
||
364 | </FontString> |
||
365 | </Layer> |
||
366 | </Layers> |
||
367 | |||
368 | |||
369 | </Frame> |
||
370 | |||
371 | <Frame name="CombatStatsGeneralMisses" id="17"> |
||
372 | |||
373 | |||
374 | <Size> |
||
375 | <AbsDimension x="42" y="13"/> |
||
376 | </Size> |
||
377 | |||
378 | <Anchors> |
||
379 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralTotalHits" relativePoint="BOTTOMLEFT"> |
||
380 | <Offset> |
||
381 | <AbsDimension x="0" y="-1"/> |
||
382 | </Offset> |
||
383 | </Anchor> |
||
384 | </Anchors> |
||
385 | |||
386 | <Layers> |
||
387 | <Layer level="BACKGROUND"> |
||
388 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
389 | <Anchors> |
||
390 | <Anchor point="LEFT"/> |
||
391 | </Anchors> |
||
392 | </FontString> |
||
393 | </Layer> |
||
394 | </Layers> |
||
395 | |||
396 | |||
397 | </Frame> |
||
398 | |||
399 | <Frame name="CombatStatsGeneralMissesText" id="18"> |
||
400 | |||
401 | |||
402 | <Size> |
||
403 | <AbsDimension x="23" y="13"/> |
||
404 | </Size> |
||
405 | |||
406 | <Anchors> |
||
407 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralMisses" relativePoint="TOPRIGHT"> |
||
408 | </Anchor> |
||
409 | </Anchors> |
||
410 | |||
411 | <Layers> |
||
412 | <Layer level="BACKGROUND"> |
||
413 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
414 | <Anchors> |
||
415 | <Anchor point="LEFT"/> |
||
416 | </Anchors> |
||
417 | </FontString> |
||
418 | </Layer> |
||
419 | </Layers> |
||
420 | |||
421 | |||
422 | </Frame> |
||
423 | |||
424 | |||
425 | <Frame name="CombatStatsGeneralMissesPercent" id="19"> |
||
426 | |||
427 | <Size> |
||
428 | <AbsDimension x="45" y="13"/> |
||
429 | </Size> |
||
430 | |||
431 | <Anchors> |
||
432 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralMissesText" relativePoint="TOPRIGHT"> |
||
433 | </Anchor> |
||
434 | </Anchors> |
||
435 | |||
436 | <Layers> |
||
437 | <Layer level="BACKGROUND"> |
||
438 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
439 | <Anchors> |
||
440 | <Anchor point="LEFT"/> |
||
441 | </Anchors> |
||
442 | </FontString> |
||
443 | </Layer> |
||
444 | </Layers> |
||
445 | |||
446 | |||
447 | </Frame> |
||
448 | |||
449 | |||
450 | <Frame name="CombatStatsGeneralDodges" id="20"> |
||
451 | |||
452 | <Size> |
||
453 | <AbsDimension x="48" y="13"/> |
||
454 | </Size> |
||
455 | |||
456 | <Anchors> |
||
457 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralMissesPercent" relativePoint="TOPRIGHT"> |
||
458 | <Offset> |
||
459 | <AbsDimension x="15" y="0"/> |
||
460 | </Offset> |
||
461 | </Anchor> |
||
462 | </Anchors> |
||
463 | |||
464 | <Layers> |
||
465 | <Layer level="BACKGROUND"> |
||
466 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
467 | <Anchors> |
||
468 | <Anchor point="LEFT"/> |
||
469 | </Anchors> |
||
470 | </FontString> |
||
471 | </Layer> |
||
472 | </Layers> |
||
473 | |||
474 | |||
475 | </Frame> |
||
476 | |||
477 | |||
478 | <Frame name="CombatStatsGeneralDodgesText" id="21"> |
||
479 | |||
480 | |||
481 | <Size> |
||
482 | <AbsDimension x="23" y="13"/> |
||
483 | </Size> |
||
484 | |||
485 | <Anchors> |
||
486 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralDodges" relativePoint="TOPRIGHT"> |
||
487 | </Anchor> |
||
488 | </Anchors> |
||
489 | |||
490 | <Layers> |
||
491 | <Layer level="BACKGROUND"> |
||
492 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
493 | <Anchors> |
||
494 | <Anchor point="LEFT"/> |
||
495 | </Anchors> |
||
496 | </FontString> |
||
497 | </Layer> |
||
498 | </Layers> |
||
499 | |||
500 | |||
501 | </Frame> |
||
502 | |||
503 | |||
504 | <Frame name="CombatStatsGeneralDodgesPercent" id="22"> |
||
505 | |||
506 | <Size> |
||
507 | <AbsDimension x="45" y="13"/> |
||
508 | </Size> |
||
509 | |||
510 | <Anchors> |
||
511 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralDodgesText" relativePoint="TOPRIGHT"> |
||
512 | </Anchor> |
||
513 | </Anchors> |
||
514 | |||
515 | <Layers> |
||
516 | <Layer level="BACKGROUND"> |
||
517 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
518 | <Anchors> |
||
519 | <Anchor point="LEFT"/> |
||
520 | </Anchors> |
||
521 | </FontString> |
||
522 | </Layer> |
||
523 | </Layers> |
||
524 | |||
525 | |||
526 | </Frame> |
||
527 | |||
528 | <Frame name="CombatStatsGeneralParried" id="23"> |
||
529 | |||
530 | |||
531 | <Size> |
||
532 | <AbsDimension x="42" y="13"/> |
||
533 | </Size> |
||
534 | |||
535 | <Anchors> |
||
536 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralMisses" relativePoint="BOTTOMLEFT"> |
||
537 | <Offset> |
||
538 | <AbsDimension x="0" y="-1"/> |
||
539 | </Offset> |
||
540 | </Anchor> |
||
541 | </Anchors> |
||
542 | |||
543 | <Layers> |
||
544 | <Layer level="BACKGROUND"> |
||
545 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
546 | <Anchors> |
||
547 | <Anchor point="LEFT"/> |
||
548 | </Anchors> |
||
549 | </FontString> |
||
550 | </Layer> |
||
551 | </Layers> |
||
552 | |||
553 | |||
554 | </Frame> |
||
555 | |||
556 | |||
557 | <Frame name="CombatStatsGeneralParriedText" id="24"> |
||
558 | |||
559 | |||
560 | <Size> |
||
561 | <AbsDimension x="23" y="13"/> |
||
562 | </Size> |
||
563 | |||
564 | <Anchors> |
||
565 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralParried" relativePoint="TOPRIGHT"> |
||
566 | </Anchor> |
||
567 | </Anchors> |
||
568 | |||
569 | <Layers> |
||
570 | <Layer level="BACKGROUND"> |
||
571 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
572 | <Anchors> |
||
573 | <Anchor point="LEFT"/> |
||
574 | </Anchors> |
||
575 | </FontString> |
||
576 | </Layer> |
||
577 | </Layers> |
||
578 | |||
579 | |||
580 | </Frame> |
||
581 | |||
582 | |||
583 | <Frame name="CombatStatsGeneralParriedPercent" id="25"> |
||
584 | |||
585 | <Size> |
||
586 | <AbsDimension x="45" y="13"/> |
||
587 | </Size> |
||
588 | |||
589 | <Anchors> |
||
590 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralParriedText" relativePoint="TOPRIGHT"> |
||
591 | </Anchor> |
||
592 | </Anchors> |
||
593 | |||
594 | <Layers> |
||
595 | <Layer level="BACKGROUND"> |
||
596 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
597 | <Anchors> |
||
598 | <Anchor point="LEFT"/> |
||
599 | </Anchors> |
||
600 | </FontString> |
||
601 | </Layer> |
||
602 | </Layers> |
||
603 | |||
604 | |||
605 | </Frame> |
||
606 | |||
607 | |||
608 | <Frame name="CombatStatsGeneralBlocked" id="26"> |
||
609 | |||
610 | <Size> |
||
611 | <AbsDimension x="42" y="13"/> |
||
612 | </Size> |
||
613 | |||
614 | <Anchors> |
||
615 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralParriedPercent" relativePoint="TOPRIGHT"> |
||
616 | <Offset> |
||
617 | <AbsDimension x="15" y="0"/> |
||
618 | </Offset> |
||
619 | </Anchor> |
||
620 | </Anchors> |
||
621 | |||
622 | <Layers> |
||
623 | <Layer level="BACKGROUND"> |
||
624 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
625 | <Anchors> |
||
626 | <Anchor point="LEFT"/> |
||
627 | </Anchors> |
||
628 | </FontString> |
||
629 | </Layer> |
||
630 | </Layers> |
||
631 | |||
632 | |||
633 | </Frame> |
||
634 | |||
635 | |||
636 | <Frame name="CombatStatsGeneralBlockedText" id="27"> |
||
637 | |||
638 | |||
639 | <Size> |
||
640 | <AbsDimension x="23" y="13"/> |
||
641 | </Size> |
||
642 | |||
643 | <Anchors> |
||
644 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralBlocked" relativePoint="TOPRIGHT"> |
||
645 | </Anchor> |
||
646 | </Anchors> |
||
647 | |||
648 | <Layers> |
||
649 | <Layer level="BACKGROUND"> |
||
650 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
651 | <Anchors> |
||
652 | <Anchor point="LEFT"/> |
||
653 | </Anchors> |
||
654 | </FontString> |
||
655 | </Layer> |
||
656 | </Layers> |
||
657 | |||
658 | |||
659 | </Frame> |
||
660 | |||
661 | |||
662 | <Frame name="CombatStatsGeneralBlockedPercent" id="28"> |
||
663 | |||
664 | <Size> |
||
665 | <AbsDimension x="45" y="13"/> |
||
666 | </Size> |
||
667 | |||
668 | <Anchors> |
||
669 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralBlockedText" relativePoint="TOPRIGHT"> |
||
670 | </Anchor> |
||
671 | </Anchors> |
||
672 | |||
673 | <Layers> |
||
674 | <Layer level="BACKGROUND"> |
||
675 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
676 | <Anchors> |
||
677 | <Anchor point="LEFT"/> |
||
678 | </Anchors> |
||
679 | </FontString> |
||
680 | </Layer> |
||
681 | </Layers> |
||
682 | |||
683 | |||
684 | </Frame> |
||
685 | |||
686 | <Frame name="CombatStatsGeneralResisted" id="29"> |
||
687 | |||
688 | |||
689 | <Size> |
||
690 | <AbsDimension x="42" y="13"/> |
||
691 | </Size> |
||
692 | |||
693 | <Anchors> |
||
694 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralParried" relativePoint="BOTTOMLEFT"> |
||
695 | <Offset> |
||
696 | <AbsDimension x="0" y="-1"/> |
||
697 | </Offset> |
||
698 | </Anchor> |
||
699 | </Anchors> |
||
700 | |||
701 | <Layers> |
||
702 | <Layer level="BACKGROUND"> |
||
703 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
704 | <Anchors> |
||
705 | <Anchor point="LEFT"/> |
||
706 | </Anchors> |
||
707 | </FontString> |
||
708 | </Layer> |
||
709 | </Layers> |
||
710 | |||
711 | |||
712 | </Frame> |
||
713 | |||
714 | |||
715 | <Frame name="CombatStatsGeneralResistedText" id="30"> |
||
716 | |||
717 | |||
718 | <Size> |
||
719 | <AbsDimension x="23" y="13"/> |
||
720 | </Size> |
||
721 | |||
722 | <Anchors> |
||
723 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralResisted" relativePoint="TOPRIGHT"> |
||
724 | </Anchor> |
||
725 | </Anchors> |
||
726 | |||
727 | <Layers> |
||
728 | <Layer level="BACKGROUND"> |
||
729 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
730 | <Anchors> |
||
731 | <Anchor point="LEFT"/> |
||
732 | </Anchors> |
||
733 | </FontString> |
||
734 | </Layer> |
||
735 | </Layers> |
||
736 | |||
737 | |||
738 | </Frame> |
||
739 | |||
740 | |||
741 | <Frame name="CombatStatsGeneralResistedPercent" id="31"> |
||
742 | |||
743 | <Size> |
||
744 | <AbsDimension x="45" y="13"/> |
||
745 | </Size> |
||
746 | |||
747 | <Anchors> |
||
748 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralResistedText" relativePoint="TOPRIGHT"> |
||
749 | </Anchor> |
||
750 | </Anchors> |
||
751 | |||
752 | <Layers> |
||
753 | <Layer level="BACKGROUND"> |
||
754 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
755 | <Anchors> |
||
756 | <Anchor point="LEFT"/> |
||
757 | </Anchors> |
||
758 | </FontString> |
||
759 | </Layer> |
||
760 | </Layers> |
||
761 | |||
762 | |||
763 | </Frame> |
||
764 | |||
765 | |||
766 | <Frame name="CombatStatsGeneralImmuned" id="32"> |
||
767 | |||
768 | <Size> |
||
769 | <AbsDimension x="42" y="13"/> |
||
770 | </Size> |
||
771 | |||
772 | <Anchors> |
||
773 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralResistedPercent" relativePoint="TOPRIGHT"> |
||
774 | <Offset> |
||
775 | <AbsDimension x="15" y="0"/> |
||
776 | </Offset> |
||
777 | </Anchor> |
||
778 | </Anchors> |
||
779 | |||
780 | <Layers> |
||
781 | <Layer level="BACKGROUND"> |
||
782 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
783 | <Anchors> |
||
784 | <Anchor point="LEFT"/> |
||
785 | </Anchors> |
||
786 | </FontString> |
||
787 | </Layer> |
||
788 | </Layers> |
||
789 | |||
790 | |||
791 | </Frame> |
||
792 | |||
793 | |||
794 | <Frame name="CombatStatsGeneralImmunedText" id="33"> |
||
795 | |||
796 | |||
797 | <Size> |
||
798 | <AbsDimension x="23" y="13"/> |
||
799 | </Size> |
||
800 | |||
801 | <Anchors> |
||
802 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralImmuned" relativePoint="TOPRIGHT"> |
||
803 | <Offset> |
||
804 | <AbsDimension x="7" y="0"/> |
||
805 | </Offset> |
||
806 | </Anchor> |
||
807 | </Anchors> |
||
808 | |||
809 | <Layers> |
||
810 | <Layer level="BACKGROUND"> |
||
811 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
812 | <Anchors> |
||
813 | <Anchor point="LEFT"/> |
||
814 | </Anchors> |
||
815 | </FontString> |
||
816 | </Layer> |
||
817 | </Layers> |
||
818 | |||
819 | |||
820 | </Frame> |
||
821 | |||
822 | |||
823 | <Frame name="CombatStatsGeneralImmunedPercent" id="34"> |
||
824 | |||
825 | <Size> |
||
826 | <AbsDimension x="45" y="13"/> |
||
827 | </Size> |
||
828 | |||
829 | <Anchors> |
||
830 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralImmunedText" relativePoint="TOPRIGHT"> |
||
831 | </Anchor> |
||
832 | </Anchors> |
||
833 | |||
834 | <Layers> |
||
835 | <Layer level="BACKGROUND"> |
||
836 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
837 | <Anchors> |
||
838 | <Anchor point="LEFT"/> |
||
839 | </Anchors> |
||
840 | </FontString> |
||
841 | </Layer> |
||
842 | </Layers> |
||
843 | |||
844 | |||
845 | </Frame> |
||
846 | |||
847 | <Frame name="CombatStatsGeneralEvaded" id="35"> |
||
848 | |||
849 | |||
850 | <Size> |
||
851 | <AbsDimension x="42" y="13"/> |
||
852 | </Size> |
||
853 | |||
854 | <Anchors> |
||
855 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralResisted" relativePoint="BOTTOMLEFT"> |
||
856 | <Offset> |
||
857 | <AbsDimension x="0" y="-1"/> |
||
858 | </Offset> |
||
859 | </Anchor> |
||
860 | </Anchors> |
||
861 | |||
862 | <Layers> |
||
863 | <Layer level="BACKGROUND"> |
||
864 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
865 | <Anchors> |
||
866 | <Anchor point="LEFT"/> |
||
867 | </Anchors> |
||
868 | </FontString> |
||
869 | </Layer> |
||
870 | </Layers> |
||
871 | |||
872 | |||
873 | </Frame> |
||
874 | |||
875 | <Frame name="CombatStatsGeneralEvadedText" id="36"> |
||
876 | |||
877 | |||
878 | <Size> |
||
879 | <AbsDimension x="23" y="13"/> |
||
880 | </Size> |
||
881 | |||
882 | <Anchors> |
||
883 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralEvaded" relativePoint="TOPRIGHT"> |
||
884 | </Anchor> |
||
885 | </Anchors> |
||
886 | |||
887 | <Layers> |
||
888 | <Layer level="BACKGROUND"> |
||
889 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
890 | <Anchors> |
||
891 | <Anchor point="LEFT"/> |
||
892 | </Anchors> |
||
893 | </FontString> |
||
894 | </Layer> |
||
895 | </Layers> |
||
896 | |||
897 | |||
898 | </Frame> |
||
899 | |||
900 | |||
901 | <Frame name="CombatStatsGeneralEvadedPercent" id="37"> |
||
902 | |||
903 | <Size> |
||
904 | <AbsDimension x="45" y="13"/> |
||
905 | </Size> |
||
906 | |||
907 | <Anchors> |
||
908 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralEvadedText" relativePoint="TOPRIGHT"> |
||
909 | </Anchor> |
||
910 | </Anchors> |
||
911 | |||
912 | <Layers> |
||
913 | <Layer level="BACKGROUND"> |
||
914 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
915 | <Anchors> |
||
916 | <Anchor point="LEFT"/> |
||
917 | </Anchors> |
||
918 | </FontString> |
||
919 | </Layer> |
||
920 | </Layers> |
||
921 | |||
922 | |||
923 | </Frame> |
||
924 | |||
925 | <Frame name="CombatStatsGeneralDeflected" > |
||
926 | |||
927 | <Size> |
||
928 | <AbsDimension x="42" y="13"/> |
||
929 | </Size> |
||
930 | |||
931 | <Anchors> |
||
932 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralEvadedPercent" relativePoint="TOPRIGHT"> |
||
933 | <Offset> |
||
934 | <AbsDimension x="15" y="0"/> |
||
935 | </Offset> |
||
936 | </Anchor> |
||
937 | </Anchors> |
||
938 | |||
939 | <Layers> |
||
940 | <Layer level="BACKGROUND"> |
||
941 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
942 | <Anchors> |
||
943 | <Anchor point="LEFT"/> |
||
944 | </Anchors> |
||
945 | </FontString> |
||
946 | </Layer> |
||
947 | </Layers> |
||
948 | |||
949 | |||
950 | </Frame> |
||
951 | |||
952 | |||
953 | <Frame name="CombatStatsGeneralDeflectedText"> |
||
954 | |||
955 | |||
956 | <Size> |
||
957 | <AbsDimension x="23" y="13"/> |
||
958 | </Size> |
||
959 | |||
960 | <Anchors> |
||
961 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralDeflected" relativePoint="TOPRIGHT"> |
||
962 | <Offset> |
||
963 | <AbsDimension x="7" y="0"/> |
||
964 | </Offset> |
||
965 | </Anchor> |
||
966 | </Anchors> |
||
967 | |||
968 | <Layers> |
||
969 | <Layer level="BACKGROUND"> |
||
970 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
971 | <Anchors> |
||
972 | <Anchor point="LEFT"/> |
||
973 | </Anchors> |
||
974 | </FontString> |
||
975 | </Layer> |
||
976 | </Layers> |
||
977 | |||
978 | |||
979 | </Frame> |
||
980 | |||
981 | |||
982 | <Frame name="CombatStatsGeneralDeflectedPercent"> |
||
983 | |||
984 | <Size> |
||
985 | <AbsDimension x="45" y="13"/> |
||
986 | </Size> |
||
987 | |||
988 | <Anchors> |
||
989 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralDeflectedText" relativePoint="TOPRIGHT"> |
||
990 | </Anchor> |
||
991 | </Anchors> |
||
992 | |||
993 | <Layers> |
||
994 | <Layer level="BACKGROUND"> |
||
995 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
996 | <Anchors> |
||
997 | <Anchor point="LEFT"/> |
||
998 | </Anchors> |
||
999 | </FontString> |
||
1000 | </Layer> |
||
1001 | </Layers> |
||
1002 | |||
1003 | |||
1004 | </Frame> |
||
1005 | |||
1006 | <Frame name="CombatStatsGeneralPercentDmg" id="38"> |
||
1007 | |||
1008 | |||
1009 | <Size> |
||
1010 | <AbsDimension x="165" y="13"/> |
||
1011 | </Size> |
||
1012 | |||
1013 | <Anchors> |
||
1014 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralEvaded" relativePoint="BOTTOMLEFT"> |
||
1015 | <Offset> |
||
1016 | <AbsDimension x="0" y="-1"/> |
||
1017 | </Offset> |
||
1018 | </Anchor> |
||
1019 | </Anchors> |
||
1020 | |||
1021 | <Layers> |
||
1022 | <Layer level="BACKGROUND"> |
||
1023 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
1024 | <Anchors> |
||
1025 | <Anchor point="LEFT"/> |
||
1026 | </Anchors> |
||
1027 | </FontString> |
||
1028 | </Layer> |
||
1029 | </Layers> |
||
1030 | |||
1031 | |||
1032 | </Frame> |
||
1033 | |||
1034 | <Frame name="CombatStatsGeneralPercentDmgPct" id="39"> |
||
1035 | |||
1036 | <Size> |
||
1037 | <AbsDimension x="45" y="13"/> |
||
1038 | </Size> |
||
1039 | |||
1040 | <Anchors> |
||
1041 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralPercentDmg" relativePoint="TOPRIGHT"> |
||
1042 | </Anchor> |
||
1043 | </Anchors> |
||
1044 | |||
1045 | <Layers> |
||
1046 | <Layer level="BACKGROUND"> |
||
1047 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
1048 | <Anchors> |
||
1049 | <Anchor point="LEFT"/> |
||
1050 | </Anchors> |
||
1051 | </FontString> |
||
1052 | </Layer> |
||
1053 | </Layers> |
||
1054 | |||
1055 | <Scripts> |
||
1056 | <OnEnter> |
||
1057 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
1058 | GameTooltip:SetText(CS_TT_OVERALLDMGPCT_TEXT); |
||
1059 | </OnEnter> |
||
1060 | <OnLeave> |
||
1061 | GameTooltip:Hide(); |
||
1062 | </OnLeave> |
||
1063 | </Scripts> |
||
1064 | |||
1065 | </Frame> |
||
1066 | |||
1067 | |||
1068 | <Frame name="CombatStatsGeneralTimeLastCrit" id="40"> |
||
1069 | |||
1070 | |||
1071 | <Size> |
||
1072 | <AbsDimension x="105" y="13"/> |
||
1073 | </Size> |
||
1074 | |||
1075 | <Anchors> |
||
1076 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralPercentDmg" relativePoint="BOTTOMLEFT"> |
||
1077 | <Offset> |
||
1078 | <AbsDimension x="0" y="-1"/> |
||
1079 | </Offset> |
||
1080 | </Anchor> |
||
1081 | </Anchors> |
||
1082 | |||
1083 | <Layers> |
||
1084 | <Layer level="BACKGROUND"> |
||
1085 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
1086 | <Anchors> |
||
1087 | <Anchor point="LEFT"/> |
||
1088 | </Anchors> |
||
1089 | </FontString> |
||
1090 | </Layer> |
||
1091 | </Layers> |
||
1092 | |||
1093 | |||
1094 | </Frame> |
||
1095 | |||
1096 | <Frame name="CombatStatsGeneralTimeLastCritTime"> |
||
1097 | |||
1098 | <Size> |
||
1099 | <AbsDimension x="125" y="13"/> |
||
1100 | </Size> |
||
1101 | |||
1102 | <Anchors> |
||
1103 | <Anchor point="TOPLEFT" relativeTo="CombatStatsGeneralTimeLastCrit" relativePoint="TOPRIGHT"> |
||
1104 | </Anchor> |
||
1105 | </Anchors> |
||
1106 | |||
1107 | <Layers> |
||
1108 | <Layer level="BACKGROUND"> |
||
1109 | <FontString name="$parentLabel" inherits="GameFontHighlightSmall"> |
||
1110 | <Anchors> |
||
1111 | <Anchor point="LEFT"/> |
||
1112 | </Anchors> |
||
1113 | </FontString> |
||
1114 | </Layer> |
||
1115 | </Layers> |
||
1116 | |||
1117 | |||
1118 | </Frame> |
||
1119 | |||
1120 | |||
1121 | </Frames> |
||
1122 | </Frame> |
||
1123 | |||
1124 | <Frame name="CombatStatsDataFrame_Breakdown"> |
||
1125 | |||
1126 | <Size> |
||
1127 | <AbsDimension x="250" y="78"/> |
||
1128 | </Size> |
||
1129 | <Anchors> |
||
1130 | <Anchor point="BOTTOMLEFT" relativePoint = "BOTTOMLEFT" relativeTo="CombatStatsDataFrame"> |
||
1131 | <Offset> |
||
1132 | <AbsDimension x="10" y="40"/> |
||
1133 | </Offset> |
||
1134 | </Anchor> |
||
1135 | </Anchors> |
||
1136 | <Layers> |
||
1137 | <Layer level="BACKGROUND"> |
||
1138 | |||
1139 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-StatBackground"> |
||
1140 | <Size> |
||
1141 | <AbsDimension x="124" y="78"/> |
||
1142 | </Size> |
||
1143 | <Anchors> |
||
1144 | <Anchor point="TOPLEFT"> |
||
1145 | <Offset> |
||
1146 | <AbsDimension x="2" y="0"/> |
||
1147 | </Offset> |
||
1148 | </Anchor> |
||
1149 | </Anchors> |
||
1150 | <TexCoords left="0" right="0.89" top="0" bottom="0.61"/> |
||
1151 | </Texture> |
||
1152 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-StatBackground"> |
||
1153 | <Size> |
||
1154 | <AbsDimension x="124" y="78"/> |
||
1155 | </Size> |
||
1156 | <Anchors> |
||
1157 | <Anchor point="TOPLEFT"> |
||
1158 | <Offset> |
||
1159 | <AbsDimension x="127" y="0"/> |
||
1160 | </Offset> |
||
1161 | </Anchor> |
||
1162 | </Anchors> |
||
1163 | <TexCoords left="0" right="0.89" top="0" bottom="0.61"/> |
||
1164 | </Texture> |
||
1165 | </Layer> |
||
1166 | </Layers> |
||
1167 | <Frames> |
||
1168 | |||
1169 | <Frame name="CombatStatsDataFrame_BreakdownNonCritLabel"> |
||
1170 | |||
1171 | |||
1172 | <Size> |
||
1173 | <AbsDimension x="90" y="13"/> |
||
1174 | </Size> |
||
1175 | <Anchors> |
||
1176 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> |
||
1177 | <Offset> |
||
1178 | <AbsDimension x="1" y="-5"/> |
||
1179 | </Offset> |
||
1180 | </Anchor> |
||
1181 | </Anchors> |
||
1182 | <Layers> |
||
1183 | <Layer level="BACKGROUND"> |
||
1184 | <FontString inherits="GameFontNormalSmall" justifyH="RIGHT" text="Non-Crit Stats"> |
||
1185 | <Anchors> |
||
1186 | <Anchor point="TOPLEFT"> |
||
1187 | <Offset> |
||
1188 | <AbsDimension x="3" y="0"/> |
||
1189 | </Offset> |
||
1190 | </Anchor> |
||
1191 | </Anchors> |
||
1192 | </FontString> |
||
1193 | </Layer> |
||
1194 | </Layers> |
||
1195 | </Frame> |
||
1196 | |||
1197 | <Frame name="CombatStatsAttackNonCritPct" id="42"> |
||
1198 | |||
1199 | |||
1200 | <Size> |
||
1201 | <AbsDimension x="40" y="13"/> |
||
1202 | </Size> |
||
1203 | |||
1204 | <Anchors> |
||
1205 | <Anchor point="TOPLEFT" relativeTo="CombatStatsDataFrame_BreakdownNonCritLabel" relativePoint="TOPRIGHT"> |
||
1206 | <Offset> |
||
1207 | <AbsDimension x="0" y="2"/> |
||
1208 | <Offset> |
||
1209 | <AbsDimension x="-12" y="0"/> |
||
1210 | </Offset> |
||
1211 | </Offset> |
||
1212 | </Anchor> |
||
1213 | </Anchors> |
||
1214 | |||
1215 | <Layers> |
||
1216 | <Layer level="BACKGROUND"> |
||
1217 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
1218 | <Anchors> |
||
1219 | <Anchor point="LEFT"/> |
||
1220 | </Anchors> |
||
1221 | </FontString> |
||
1222 | </Layer> |
||
1223 | </Layers> |
||
1224 | |||
1225 | <Scripts> |
||
1226 | <OnEnter> |
||
1227 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
1228 | GameTooltip:SetText(CS_TT_NONCRIT_HITSPCT_TEXT); |
||
1229 | </OnEnter> |
||
1230 | <OnLeave> |
||
1231 | GameTooltip:Hide(); |
||
1232 | </OnLeave> |
||
1233 | </Scripts> |
||
1234 | |||
1235 | |||
1236 | </Frame> |
||
1237 | |||
1238 | <Frame name="CombatStatsDataFrame_BreakdownCritLabel"> |
||
1239 | |||
1240 | <Size> |
||
1241 | <AbsDimension x="90" y="13"/> |
||
1242 | </Size> |
||
1243 | <Anchors> |
||
1244 | <Anchor point="TOPLEFT" relativeTo="CombatStatsAttackNonCritPct" relativePoint="TOPRIGHT"> |
||
1245 | </Anchor> |
||
1246 | </Anchors> |
||
1247 | <Layers> |
||
1248 | <Layer level="BACKGROUND"> |
||
1249 | <FontString inherits="GameFontNormalSmall" justifyH="RIGHT" text="Crit Stats"> |
||
1250 | <Anchors> |
||
1251 | <Anchor point="TOPLEFT"> |
||
1252 | <Offset> |
||
1253 | <AbsDimension x="1" y="-2"/> |
||
1254 | </Offset> |
||
1255 | </Anchor> |
||
1256 | </Anchors> |
||
1257 | </FontString> |
||
1258 | </Layer> |
||
1259 | </Layers> |
||
1260 | </Frame> |
||
1261 | |||
1262 | <Frame name="CombatStatsAttackCritPct"> |
||
1263 | |||
1264 | |||
1265 | <Size> |
||
1266 | <AbsDimension x="40" y="13"/> |
||
1267 | </Size> |
||
1268 | |||
1269 | <Anchors> |
||
1270 | <Anchor point="TOPLEFT" relativeTo="CombatStatsDataFrame_BreakdownCritLabel" relativePoint="TOPRIGHT"> |
||
1271 | <Offset> |
||
1272 | <AbsDimension x="-12" y="0"/> |
||
1273 | </Offset> |
||
1274 | </Anchor> |
||
1275 | </Anchors> |
||
1276 | |||
1277 | <Layers> |
||
1278 | <Layer level="BACKGROUND"> |
||
1279 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
1280 | <Anchors> |
||
1281 | <Anchor point="LEFT"/> |
||
1282 | </Anchors> |
||
1283 | </FontString> |
||
1284 | </Layer> |
||
1285 | </Layers> |
||
1286 | |||
1287 | <Scripts> |
||
1288 | <OnEnter> |
||
1289 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
1290 | GameTooltip:SetText(CS_TT_CRIT_HITSPCT_TEXT); |
||
1291 | </OnEnter> |
||
1292 | <OnLeave> |
||
1293 | GameTooltip:Hide(); |
||
1294 | </OnLeave> |
||
1295 | </Scripts> |
||
1296 | |||
1297 | </Frame> |
||
1298 | |||
1299 | <Frame name="CombatStatsNonCritHits" inherits="CombatStatFrameTemplate" id="1"> |
||
1300 | <Anchors> |
||
1301 | <Anchor point="TOPLEFT"> |
||
1302 | <Offset> |
||
1303 | <AbsDimension x="7" y="-5"/> |
||
1304 | </Offset> |
||
1305 | </Anchor> |
||
1306 | </Anchors> |
||
1307 | </Frame> |
||
1308 | |||
1309 | <Frame name="CombatStatsNonCritDamage" inherits="CombatStatFrameTemplate" id="2"> |
||
1310 | <Anchors> |
||
1311 | <Anchor point="TOPLEFT" relativeTo="CombatStatsNonCritHits" relativePoint="BOTTOMLEFT"> |
||
1312 | <Offset> |
||
1313 | <AbsDimension x="0" y="-1"/> |
||
1314 | </Offset> |
||
1315 | </Anchor> |
||
1316 | </Anchors> |
||
1317 | </Frame> |
||
1318 | |||
1319 | <Frame name="CombatStatsNonCritMinMax" inherits="CombatStatFrameTemplate" id="3"> |
||
1320 | <Anchors> |
||
1321 | <Anchor point="TOPLEFT" relativeTo="CombatStatsNonCritDamage" relativePoint="BOTTOMLEFT"> |
||
1322 | <Offset> |
||
1323 | <AbsDimension x="0" y="-1"/> |
||
1324 | </Offset> |
||
1325 | </Anchor> |
||
1326 | </Anchors> |
||
1327 | </Frame> |
||
1328 | |||
1329 | <Frame name="CombatStatsNonCritAvg" inherits="CombatStatFrameTemplate" id="4"> |
||
1330 | <Anchors> |
||
1331 | <Anchor point="TOPLEFT" relativeTo="CombatStatsNonCritMinMax" relativePoint="BOTTOMLEFT"> |
||
1332 | <Offset> |
||
1333 | <AbsDimension x="0" y="-1"/> |
||
1334 | </Offset> |
||
1335 | </Anchor> |
||
1336 | </Anchors> |
||
1337 | </Frame> |
||
1338 | |||
1339 | <Frame name="CombatStatsNonCritPercentDamage" inherits="CombatStatFrameTemplate" id="5"> |
||
1340 | <Anchors> |
||
1341 | <Anchor point="TOPLEFT" relativeTo="CombatStatsNonCritAvg" relativePoint="BOTTOMLEFT"> |
||
1342 | <Offset> |
||
1343 | <AbsDimension x="0" y="-1"/> |
||
1344 | </Offset> |
||
1345 | </Anchor> |
||
1346 | </Anchors> |
||
1347 | |||
1348 | <Scripts> |
||
1349 | <OnEnter> |
||
1350 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
1351 | GameTooltip:SetText(CS_TT_NONCRIT_DMGPCT_TEXT); |
||
1352 | </OnEnter> |
||
1353 | <OnLeave> |
||
1354 | GameTooltip:Hide(); |
||
1355 | </OnLeave> |
||
1356 | </Scripts> |
||
1357 | |||
1358 | </Frame> |
||
1359 | |||
1360 | <Frame name="CombatStatsCritHits" inherits="CombatStatFrameTemplate" id="6"> |
||
1361 | <Anchors> |
||
1362 | <Anchor point="TOPLEFT" relativeTo="CombatStatsDataFrame_Breakdown" relativePoint="TOPLEFT"> |
||
1363 | <Offset> |
||
1364 | <AbsDimension x="132" y="-5"/> |
||
1365 | </Offset> |
||
1366 | </Anchor> |
||
1367 | </Anchors> |
||
1368 | </Frame> |
||
1369 | |||
1370 | <Frame name="CombatStatsCritDamage" inherits="CombatStatFrameTemplate" id="7"> |
||
1371 | <Anchors> |
||
1372 | <Anchor point="TOPLEFT" relativeTo="CombatStatsCritHits" relativePoint="BOTTOMLEFT"> |
||
1373 | <Offset> |
||
1374 | <AbsDimension x="0" y="-1"/> |
||
1375 | </Offset> |
||
1376 | </Anchor> |
||
1377 | </Anchors> |
||
1378 | </Frame> |
||
1379 | |||
1380 | <Frame name="CombatStatsCritMinMax" inherits="CombatStatFrameTemplate" id="8"> |
||
1381 | <Anchors> |
||
1382 | <Anchor point="TOPLEFT" relativeTo="CombatStatsCritDamage" relativePoint="BOTTOMLEFT"> |
||
1383 | <Offset> |
||
1384 | <AbsDimension x="0" y="-1"/> |
||
1385 | </Offset> |
||
1386 | </Anchor> |
||
1387 | </Anchors> |
||
1388 | </Frame> |
||
1389 | |||
1390 | <Frame name="CombatStatsCritAvg" inherits="CombatStatFrameTemplate" id="9"> |
||
1391 | <Anchors> |
||
1392 | <Anchor point="TOPLEFT" relativeTo="CombatStatsCritMinMax" relativePoint="BOTTOMLEFT"> |
||
1393 | <Offset> |
||
1394 | <AbsDimension x="0" y="-1"/> |
||
1395 | </Offset> |
||
1396 | </Anchor> |
||
1397 | </Anchors> |
||
1398 | </Frame> |
||
1399 | |||
1400 | <Frame name="CombatStatsCritPercentDamage" inherits="CombatStatFrameTemplate" id="10"> |
||
1401 | <Anchors> |
||
1402 | <Anchor point="TOPLEFT" relativeTo="CombatStatsCritAvg" relativePoint="BOTTOMLEFT"> |
||
1403 | <Offset> |
||
1404 | <AbsDimension x="0" y="-1"/> |
||
1405 | </Offset> |
||
1406 | </Anchor> |
||
1407 | </Anchors> |
||
1408 | |||
1409 | <Scripts> |
||
1410 | <OnEnter> |
||
1411 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
1412 | GameTooltip:SetText(CS_TT_CRIT_DMGPCT_TEXT); |
||
1413 | </OnEnter> |
||
1414 | <OnLeave> |
||
1415 | GameTooltip:Hide(); |
||
1416 | </OnLeave> |
||
1417 | </Scripts> |
||
1418 | |||
1419 | </Frame> |
||
1420 | |||
1421 | |||
1422 | |||
1423 | </Frames> |
||
1424 | </Frame> |
||
1425 | |||
1426 | </Frames> |
||
1427 | <Scripts> |
||
1428 | <OnLoad> |
||
1429 | this:RegisterForDrag("LeftButton"); |
||
1430 | </OnLoad> |
||
1431 | <OnMouseUp> |
||
1432 | if ( this.isMoving ) then |
||
1433 | this:StopMovingOrSizing(); |
||
1434 | this.isMoving = false; |
||
1435 | end |
||
1436 | </OnMouseUp> |
||
1437 | <OnDragStart> |
||
1438 | this:StartMoving(); |
||
1439 | this.isMoving = true; |
||
1440 | </OnDragStart> |
||
1441 | <OnDragStop> |
||
1442 | this:StopMovingOrSizing(); |
||
1443 | this.isMoving = false; |
||
1444 | </OnDragStop> |
||
1445 | </Scripts> |
||
1446 | |||
1447 | |||
1448 | </Frame> |
||
1449 | |||
1450 | <Frame name="CombatStatsFrame" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent" inherits="GameFontNormalSmall"> |
||
1451 | <Size> |
||
1452 | <AbsDimension x="128" y="24"/> |
||
1453 | </Size> |
||
1454 | <Anchors> |
||
1455 | <Anchor point="TOPLEFT"> |
||
1456 | <Offset> |
||
1457 | <AbsDimension x="150" y="0"/> |
||
1458 | </Offset> |
||
1459 | </Anchor> |
||
1460 | </Anchors> |
||
1461 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
1462 | <BackgroundInsets> |
||
1463 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
1464 | </BackgroundInsets> |
||
1465 | <TileSize> |
||
1466 | <AbsValue val="16"/> |
||
1467 | </TileSize> |
||
1468 | <EdgeSize> |
||
1469 | <AbsValue val="16"/> |
||
1470 | </EdgeSize> |
||
1471 | </Backdrop> |
||
1472 | |||
1473 | <Frames> |
||
1474 | <Button name = "CombatStatTextButton"> |
||
1475 | <Size> |
||
1476 | <AbsDimension x="100" y="12"/> |
||
1477 | </Size> |
||
1478 | |||
1479 | <Anchors> |
||
1480 | <Anchor point="CENTER"> |
||
1481 | <Offset> |
||
1482 | <AbsDimension x="0" y="0"/> |
||
1483 | </Offset> |
||
1484 | </Anchor> |
||
1485 | </Anchors> |
||
1486 | <Layers> |
||
1487 | <Layer level="BACKGROUND"> |
||
1488 | <FontString name="CombatStatsText" inherits="GameFontNormalSmall" wraponspaces="true"> |
||
1489 | <Size> |
||
1490 | <AbsDimension x="128" y="12"/> |
||
1491 | </Size> |
||
1492 | <Anchors> |
||
1493 | <Anchor point="TOP"/> |
||
1494 | </Anchors> |
||
1495 | </FontString> |
||
1496 | </Layer> |
||
1497 | </Layers> |
||
1498 | <Scripts> |
||
1499 | |||
1500 | <OnMouseDown> |
||
1501 | if ( arg1 == "RightButton" ) then |
||
1502 | if ( CT_MF_ShowFrames ) then |
||
1503 | this:GetParent():StartMoving(); |
||
1504 | end |
||
1505 | else |
||
1506 | CombatStatsText_OnClick(); |
||
1507 | end |
||
1508 | </OnMouseDown> |
||
1509 | <OnMouseUp> |
||
1510 | this:GetParent():StopMovingOrSizing(); |
||
1511 | </OnMouseUp> |
||
1512 | <OnEnter> |
||
1513 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
1514 | GameTooltip:SetText("Left-click to show stats.\nRight-click to drag."); |
||
1515 | CombatStatsText_OnEnter(); |
||
1516 | </OnEnter> |
||
1517 | <OnLeave> |
||
1518 | GameTooltip:Hide(); |
||
1519 | </OnLeave> |
||
1520 | </Scripts> |
||
1521 | </Button> |
||
1522 | </Frames> |
||
1523 | |||
1524 | <Scripts> |
||
1525 | <OnLoad> |
||
1526 | CombatStats_OnLoad(); |
||
1527 | </OnLoad> |
||
1528 | <OnEvent> |
||
1529 | CombatStats_OnEvent(); |
||
1530 | </OnEvent> |
||
1531 | <OnUpdate> |
||
1532 | CombatStats_OnUpdate(arg1); |
||
1533 | </OnUpdate> |
||
1534 | </Scripts> |
||
1535 | </Frame> |
||
1536 | |||
1537 | </Ui> |