File src/ChorusUnitPowerFrameTemplate.xml changed (mode: 100644) (index cb1c837..e6d60b7) |
14 |
14 |
<OnLoad>Chorus.unitPowerFrameMain(self);</OnLoad> |
<OnLoad>Chorus.unitPowerFrameMain(self);</OnLoad> |
15 |
15 |
</Scripts> |
</Scripts> |
16 |
16 |
</Frame> |
</Frame> |
|
17 |
|
<!-- Frames with explicitly set unit power type property will always display only the given power type. --> |
|
18 |
|
<Frame name="ChorusUnitPowerManaFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
19 |
|
<Attributes> |
|
20 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_MANA --> |
|
21 |
|
<Attribute name="chorus-unitpowertype" type="number" value="0"/> |
|
22 |
|
</Attributes> |
|
23 |
|
</Frame> |
|
24 |
|
<Frame name="ChorusUnitPowerRageFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
25 |
|
<Attributes> |
|
26 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_RAGE --> |
|
27 |
|
<Attribute name="chorus-unitpowertype" type="number" value="1"/> |
|
28 |
|
</Attributes> |
|
29 |
|
</Frame> |
|
30 |
|
<Frame name="ChorusUnitPowerFocusFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
31 |
|
<Attributes> |
|
32 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_FOCUS --> |
|
33 |
|
<Attribute name="chorus-unitpowertype" type="number" value="2"/> |
|
34 |
|
</Attributes> |
|
35 |
|
</Frame> |
|
36 |
|
<Frame name="ChorusUnitPowerEnergyFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
37 |
|
<Attributes> |
|
38 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_ENERGY --> |
|
39 |
|
<Attribute name="chorus-unitpowertype" type="number" value="3"/> |
|
40 |
|
</Attributes> |
|
41 |
|
</Frame> |
|
42 |
|
<Frame name="ChorusUnitPowerRunesFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
43 |
|
<Attributes> |
|
44 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_RUNES --> |
|
45 |
|
<Attribute name="chorus-unitpowertype" type="number" value="5"/> |
|
46 |
|
</Attributes> |
|
47 |
|
</Frame> |
|
48 |
|
<Frame name="ChorusUnitPowerRunicPowerFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
49 |
|
<Attributes> |
|
50 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_RUNIC_POWER --> |
|
51 |
|
<Attribute name="chorus-unitpowertype" type="number" value="6"/> |
|
52 |
|
</Attributes> |
|
53 |
|
</Frame> |
|
54 |
|
<Frame name="ChorusUnitPowerSoulShardsFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
55 |
|
<Attributes> |
|
56 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_SOUL_SHARDS --> |
|
57 |
|
<Attribute name="chorus-unitpowertype" type="number" value="7"/> |
|
58 |
|
</Attributes> |
|
59 |
|
</Frame> |
|
60 |
|
<Frame name="ChorusUnitPowerEclipseFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
61 |
|
<Attributes> |
|
62 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_ECLIPSE --> |
|
63 |
|
<Attribute name="chorus-unitpowertype" type="number" value="8"/> |
|
64 |
|
</Attributes> |
|
65 |
|
</Frame> |
|
66 |
|
<Frame name="ChorusUnitPowerHolyPowerFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
67 |
|
<Attributes> |
|
68 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_HOLY_POWER --> |
|
69 |
|
<Attribute name="chorus-unitpowertype" type="number" value="9"/> |
|
70 |
|
</Attributes> |
|
71 |
|
</Frame> |
|
72 |
|
<Frame name="ChorusUnitPowerDarkForceFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
73 |
|
<Attributes> |
|
74 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_DARK_FORCE --> |
|
75 |
|
<Attribute name="chorus-unitpowertype" type="number" value="11"/> |
|
76 |
|
</Attributes> |
|
77 |
|
</Frame> |
|
78 |
|
<Frame name="ChorusUnitPowerChiFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
79 |
|
<Attributes> |
|
80 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_CHI --> |
|
81 |
|
<Attribute name="chorus-unitpowertype" type="number" value="12"/> |
|
82 |
|
</Attributes> |
|
83 |
|
</Frame> |
|
84 |
|
<Frame name="ChorusUnitPowerShadowOrbsFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
85 |
|
<Attributes> |
|
86 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_SHADOW_ORBS --> |
|
87 |
|
<Attribute name="chorus-unitpowertype" type="number" value="13"/> |
|
88 |
|
</Attributes> |
|
89 |
|
</Frame> |
|
90 |
|
<Frame name="ChorusUnitPowerBurningEmbersFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
91 |
|
<Attributes> |
|
92 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_BURNING_EMBERS --> |
|
93 |
|
<Attribute name="chorus-unitpowertype" type="number" value="14"/> |
|
94 |
|
</Attributes> |
|
95 |
|
</Frame> |
|
96 |
|
<Frame name="ChorusUnitPowerDemonicFuryFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
|
97 |
|
<Attributes> |
|
98 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_DEMONIC_FURY --> |
|
99 |
|
<Attribute name="chorus-unitpowertype" type="number" value="15"/> |
|
100 |
|
</Attributes> |
|
101 |
|
</Frame> |
|
102 |
|
<!-- Specialized profiles for displaying unit power labels. --> |
17 |
103 |
<Frame name="ChorusUnitPowerLargeFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
<Frame name="ChorusUnitPowerLargeFrameTemplate" inherits="ChorusUnitPowerFrameTemplate" virtual="true"> |
18 |
104 |
<Layers> |
<Layers> |
19 |
105 |
<Layer level="OVERLAY"> |
<Layer level="OVERLAY"> |
File src/ChorusUnitPowerStatusBarTemplate.xml changed (mode: 100644) (index 931433c..3907f06) |
1 |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
2 |
<Ui xmlns="http://www.blizzard.com/wow/ui/"> |
<Ui xmlns="http://www.blizzard.com/wow/ui/"> |
3 |
3 |
<Script file="ChorusUnitPowerStatusBarTemplate.lua"/> |
<Script file="ChorusUnitPowerStatusBarTemplate.lua"/> |
4 |
|
<!-- Base health status bar template. It's further specialized by different strategies. --> |
|
5 |
4 |
<StatusBar name="ChorusUnitPowerStatusBarTemplate" minValue="0" maxValue="1" defaultValue="1" virtual="true"> |
<StatusBar name="ChorusUnitPowerStatusBarTemplate" minValue="0" maxValue="1" defaultValue="1" virtual="true"> |
6 |
5 |
<Size> |
<Size> |
7 |
6 |
<AbsDimension x="144" y="24"/> |
<AbsDimension x="144" y="24"/> |
|
12 |
11 |
<Attributes> |
<Attributes> |
13 |
12 |
<Attribute name="useparent-unit" type="boolean" value="true"/> |
<Attribute name="useparent-unit" type="boolean" value="true"/> |
14 |
13 |
</Attributes> |
</Attributes> |
15 |
|
<BarTexture name="$parentArtwork" file="Interface\TargetingFrame\UI-StatusBar"/> |
|
|
14 |
|
<BarTexture name="$parentArtwork" file="Interface\TargetingFrame\UI-StatusBar" parentKey="artwork"/> |
16 |
15 |
<BarColor r="1" g="0" b="1" a="1"/> |
<BarColor r="1" g="0" b="1" a="1"/> |
17 |
16 |
</StatusBar> |
</StatusBar> |
|
17 |
|
<!-- Status bars with explicitly set unit power type property will always display only the given power type. --> |
|
18 |
|
<StatusBar name="ChorusUnitPowerManaStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
19 |
|
<Attributes> |
|
20 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_MANA --> |
|
21 |
|
<Attribute name="chorus-unitpowertype" type="number" value="0"/> |
|
22 |
|
</Attributes> |
|
23 |
|
</StatusBar> |
|
24 |
|
<StatusBar name="ChorusUnitPowerRageStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
25 |
|
<Attributes> |
|
26 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_RAGE --> |
|
27 |
|
<Attribute name="chorus-unitpowertype" type="number" value="1"/> |
|
28 |
|
</Attributes> |
|
29 |
|
</StatusBar> |
|
30 |
|
<StatusBar name="ChorusUnitPowerFocusStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
31 |
|
<Attributes> |
|
32 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_FOCUS --> |
|
33 |
|
<Attribute name="chorus-unitpowertype" type="number" value="2"/> |
|
34 |
|
</Attributes> |
|
35 |
|
</StatusBar> |
|
36 |
|
<StatusBar name="ChorusUnitPowerEnergyStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
37 |
|
<Attributes> |
|
38 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_ENERGY --> |
|
39 |
|
<Attribute name="chorus-unitpowertype" type="number" value="3"/> |
|
40 |
|
</Attributes> |
|
41 |
|
</StatusBar> |
|
42 |
|
<StatusBar name="ChorusUnitPowerRunesStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
43 |
|
<Attributes> |
|
44 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_RUNES --> |
|
45 |
|
<Attribute name="chorus-unitpowertype" type="number" value="5"/> |
|
46 |
|
</Attributes> |
|
47 |
|
</StatusBar> |
|
48 |
|
<StatusBar name="ChorusUnitPowerRunicPowerStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
49 |
|
<Attributes> |
|
50 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_RUNIC_POWER --> |
|
51 |
|
<Attribute name="chorus-unitpowertype" type="number" value="6"/> |
|
52 |
|
</Attributes> |
|
53 |
|
</StatusBar> |
|
54 |
|
<StatusBar name="ChorusUnitPowerSoulShardsStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
55 |
|
<Attributes> |
|
56 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_SOUL_SHARDS --> |
|
57 |
|
<Attribute name="chorus-unitpowertype" type="number" value="7"/> |
|
58 |
|
</Attributes> |
|
59 |
|
</StatusBar> |
|
60 |
|
<StatusBar name="ChorusUnitPowerEclipseStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
61 |
|
<Attributes> |
|
62 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_ECLIPSE --> |
|
63 |
|
<Attribute name="chorus-unitpowertype" type="number" value="8"/> |
|
64 |
|
</Attributes> |
|
65 |
|
</StatusBar> |
|
66 |
|
<StatusBar name="ChorusUnitPowerHolyPowerStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
67 |
|
<Attributes> |
|
68 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_HOLY_POWER --> |
|
69 |
|
<Attribute name="chorus-unitpowertype" type="number" value="9"/> |
|
70 |
|
</Attributes> |
|
71 |
|
</StatusBar> |
|
72 |
|
<StatusBar name="ChorusUnitPowerDarkForceStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
73 |
|
<Attributes> |
|
74 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_DARK_FORCE --> |
|
75 |
|
<Attribute name="chorus-unitpowertype" type="number" value="11"/> |
|
76 |
|
</Attributes> |
|
77 |
|
</StatusBar> |
|
78 |
|
<StatusBar name="ChorusUnitPowerChiStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
79 |
|
<Attributes> |
|
80 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_CHI --> |
|
81 |
|
<Attribute name="chorus-unitpowertype" type="number" value="12"/> |
|
82 |
|
</Attributes> |
|
83 |
|
</StatusBar> |
|
84 |
|
<StatusBar name="ChorusUnitPowerShadowOrbsStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
85 |
|
<Attributes> |
|
86 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_SHADOW_ORBS --> |
|
87 |
|
<Attribute name="chorus-unitpowertype" type="number" value="13"/> |
|
88 |
|
</Attributes> |
|
89 |
|
</StatusBar> |
|
90 |
|
<StatusBar name="ChorusUnitPowerBurningEmbersStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
91 |
|
<Attributes> |
|
92 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_BURNING_EMBERS --> |
|
93 |
|
<Attribute name="chorus-unitpowertype" type="number" value="14"/> |
|
94 |
|
</Attributes> |
|
95 |
|
</StatusBar> |
|
96 |
|
<StatusBar name="ChorusUnitPowerDemonicFuryStatusBarTemplate" inherits="ChorusUnitPowerStatusBarTemplate" virtual="true"> |
|
97 |
|
<Attributes> |
|
98 |
|
<!-- See FrameXML/Constants.lua:SPELL_POWER_DEMONIC_FURY --> |
|
99 |
|
<Attribute name="chorus-unitpowertype" type="number" value="15"/> |
|
100 |
|
</Attributes> |
|
101 |
|
</StatusBar> |
18 |
102 |
</Ui> |
</Ui> |