vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <html> |
||
3 | <head> |
||
4 | <meta name="GENERATOR" content="PageBreeze Free HTML Editor (http://www.pagebreeze.com)"> |
||
5 | <title>Conditional Template</title> |
||
6 | </head> |
||
7 | <body bgcolor="#ffffff"> |
||
8 | <p> |
||
9 | <table bordercolor="#000000" cellspacing="0" cellpadding="3" width="100%" align="center"
|
||
10 | border="1"> |
||
11 | <caption>FlexBar Conditionals</caption> |
||
12 | |||
13 | <tr> |
||
14 | <td width="25%">Condtional</td> |
||
15 | <td>Description</td></tr> |
||
16 | <tr> |
||
17 | <tr> |
||
18 | <td width="25%">affectingcombat<target></td> |
||
19 | <td> |
||
20 | <p>target = unit code ("player","target","party1"-"party4","pet") -- |
||
21 | true if unit is aggroed or otherwise affecting combat.</p></td></tr> |
||
22 | <tr> |
||
23 | <td width="25%">altdown<></td> |
||
24 | <td>no target -- true if the altkey is down</td></tr> |
||
25 | <tr> |
||
26 | <td width="25%">comboptseq<target></td> |
||
27 | <td>target = 0-5 -- true if player's combo points are equal to |
||
28 | target</td></tr> |
||
29 | <tr> |
||
30 | <td width="25%">comboptsgt<target></td> |
||
31 | <td>target = 0-5 -- true if player's combo points are greater |
||
32 | than target</td></tr> |
||
33 | <tr> |
||
34 | <td width="25%">comboptslt<target></td> |
||
35 | <td>target = 0-5 -- true if player's combo points are less |
||
36 | than target</td></tr> |
||
37 | <tr> |
||
38 | <td width="25%">controldown<></td> |
||
39 | <td>no target -- true if control key is down</td></tr> |
||
40 | <tr> |
||
41 | <td width="25%">custom<target></td> |
||
42 | <td>target = any string or number. True if there is a non-false |
||
43 | value at FBCustom[target] (used in scripts for custom conditions)</td></tr> |
||
44 | <tr> |
||
45 | <td width="25%">enoughmana<target></td> |
||
46 | <td>target = ID (1-120) -- true if the action at that ID has enough |
||
47 | mana</td></tr> |
||
48 | <tr> |
||
49 | <td width="25%">faded<target></td> |
||
50 | <td>target = button (1-120) -- true if the button named is faded</td></tr> |
||
51 | <tr> |
||
52 | <td width="25%">hasaggro<></td> |
||
53 | <td>no target -- true if the player has aggro</td></tr> |
||
54 | <tr> |
||
55 | <td width="25%">hasaura<target></td> |
||
56 | <td>target = Aura Name (eg - "Stealth","Battle Stance") -- True if the |
||
57 | specified aura is up. Use for stealth, forms, stances, pally |
||
58 | auras</td></tr> |
||
59 | <tr> |
||
60 | <td width="25%">hasbuff<target></td> |
||
61 | <td>target = Buff Name (eg - "Blessing of Might") -- True if the player |
||
62 | has the specified buff</td></tr> |
||
63 | <tr> |
||
64 | <td width="25%">hasdebuff<target></td> |
||
65 | <td>target = Debuff Name (eg - "Tetanus") -- True if the player has the |
||
66 | specified debuff.</td></tr> |
||
67 | <tr> |
||
68 | <td width="25%">hasdebufftype<target></td> |
||
69 | <td>target = Debuff Type (eg - "Poison") -- True if the player has that |
||
70 | type of debuff</td></tr> |
||
71 | <tr> |
||
72 | <td width="25%">hasitem<target></td> |
||
73 | <td>target = Item Name (eg - "Elixir of Minor Defense") -- True if the |
||
74 | player has that item in their inventory</td></tr> |
||
75 | <tr> |
||
76 | <td width="25%">healthabove10<target></td> |
||
77 | <td>For all HealthAbove, HealthBelow and HealthFull</td></tr> |
||
78 | <tr> |
||
79 | <td width="25%">healthabove20<target></td> |
||
80 | <td>Target = unit code ("player","target","party1"-"party4","pet")</td></tr> |
||
81 | <tr> |
||
82 | <td width="25%">healthabove30<target></td> |
||
83 | <td>True if the specified unit's health is above/below the trailing</td></tr> |
||
84 | <tr> |
||
85 | <td width="25%">healthabove40<target></td> |
||
86 | <td>number, or full.</td></tr> |
||
87 | <tr> |
||
88 | <td width="25%">healthabove50<target></td> |
||
89 | <td></td></tr> |
||
90 | <tr> |
||
91 | <td width="25%">healthabove60<target></td> |
||
92 | <td></td></tr> |
||
93 | <tr> |
||
94 | <td width="25%">healthabove70<target></td> |
||
95 | <td></td></tr> |
||
96 | <tr> |
||
97 | <td width="25%">healthabove80<target></td> |
||
98 | <td></td></tr> |
||
99 | <tr> |
||
100 | <td width="25%">healthabove90<target></td> |
||
101 | <td></td></tr> |
||
102 | <tr> |
||
103 | <td width="25%">healthbelow10<target></td> |
||
104 | <td></td></tr> |
||
105 | <tr> |
||
106 | <td width="25%">healthbelow100<target></td> |
||
107 | <td></td></tr> |
||
108 | <tr> |
||
109 | <td width="25%">healthbelow20<target></td> |
||
110 | <td></td></tr> |
||
111 | <tr> |
||
112 | <td width="25%">healthbelow30<target></td> |
||
113 | <td></td></tr> |
||
114 | <tr> |
||
115 | <td width="25%">healthbelow40<target></td> |
||
116 | <td></td></tr> |
||
117 | <tr> |
||
118 | <td width="25%">healthbelow50<target></td> |
||
119 | <td></td></tr> |
||
120 | <tr> |
||
121 | <td width="25%">healthbelow60<target></td> |
||
122 | <td></td></tr> |
||
123 | <tr> |
||
124 | <td width="25%">healthbelow70<target></td> |
||
125 | <td></td></tr> |
||
126 | <tr> |
||
127 | <td width="25%">healthbelow80<target></td> |
||
128 | <td></td></tr> |
||
129 | <tr> |
||
130 | <td width="25%">healthbelow90<target></td> |
||
131 | <td></td></tr> |
||
132 | <tr> |
||
133 | <td width="25%">healthfull<target></td> |
||
134 | <td></td></tr> |
||
135 | <tr> |
||
136 | <td width="25%">hidden<target></td> |
||
137 | <td>Target = Button number (1-120) OR Frame name ("MainMenuBar") -- |
||
138 | Returns true if the specified button or frame is hidden</td></tr> |
||
139 | <tr> |
||
140 | <td width="25%">incombat<></td> |
||
141 | <td>no target - True if Player is meleeing.</td></tr> |
||
142 | <tr> |
||
143 | <td width="25%">incooldown<target></td> |
||
144 | <td>Target = ID (1-120) -- True if ability at that ID is in cooldown</td></tr> |
||
145 | <tr> |
||
146 | <td width="25%">ingroup<target></td> |
||
147 | <td>Target = Group number (1-120) -- True if cursor is inside specified |
||
148 | group</td></tr> |
||
149 | <tr> |
||
150 | <td width="25%">inrange<target></td> |
||
151 | <td>Target = ID (1-120) -- True if ability at that ID is in range</td></tr> |
||
152 | <tr> |
||
153 | <td width="25%">isadvanced<target></td> |
||
154 | <td>Target = Button (1-120) -- True if button is set to advanced</td></tr> |
||
155 | <tr> |
||
156 | <td width="25%">isdisabled<target></td> |
||
157 | <td>Target = Button (1-120) -- True if button is set to disabled</td></tr> |
||
158 | <tr> |
||
159 | <td width="25%">isrunning<target></td> |
||
160 | <td>Target = Timer name -- True if a timer of that name is running</td></tr> |
||
161 | <tr> |
||
162 | <td width="25%">mainhandchargeseq<target></td> |
||
163 | <td>Target = # -- True if number of charges on main hand enchant (poison?) |
||
164 | is equal to target</td></tr> |
||
165 | <tr> |
||
166 | <td width="25%">mainhandchargesgt<target></td> |
||
167 | <td>Target = # -- True if number of charges on main hand enchant (poison?) |
||
168 | is greater than target</td></tr> |
||
169 | <tr> |
||
170 | <td width="25%">mainhandchargeslt<target></td> |
||
171 | <td>Target = # -- True if number of charges on main hand enchant (poison?) |
||
172 | is less than target</td></tr> |
||
173 | <tr> |
||
174 | <td width="25%">mainhandenchant<></td> |
||
175 | <td>no target -- True if player has an enchantment (itembuff, poison) on |
||
176 | main hand weapon</td></tr> |
||
177 | <tr> |
||
178 | <td width="25%">manaabove10<target></td> |
||
179 | <td>For all ManaAbove/ManaBelow/ManaFull conditions</td></tr> |
||
180 | <tr> |
||
181 | <td width="25%">manaabove20<target></td> |
||
182 | <td>Target = Unit Code ("player","target","party1"-"party4","pet")</td></tr> |
||
183 | <tr> |
||
184 | <td width="25%">manaabove30<target></td> |
||
185 | <td>True if specified unit's mana is above/below the amount</td></tr> |
||
186 | <tr> |
||
187 | <td width="25%">manaabove40<target></td> |
||
188 | <td></td></tr> |
||
189 | <tr> |
||
190 | <td width="25%">manaabove50<target></td> |
||
191 | <td></td></tr> |
||
192 | <tr> |
||
193 | <td width="25%">manaabove60<target></td> |
||
194 | <td></td></tr> |
||
195 | <tr> |
||
196 | <td width="25%">manaabove70<target></td> |
||
197 | <td></td></tr> |
||
198 | <tr> |
||
199 | <td width="25%">manaabove80<target></td> |
||
200 | <td></td></tr> |
||
201 | <tr> |
||
202 | <td width="25%">manaabove90<target></td> |
||
203 | <td></td></tr> |
||
204 | <tr> |
||
205 | <td width="25%">manabelow10<target></td> |
||
206 | <td></td></tr> |
||
207 | <tr> |
||
208 | <td width="25%">manabelow100<target></td> |
||
209 | <td></td></tr> |
||
210 | <tr> |
||
211 | <td width="25%">manabelow20<target></td> |
||
212 | <td></td></tr> |
||
213 | <tr> |
||
214 | <td width="25%">manabelow30<target></td> |
||
215 | <td></td></tr> |
||
216 | <tr> |
||
217 | <td width="25%">manabelow40<target></td> |
||
218 | <td></td></tr> |
||
219 | <tr> |
||
220 | <td width="25%">manabelow50<target></td> |
||
221 | <td></td></tr> |
||
222 | <tr> |
||
223 | <td width="25%">manabelow60<target></td> |
||
224 | <td></td></tr> |
||
225 | <tr> |
||
226 | <td width="25%">manabelow70<target></td> |
||
227 | <td></td></tr> |
||
228 | <tr> |
||
229 | <td width="25%">manabelow80<target></td> |
||
230 | <td></td></tr> |
||
231 | <tr> |
||
232 | <td width="25%">manabelow90<target></td> |
||
233 | <td></td></tr> |
||
234 | <tr> |
||
235 | <td width="25%">manafull<target></td> |
||
236 | <td></td></tr> |
||
237 | <tr> |
||
238 | <td width="25%">offhandchargeseq<target></td> |
||
239 | <td>Target = # -- True if number of charges on off hand enchant |
||
240 | (poison?) is equal to target</td></tr> |
||
241 | <tr> |
||
242 | <td width="25%">offhandchargesgt<target></td> |
||
243 | <td>Target = # -- True if number of charges on off hand enchant |
||
244 | (poison?) is greater than target</td></tr> |
||
245 | <tr> |
||
246 | <td width="25%">offhandchargeslt<target></td> |
||
247 | <td>Target = # -- True if number of charges on off hand enchant |
||
248 | (poison?) is less than target</td></tr> |
||
249 | <tr> |
||
250 | <td width="25%">offhandenchant<></td> |
||
251 | <td>no target -- True if the off hand weapon has an itembuff/poison</td></tr> |
||
252 | <tr> |
||
253 | <td width="25%">remapped<target></td> |
||
254 | <td>Target = Button Number (1-120) -- True if button is remapped</td></tr> |
||
255 | <tr> |
||
256 | <td width="25%">scaled<target></td> |
||
257 | <td>Target = Button Number (1-120) -- True if button is scaled</td></tr> |
||
258 | <tr> |
||
259 | <td width="25%">shaded<target></td> |
||
260 | <td>Target = Button Number (1-120) -- True if button is shaded</td></tr> |
||
261 | <tr> |
||
262 | <td width="25%">shiftdown<></td> |
||
263 | <td>no target - True if ShiftKey is down</td></tr> |
||
264 | <tr> |
||
265 | <td width="25%">unitbuff<[unitcode target]></td> |
||
266 | <td> |
||
267 | <p>UnitCode = "party1"-"party4","pet","target", Target = Buff Name. -- |
||
268 | True if specified unit has specified buff: EG unitbuff<["party1" |
||
269 | "Blessing of Might"]></p></td></tr> |
||
270 | <tr> |
||
271 | <td width="25%">unitdebuff<[unitcode |
||
272 | target]></td> |
||
273 | <td> |
||
274 | <p>UnitCode = "party1"-"party4","pet","target", Target =Debuff Name. -- |
||
275 | True if specified unit has specified debuff: EG |
||
276 | unitdebuff<["party1" "Tetanus"]></p></td></tr> |
||
277 | <tr> |
||
278 | <td width="25%"> |
||
279 | <p>unitdebufftype<[unitcode target]></p></td> |
||
280 | <td> |
||
281 | <p>UnitCode = "party1"-"party4","pet","target", Target = Debuff Type. -- |
||
282 | True if specified unit has specified debufftype: EG |
||
283 | unitdebufftype<["party1" "Disease"]></p></td></tr> |
||
284 | <tr> |
||
285 | <td width="25%"> |
||
286 | <p>unitcreaturetype<[unitcode target]></p></td> |
||
287 | <td> |
||
288 | <p>UnitCode = "party1"-"party4","pet","target", |
||
289 | Target = Creature Type. -- True |
||
290 | if specified unit is specified creature tyep: EG |
||
291 | unitdecreaturetype<["target" "humanoid"]></p></td></tr> |
||
292 | <tr> |
||
293 | <td width="25%"> |
||
294 | <p>unitclass<[unitcode target]></p></td> |
||
295 | <td> |
||
296 | <p>UnitCode = "party1"-"party4","pet","target", |
||
297 | Target = Creature Type. -- True |
||
298 | if specified unit is specified creature type: EG |
||
299 | unitcreaturetype<["target" "humanoid"]></p></td></tr> |
||
300 | <tr> |
||
301 | <td width="25%"> |
||
302 | <p>partydebufftype<[target]></p></td> |
||
303 | <td>< p > True if anyone in the party has the |
||
304 | specified debufftype: EG partydebufftype<"poison"> |
||
305 | <p></p></td></tr> |
||
306 | <tr> |
||
307 | <td width="25%">unitexists<target></td> |
||
308 | <td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True |
||
309 | if the specified unit exists</td></tr> |
||
310 | <tr> |
||
311 | <td width="25%">unitisalive<target></td> |
||
312 | <td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True |
||
313 | if the specified unit is alive</td></tr> |
||
314 | <tr> |
||
315 | <td width="25%">unitiscorpse<target></td> |
||
316 | <td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True |
||
317 | if the specified unit is dead</td></tr> |
||
318 | <tr> |
||
319 | <td width="25%">unitisfriendly<target></td> |
||
320 | <td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True |
||
321 | if the specified unit is friendly</td></tr> |
||
322 | <tr> |
||
323 | <td width="25%">unitishostile<target></td> |
||
324 | <td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True |
||
325 | if the specified unit is hostile</td></tr> |
||
326 | <tr> |
||
327 | <td width="25%">unitisneutral<target></td> |
||
328 | <td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True |
||
329 | if the specified unit neutral</td></tr> |
||
330 | <tr> |
||
331 | <td width="25%">unitistapped<target></td> |
||
332 | <td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True |
||
333 | if the specified unit is tapped by someone else (not available)</td></tr> |
||
334 | <tr> |
||
335 | <td width="25%">usable<target></td> |
||
336 | <td>Target = ID (1-120) -- True if the action at that ID is usable. |
||
337 | As of WoW patch 1300 this reflects a combination of - In the right stance |
||
338 | and a precondition being met. So, if you are in battle stance and |
||
339 | your opponent just dodged and you have overpower on id 1 then: |
||
340 | usable<1> will be true. If you are not in battle stance, |
||
341 | however, it will be false.</td></tr> |
||
342 | <tr> |
||
343 | <td width="25%">visible<target></td> |
||
344 | <td>Target = Button number (1-120) OR Frame name ("MainMenuBar") -- |
||
345 | Returns true if the specified button or frame is |
||
346 | visible.</td></tr> <
|
||
347 | /table > |
||
348 | |||
349 | </ p></p> |
||
350 | <p><strong><em><font size="4">Important Notes:</font></em></strong></p> |
||
351 | <ol> |
||
352 | <li>If you omit a target on conditions that need them, it |
||
353 | will simply return false. |
||
354 | <li>If you specify multiple targets on many conditions, it works as an |
||
355 | <strong><em>or</em></strong> - IE: hidden<[1 2 3 4]> will return |
||
356 | true if any of buttons 1,2,3 or 4 are hidden. Also, |
||
357 | unitdebufftype<["target" "poison" "disease"]> will return true if the |
||
358 | target is either diseased, or poisoned (or both). Also of note is |
||
359 | applying not to these: not unitdebufftype<["target" "poison" |
||
360 | "disease"]> will result in true if the target has NEITHER a poison nor a |
||
361 | disease debuff on them. |
||
362 | <li>All string values in conditions must be double |
||
363 | quoted, while the entire condition is in single quotes: IE |
||
364 | if='unitbuff<["party1" "Blessing of Might"]>'. Multiple values |
||
365 | must be in brackets IE: if='hasbuff<["Blessing of Might" "Blessing of |
||
366 | Wisdom"]>' |
||
367 | <li></li></ol> |
||
368 | <p> </p> |
||
369 | </body> |
||
370 | </html> |