vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 PERFECTRAID = {}
2 PERFECTRAID.CURSE = "Curse"
3 PERFECTRAID.MAGIC = "Magic"
4 PERFECTRAID.POISON = "Poison"
5 PERFECTRAID.DISEASE = "Disease"
6 PERFECTRAID.FEIGNDEATH = "Feign Death"
7 PERFECTRAID.GHOST = "Ghost"
8 PERFECTRAID.SOULSTONE = "Soulstone Resurrection"
9  
10 PERFECTRAID.COLORS = {}
11 PERFECTRAID.COLORS["Curse"] = "|cFFCC0000Cu |r"
12 PERFECTRAID.COLORS["Magic"] = "|cFF660099Ma |r"
13 PERFECTRAID.COLORS["Poison"] = "|cFF006600Po |r"
14 PERFECTRAID.COLORS["Disease"] = "|cFF666600Di |r"
15 PERFECTRAID.COLORS["LowMana"] = "|cFFFFFF00Mana |r"
16 PERFECTRAID.COLORS["FeignDeath"] = "|cFF00E6C6FD |r"
17 PERFECTRAID.COLORS["Soulstone"] = "|cFFCA21FFSS |r"
18 PERFECTRAID.COLORS["Innervate"] = "|cFF00FF33Inn |r"
19 PERFECTRAID.COLORS["PowerInfusion"] = "|cFF00FF33PwI |r"
20  
21 PERFECTRAID.CLASSES = {}
22 PERFECTRAID.CLASSES["PALADIN"] = "|cFFF48CBA"
23 PERFECTRAID.CLASSES["WARRIOR"] = "|cFFC69B6D"
24 PERFECTRAID.CLASSES["WARLOCK"] = "|cFF9382C9"
25 PERFECTRAID.CLASSES["PRIEST"] = "|cFFFFFFFF"
26 PERFECTRAID.CLASSES["DRUID"] = "|cFFFF7C0A"
27 PERFECTRAID.CLASSES["MAGE"] = "|cFF68CCEF"
28 PERFECTRAID.CLASSES["ROGUE"] = "|cFFFFF468"
29 PERFECTRAID.CLASSES["SHAMAN"] = "|cFFF48CBA"
30 PERFECTRAID.CLASSES["HUNTER"] = "|cFFAAD372"
31  
32 PERFECTRAID.CHAT_COMMANDS = { "/perfectraid", "/praid"}
33 PERFECTRAID.CHAT_OPTIONS = {
34 {
35 option = "align",
36 desc = "Changes the alignment of the raid frames",
37 input = TRUE,
38 method = "Align",
39 args = {
40 {
41 option = "left",
42 desc = "Aligns the frames for a left-sided display.",
43 },
44 {
45 option = "right",
46 desc = "Aligns the frames for a right-sided display.",
47 },
48 },
49 },
50 {
51 option = "hide",
52 desc = "Hides the frames.",
53 method = "Hide",
54 },
55 {
56 option = "show",
57 desc = "Shows the frames.",
58 method = "Show",
59 },
60 {
61 option = "reset",
62 desc = "Resets all options to default (including location).",
63 method = "Reset",
64 },
65 {
66 option = "truncate",
67 desc = "Toggles between truncating names, and expanding to fit them.",
68 method = "Truncate",
69 },
70 {
71 option = "backdrop",
72 desc = "Sets the backdrop frame's alpha.",
73 method = "SetBackdrop",
74 input = TRUE,
75 args = {
76 {
77 option = "bar",
78 desc = "Sets the backdrop of the status bars. Usage: /praid bar backdrop r g b a",
79 input = TRUE,
80 },
81 {
82 option = "frame",
83 desc = "Sets the backdrop of the PerfectRaid frame. Usage: /praid bar backdrop r g b a",
84 input = TRUE,
85 },
86 },
87 },
88 {
89 option = "manathreshold",
90 desc = "Changes the \"Low Mana\" threshold (in percent 0-100).",
91 input = TRUE,
92 method = "SetLowMana",
93 },
94 {
95 option = "scale",
96 desc = "Changes the Scaling of the frames (0.1 - 2.0)",
97 input = TRUE,
98 method = "SetScale",
99 },
100 {
101 option = "voffset",
102 desc = "Changes the seperator between sorted groups/classes (Negative numbers move frames down)",
103 input = TRUE,
104 method = "SetVoffset",
105 },
106 {
107 option = "sort",
108 desc = "Changes the sort order of the frames.",
109 input = TRUE,
110 method = "Sort",
111 args = {
112 {
113 option = "class",
114 desc = "Sorts by class name.",
115 },
116 {
117 option = "group",
118 desc = "Sorts by group number, then by player name.",
119 },
120 {
121 option = "raid",
122 desc = "Sorts by raid id (not very useful).",
123 },
124 {
125 option = "name",
126 desc = "Sorts by player name.",
127 },
128 {
129 option = "groupclass",
130 desc = "Sorts by group number, then by class name.",
131 },
132 },
133 },
134 {
135 option = "select",
136 desc = "Allows you to highlight a portion of the raid",
137 input = TRUE,
138 method = "Select",
139 args = {
140 {
141 option = "group",
142 desc = "Selects all members of a raid group. Must specify group number.",
143 input = TRUE,
144 },
145 {
146 option = "class",
147 desc = "Selects all members of a specific class. Must specify class",
148 input = TRUE
149 },
150 {
151 option = "all",
152 desc = "Selects all members of the raid.",
153 },
154 {
155 option = "none",
156 desc = "Removes all selections.",
157 },
158 {
159 option = "number",
160 desc = "Shows each raid member's group number.",
161 },
162 },
163 },
164 {
165 option = "need",
166 desc = "Sorts the raid by who has the most NEED for something",
167 input = TRUE,
168 method = "SortNeed",
169 args = {
170 {
171 option = "off",
172 desc = "Turns need mode off, and sorts by default sort order.",
173 },
174 {
175 option = "heal",
176 desc = "Sorts by missing hit points, descending.",
177 input = TRUE
178 },
179 {
180 option = "curse",
181 desc = "Sorts by those members who are cursed.",
182 },
183 {
184 option = "magic",
185 desc = "Sorts by those members who have a magic debuff.",
186 },
187 {
188 option = "disease",
189 desc = "Sorts by those members who have a disease.",
190 },
191 {
192 option = "poison",
193 desc = "Sorts by those members who have a poison debuff.",
194 },
195 {
196 option = "anycure",
197 desc = "Sorts by those members who have a debuff you can cure.",
198 },
199 },
200 },
201 {
202 option = "filter",
203 desc = "Filter debuffs to only those you can cure",
204 method = "ToggleFilter",
205 },
206 {
207 option = "rangecheck",
208 desc = "When casting spells, makes units you can't target slightly transparent.",
209 method = "ToggleRangeCheck",
210 },
211 }