-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathAura.xml
122 lines (118 loc) · 3.26 KB
/
Aura.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<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">
<Script File="Aura.lua" />
<Frame name="ArenaLive_BuffTemplate" enableMouse="true" virtual="true" >
<Size>
<AbsDimension x="20" y="20" />
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentIcon" setAllPoints="true"/>
</Layer>
<Layer level="ARTWORK">
<FontString name="$parentCount" inherits="NumberFontNormalSmall" justifyH="RIGHT">
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentStealable" file="Interface\TargetingFrame\UI-TargetingFrame-Stealable" alphaMode="ADD" hidden="true">
<Size>
<AbsDimension x="23" y="23"/>
</Size>
<Anchors>
<Anchor point="CENTER" />
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Cooldown name="$parentCooldown" inherits="ArenaLive_AuraCooldownTemplate" />
</Frames>
<Scripts>
<OnUpdate>
if ( GameTooltip:IsOwned(self) ) then
GameTooltip:SetUnitBuff(self.unit, self:GetID(), self.filter);
end
</OnUpdate>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT", 15, -25);
GameTooltip:SetUnitBuff(self.unit, self:GetID(), self.filter);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Frame>
<Frame name="ArenaLive_DebuffTemplate" enableMouse="true" virtual="true">
<Size>
<AbsDimension x="20" y="20" />
</Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentIcon" setAllPoints="true"/>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentBorder" file="Interface\Buttons\UI-Debuff-Overlays">
<Size>
<AbsDimension x="21" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="-1" y="1"/>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset x="1" y="-1"/>
</Anchor>
</Anchors>
<TexCoords left="0.296875" right="0.5703125" top="0" bottom="0.515625"/>
</Texture>
<FontString name="$parentCount" inherits="NumberFontNormalSmall" justifyH="RIGHT">
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Cooldown name="$parentCooldown" inherits="ArenaLive_AuraCooldownTemplate" hidden="true" />
</Frames>
<Scripts>
<OnUpdate>
if ( GameTooltip:IsOwned(self) ) then
GameTooltip:SetUnitDebuff(self.unit, self:GetID(), self.filter);
end
</OnUpdate>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT", 15, -25);
GameTooltip:SetUnitDebuff(self.unit, self:GetID(), self.filter);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Frame>
<Frame name="ArenaLive_AuraFrameTemplate" virtual="true">
<Frames>
<Frame name="$parentBuffFrame">
<Anchors>
<Anchor point="TOPLEFT" />
</Anchors>
</Frame>
<Frame name="$parentDebuffFrame">
<Anchors>
<Anchor point="TOPLEFT" />
</Anchors>
</Frame>
</Frames>
</Frame>
</Ui>