 |
04/03/08, 1:28 PM
|
#76 (permalink)
|
|
...
Blood Elf Paladin
Moon Guard
|
Originally Posted by Gearknight
If you don't currently use your Focus, you could make it very easy by always setting your focus to whoever your ES is on (which is easy to macro).
|
This would be my suggestion as well. You can make it distinguish between ES on yourself and on your focus within the code (though it probably gets long and ugly with nest if/then/else statements). I'm not at home currently, so I can't give you an exact coding, but you can change the target of a tag by adding unit="whatever" to the () part; e.g. HasAura("Earth Shield", unit="focus"). That would allow you to show your focus's ES status on your own UF. The rest should just be adding in lines for the additional charges and another section for ES on yourself.
The gist should be (caveat that this has *not* been tested, it may very well not work  ):
if Exists(unit="focus") then {
if NumAura("Earth Shield", unit="focus") = 6 then "......":Yellow
elseif NumAura("Earth Shield", unit="focus") = 5 then ".....":Yellow
/* repeat lines until you get down to 1 "." */
elseif NumAura("Earth Shield", unit="focus") = 0 then "!":Yellow
end }
else {
if NumAura("Earth Shield") = 6 then "......":Green
elseif NumAura("Earth Shield") = 5 then ".....":Green
/* repeat until you get down to 1 "." */
elseif NumAura("Earth Shield") = 0 then "!":Green
end }
Note that this assumes you never use a focus for something else while maintaining ES on yourself. It's possible that removing the first line that checks for an existing focus will remedy the code for that case, but I honestly don't know what happens if you try to use a non-existing unit in a DogTag, so I put the check in just in case. This way also allows you to have different color "error" conditions (the "!" lines), which may or may not be necessary. You might also want to find a color spectrum to use for each (Green to Blue or Yellow to Red, for example); I find with my WS variant that I register the color change more easily than the number of dots.
|
|
|
|
|
|
04/03/08, 1:47 PM
|
#77 (permalink)
|
|
Chronic Apopheniac
Night Elf Druid
Eldre'Thalas
|

Originally Posted by Lorienne
This would be my suggestion as well. You can make it distinguish between ES on yourself and on your focus within the code (though it probably gets long and ugly with nest if/then/else statements). I'm not at home currently, so I can't give you an exact coding, but you can change the target of a tag by adding unit="whatever" to the () part; e.g. HasAura("Earth Shield", unit="focus"). That would allow you to show your focus's ES status on your own UF. The rest should just be adding in lines for the additional charges and another section for ES on yourself.
The gist should be (caveat that this has *not* been tested, it may very well not work  ):
[snip]
Note that this assumes you never use a focus for something else while maintaining ES on yourself. It's possible that removing the first line that checks for an existing focus will remedy the code for that case, but I honestly don't know what happens if you try to use a non-existing unit in a DogTag, so I put the check in just in case. This way also allows you to have different color "error" conditions (the "!" lines), which may or may not be necessary. You might also want to find a color spectrum to use for each (Green to Blue or Yellow to Red, for example); I find with my WS variant that I register the color change more easily than the number of dots.
|
As long as you're only changing colors based on the person the ES is on, and not based on how many charges, you can do something like
[Outline]
[if (HasAura("Earth Shield", unit = 'focus')) then
(if (Name(unit = 'focus') = Name(unit = 'player')) then
".":Repeat(NumAura("Earth Shield")):Green
else
".":Repeat(NumAura("Earth Shield")):Yellow
end)
else
"!":Red
end]
Since any macro which sets your focus to whoever you just buffed will also set that focus to yourself if you buff yourself, the tag checks to see if your focus has ES. If not, it gives a red !. If your focus has ES, it checks if your focus is you. If so, green dots for the charges. If not, yellow dots. Again, this would require that you use your focus solely for casting ES and keeping track of it.
|
|
|
|
|
|
04/03/08, 1:54 PM
|
#78 (permalink)
|
|
Glass Joe
Night Elf Priest
Ravenholdt (EU)
|
Originally Posted by Trouble
Display if a target is frozen:
[outline (if (Class(unit="player") = "Mage") and (TalentTree(unit="player") = "Frost") and (HasAura("Frostbite") or HasAura("Frost Nova") or HasAura("Freeze")) then
"Frozen":Color("3333FF")
end)]

|
I'd been trying to work out how to do something similar for my paladin to display when I'd forgotten to cast Righteous Fury and couldn't wrap my head around the code. Thanks for posting that.
|
|
|
|
|
|
04/03/08, 9:40 PM
|
#79 (permalink)
|
|
omg phat loots
Draenei Warrior
Earthen Ring
|
Quick question if anyone knows:
Is there a way to force text onto a new "line" using DogTags? I'm trying to get something that appears like this:
<Name>
<Class>
I would rather not have to try to figure out how to force the alignment of different text fields in PitBull, and would rather just do it this way.
Edit: I figured it out...I'm an idiot.
Last edited by Sovereignty : 04/03/08 at 9:50 PM.
|
|
|
|
|
|
04/03/08, 9:50 PM
|
#80 (permalink)
|
|
Chronic Apopheniac
Night Elf Druid
Eldre'Thalas
|
Originally Posted by Sovereignty
Quick question if anyone knows:
Is there a way to force text onto a new "line" using DogTags? I'm trying to get something that appears like this:
<Name>
<Class>
I would rather not have to try to figure out how to force the alignment of different text fields in PitBull, and would rather just do it this way.
|
If you separate tags with a line break (just hit enter), it will put a line break between the output tags. You have to do this before you hit save, though, or it will format everything as a single tag, which makes it hard to undo. This is why, if you look at my examples above, the 'end) (if' statements between letters are on the same line. I like everything in one line.
|
|
|
|
|
|
04/04/08, 7:32 AM
|
#81 (permalink)
|
|
Von Kaiser
Undead Priest
Khaz'goroth
|
Is there a way with DogTags to tell the difference between other peoples auras and my own? I'd like to change my unit frames to show markings on mobs when I have my dots up, but not other peoples?
|
|
|
|
|
|
04/04/08, 7:59 AM
|
#82 (permalink)
|
|
Von Kaiser
|
Originally Posted by Kaylee
I'd been trying to work out how to do something similar for my paladin to display when I'd forgotten to cast Righteous Fury and couldn't wrap my head around the code. Thanks for posting that.
|
[if (not(HasAura("Righteous Fury")) then
[Outline] "RF missing!":Red
end]
Put this on player frame.
|
|
|
|
|
|
04/04/08, 8:54 AM
|
#83 (permalink)
|
|
Piston Honda
|
Originally Posted by cs-cam
Is there a way with DogTags to tell the difference between other peoples auras and my own? I'd like to change my unit frames to show markings on mobs when I have my dots up, but not other peoples?
|
I believe you only get a duration for your auras, so AuraDuration(aura, unit="player") should work.
|
|
|
|
|
|
04/04/08, 1:21 PM
|
#84 (permalink)
|
|
Chronic Apopheniac
Night Elf Druid
Eldre'Thalas
|
Originally Posted by Fendryl
I believe you only get a duration for your auras, so AuraDuration(aura, unit="player") should work.
|
It'd be more like
[if((HasAura("<MyDot>")) and (AuraDuration("<MyDot>"))) then
"<MyDotIsActiveMessage>":<DotColor>
end]
If it's true that only your dots return a Duration (which I'm pretty sure it is), then simply checking for it will tell you if it's yours.
|
|
|
|
|
|
04/04/08, 2:14 PM
|
#85 (permalink)
|
|
Von Kaiser
|
Is it possible to display a debuff on someone in your raid group, but only after it has ticked for ten seconds (for example... Kalecgos' curse lasts 30 seconds, I don't want to see it until there is 20 seconds left).
I currently use grid but the level of customization here has me intrigued.
|
|
|
|
|
|
04/04/08, 2:42 PM
|
#86 (permalink)
|
|
Chronic Apopheniac
Night Elf Druid
Eldre'Thalas
|
Originally Posted by aadric
Is it possible to display a debuff on someone in your raid group, but only after it has ticked for ten seconds (for example... Kalecgos' curse lasts 30 seconds, I don't want to see it until there is 20 seconds left).
I currently use grid but the level of customization here has me intrigued.
|
If you want every debuff to show up only after it's been there for 10s, no. However, for your specific example,
[if (HasAura("<Kalecgos' Curse>") and (AuraDuration("<Kalecgos' Curse>") < 20)) then
"<Message>":<color>
end]
should work. You'd need to update for each debuff to determine how long until it goes away before you want to know about it.
|
|
|
|
|
|
04/04/08, 2:47 PM
|
#87 (permalink)
|
|
Glass Joe
Night Elf Druid
Tichondrius
|
Originally Posted by aadric
Is it possible to display a debuff on someone in your raid group, but only after it has ticked for ten seconds (for example... Kalecgos' curse lasts 30 seconds, I don't want to see it until there is 20 seconds left).
I currently use grid but the level of customization here has me intrigued.
|
Such an awesome idea I went ahead and wrote one for myself. Here is the code I'm using
[if AuraDuration("Curse of Boundless Agony") < 20 then
"DECURSE":Fuchsia
end]
|
|
|
|
|
|
04/04/08, 2:58 PM
|
#88 (permalink)
|
|
Glass Joe
Night Elf Druid
Tichondrius
|
Hmmm, not I'm not 100% sure this will work. Are you able to see the amount of time a debuff has been on a party member? I guess I'll find out when someone here tests it or next Tuesday
Update: Yeah, it will not work because AuraDuration does not have access to the duration of the debuff.
Last edited by SOOPRcow : 04/04/08 at 5:02 PM.
|
|
|
|
|
|
04/05/08, 12:08 AM
|
#89 (permalink)
|
|
Glass Joe
Draenei Shaman
Lightning's Blade
|
Hello everyone, I made a dogtog for warrior which sometimes have trouble to keep watching for hamstring duration in PvP.
[Outline][(if AuraDuration("Hamstring", unit="target") >= 8 then
AuraDuration("Hamstring"):FormatDuration("e"):Green
elseif (AuraDuration("Hamstring", unit="target") < 8) and (AuraDuration("Hamstring", unit="target") >= 3) then
AuraDuration("Hamstring"):FormatDuration("e"):Color("ff8800")
elseif (AuraDuration("Hamstring", unit="target") < 3) and (AuraDuration("Hamstring", unit="target") > 0) then
AuraDuration("Hamstring"):FormatDuration("e"):Red
else
"No Hamstring":Red
end)]
To simplify it for people that don't know anything about DogTags:
From 15 to 8
From 7 to 3
From 2 to 1
Without Hamstring

Last edited by IFed : 04/05/08 at 12:25 AM.
Reason: New Images
|
|
|
|
|
|
04/05/08, 1:35 AM
|
#90 (permalink)
|
|
Glass Joe
|
Could somthing like this be used to track the curse off of Kaelcgos?
Originally Posted by IFed
Hello everyone, I made a dogtog for warrior which sometimes have trouble to keep watching for hamstring duration in PvP.
[Outline][(if AuraDuration("Hamstring", unit="target") >= 8 then
AuraDuration("Hamstring"):FormatDuration("e"):Green
elseif (AuraDuration("Hamstring", unit="target") < 8) and (AuraDuration("Hamstring", unit="target") >= 3) then
AuraDuration("Hamstring"):FormatDuration("e"):Color("ff8800")
elseif (AuraDuration("Hamstring", unit="target") < 3) and (AuraDuration("Hamstring", unit="target") > 0) then
AuraDuration("Hamstring"):FormatDuration("e"):Red
else
"No Hamstring":Red
end)]
To simplify it for people that don't know anything about DogTags:
From 15 to 8
From 7 to 3
From 2 to 1
Without Hamstring

|
|
|
|
|
|
|
04/05/08, 3:15 AM
|
#91 (permalink)
|
|
Von Kaiser
Murloc Mage
Boulderfist (EU)
|
Originally Posted by roslin
Could somthing like this be used to track the curse off of Kaelcgos?
|
Why don't you read up before you post, it was made right over the post you commented on 
And finally if you want to .. you can always replace "Hamstring" with "Curse of Boundless Agony" and it should work.
|
|
|
|
|
|
04/05/08, 4:26 AM
|
#92 (permalink)
|
|
Great Tiger
|
You can't see the duration of buffs/debuffs on other people/mobs unless you "own" the buff (without some sort of behind the scenes synching). I'm not sure why Blizzard doesn't just provide this information, but they don't.
|
|
|
|
|
|
04/05/08, 10:09 AM
|
#93 (permalink)
|
|
Glass Joe
|
Exactly what I thought but then I saw people posting dog tags for tracking the Kalecgos curse. I'm sure its only a matter of time before a altered decursive or grid plugin is released im sure they already exist internally already.
While its manageable to be honest i'm finding it outright annoying to have to check curse duration, portal side and then find the person on my UF.
Sorry i'm not trying to derail this thread into somthing else its not but for a second there it looked like the flexability of Dogtags 3 was going make 1 night of the week a little less annoying. 
|
|
|
|
|
|
04/05/08, 8:15 PM
|
#94 (permalink)
|
|
Von Kaiser
|

Originally Posted by Sethik
Something I whipped up last night:
And if the CC is your own:
Yes, it is as good as it looks. Works with focus, target, whatever you like. Position is Frame - Edge, Top Middle.

[if HasAura("Freezing Trap Effect") or HasAura("Polymorph") or HasAura("Sap") or HasAura("Gouge") or HasAura("Seduce") or HasAura("Banish") or HasAura("Fear") or HasAura("Howl of Terror") or HasAura("Intimidating Shout") or HasAura("Entangling Roots") or HasAura("Cyclone") or HasAura("Hibernate") or HasAura("Psychic Scream") or HasAura("Blind") or HasAura("Repentance") then
(Outline "*Crowd Control* " Gray AuraDuration("Freezing Trap Effect"):FormatDuration("s"):Paren AuraDuration("Polymorph"):FormatDuration("s"):Paren AuraDuration("Sap"):FormatDuration("s"):Paren AuraDuration("Gouge"):FormatDuration("s"):Paren AuraDuration("Seduce"):FormatDuration("s"):Paren AuraDuration("Banish"):FormatDuration("s"):Paren AuraDuration("Fear"):FormatDuration("s"):Paren AuraDuration("Howl of Terror"):FormatDuration("s"):Paren AuraDuration("Intimidating Shout"):FormatDuration("s"):Paren AuraDuration("Entangling Roots"):FormatDuration("s"):Paren AuraDuration("Cyclone"):FormatDuration("s"):Paren AuraDuration("Hibernate"):FormatDuration("s"):Paren AuraDuration("Psychic Scream"):FormatDuration("s"):Paren AuraDuration("Blind"):FormatDuration("s"):Paren AuraDuration("Repentance"))
end]
Pseudo code for the above is:
[if HasAura("CC") then (Outline "*Crowd Control* " Gray AuraDuration("CC"):FormatDuration("s"):Paren) end]
Enjoy!
|
This was neat so I did a little modification of this using the spell icons for each spell instead of text (although I didn't keep the duration stuff but that would be easy enough for someone to add back in).

[if HasAura("Freezing Trap Effect") then
"Interface/Icons/Spell_Frost_ChainsOfIce":Icon
else
if HasAura("Polymorph") then
"Interface/Icons/Spell_Nature_Polymorph":Icon
else
if HasAura("Sap") then
"Interface/Icons/Ability_Sap":Icon
else
if HasAura("Gouge") then
"Interface/Icons/Ability_Gouge":Icon
else
if HasAura("Seduce") then
"Interface/Icons/Spell_Shadow_MindSteal":Icon
else
if HasAura("Banish") then
"Interface/Icons/Spell_Shadow_Cripple":Icon
else
if HasAura("Fear") then
"Interface/Icons/Spell_Shadow_PsychicScream":Icon
else
if HasAura("Howl of Terror") then
"Interface/Icons/Spell_Shadow_DeathScream":Icon
else
if HasAura("Intimidating Shout") then
"Interface/Icons/Ability_GolemThunderClap":Icon
else
if HasAura("Entangling Roots") then
"Interface/Icons/Spell_Nature_StrangleVines":Icon
else
if HasAura("Cyclone") then
"Interface/Icons/Spell_Nature_Cyclone":Icon
else
if HasAura("Hibernate") then
"Interface/Icons/Spell_Nature_Sleep":Icon
else
if HasAura("Psychic Scream") then
"Interface/Icons/Spell_Shadow_PsychicScream":Icon
else
if HasAura("Blind") then
"Interface/Icons/Spell_Shadow_MindSteal":Icon
else
if HasAura("Repentance") then
"Interface/Icons/Spell_Holy_PrayerOfHealing":Icon
else
if HasAura("Shackle Undead") then
"Interface/Icons/Spell_Nature_Slow":Icon
end]
Last edited by Zerchi : 04/05/08 at 10:04 PM.
|
|
|
|
|
|
04/05/08, 8:55 PM
|
#95 (permalink)
|
|
Glass Joe
Night Elf Priest
Zenedar (EU)
|
Originally Posted by Trouble
|
I'm writing something simulair to this for my raid frames, except for blessings I want a number shown for the amount of blessings on that player. Could somebody guide me on how to do this?
Last edited by Lihaug : 04/05/08 at 9:25 PM.
|
|
|
|
|
|
04/06/08, 1:21 AM
|
#96 (permalink)
|
|
Von Kaiser
Undead Priest
Khaz'goroth
|
Originally Posted by Lihaug
I'm writing something simulair to this for my raid frames, except for blessings I want a number shown for the amount of blessings on that player. Could somebody guide me on how to do this?
|
A total number or perhaps a small dot for each? A dot for each would be a simple chain of if..then..end statements, ie:
(if (HasAura("Blessing of Kings") or HasAura("Greater Blessing of Kings")) then
".":Yellow
end) (if ....
etc
end)
Now I have another question, should be my last. Is there a way to tell the difference between the ISB and Shadow Weaving debuffs? They both have the same name, they both "stack" so NumAura() isn't useful and I'm not 100% sure of any other info I can pull about the debuff to maybe discern the difference between them. I'm also assuming I won't be the only shadowpriest so I can't check AuraDuration() and assume a debuff without a duration is ISB as the Shadow Weaving stack may not be started by me.
Any suggestions for this one? Even just somewhere to start looking would be a plus. I've been driving myself crazy working on this all day yesterday 
|
|
|
|
|
|
04/06/08, 3:14 AM
|
#97 (permalink)
|
|
Glass Joe
Draenei Shaman
Lightning's Blade
|
Well I decided to go ahead and make a version 2.0 of my Hamstring dogtag  | |