Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 03/20/09, 2:21 AM   #556
Aeshai
Glass Joe
 
Blood Elf Rogue
 
Dunemaul
Originally Posted by Micah View Post
I use the following on my raid frames:

[Outline][(if (Class("player") = "Mage") then
    (if HasCurseDebuff then
        "CURSE":Color("8000FF")
    end)
elseif (Class("player") = "Shaman") then
    (if HasAura("Fel Rage") then
        "HEAL":Color("FF0000")
    elseif (HasCurseDebuff or HasDiseaseDebuff or HasPoisonDebuff) then
        "CURE":Color("FF0000") (if HasCurseDebuff then
            " C":Color("8000FF")
        end) (if HasDiseaseDebuff then
            " D":Color("8C2600")
        end) (if HasPoisonDebuff then
            " P":Color("00FF00")
        end)
    end)
end)]
Basically, if on my mage, it will show a big purple "CURSE" over the raidmember who has the curse. If on my shaman, it will show "CURE" in red if it has any curse/disease/poison, followed by the type of debuff as a single letter. Purple "C" for curse, brown "D" for disease, and green "P" for poison. That dogtag also has some custom Bloodboil code reminding me which target has Fel Rage which you probably dont need.
Thank you for this, I will try it out.


I have another problem tho. On my raid frames, I am trying to set up little coloured squares to show when Renew or PoM is on my raid members.

This is what I am using -

[Outline] [(if HasAura("Renew") then
".":Color("32CD32")
end) (if HasAura("Prayer of Mending") then
".":Color("8B6914")
end)]

Now it works if I have either a Renew or PoM, but if both are on the target, there is a single white square. The odd thing is that it works perfectly on my Player frames.

What am I doing wrong?

Offline
Reply With Quote
Old 03/25/09, 3:23 PM   #557
okkita
Von Kaiser
 
okkita's Avatar
 
Orc Death Knight
 
The Maelstrom (EU)
Color coded Aloft Dogtag

Hey everyone,

not quite sure if this can be achieved through Dogtags. I believe the Color Format for Colors in Aloft (Aloft -> Health Bar -> Colors -> Advanced) uses Dogtags. I am looking for code that colors the nameplate's health bar with the class color of the target of that unit _not_ with the class color of the unit itself.

Anyone has any clue:
* if this can be achieved with dogtags through aloft.
* it this can be achieved elsewhere.

Alternatively, Id be looking at coloring the nameplates with the color of the unit's target if that target is in a "Tanks" whitelist (maybe even pulled from oRa2's tanklist), and in glowing red if not (means it's targetting a DPSer or healer).

Thanks a lot in advance!

Offline
Reply With Quote
Old 03/25/09, 5:44 PM   #558
Creamsickle
Glass Joe
 
Blood Elf Death Knight
 
Balnazzar
I need a dogtag for player and target unitframes to show exact HP when I mouseover only, otherwise only show Percentage. Thank you!

Offline
Reply With Quote
Old 04/06/09, 1:02 PM   #559
Emy
Glass Joe
 
Gnome Warlock
 
Trollbane (EU)
Hello!

First of all, I'd like to express my warm feelings to this amazing addon, or library since it's not standalone I suppose.

I have a few Dogtags working and they work exactly the way I want.
I am however, looking for 1 more Dogtag. I know it can be done because I've seen it before and I've seen tags that look the same in this thread, but I can not seem to reproduce this in the way I want to.

What I'm looking for is the following:

Imagine this being a unitframe:

hit immo dmg crit
=================
-----------------
What I am looking for is a dogtag that shows these words above my unitframe colored out grey, when the debuff for hit is applies (being shadowpriests or moonkin imp FF) I want the word hit to get a red color instead, so I can see this debuff is applied. Kind of similar to the debuff list dogtag posted here, but still different. I've been playing around with the original debuff list tag, but I can't seem to create what I'd love to see on mine.

Any chance someone could offer me some help on this?

Offline
Reply With Quote
Old 04/06/09, 1:14 PM   #560
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Emy View Post
Hello!

First of all, I'd like to express my warm feelings to this amazing addon, or library since it's not standalone I suppose.

I have a few Dogtags working and they work exactly the way I want.
I am however, looking for 1 more Dogtag. I know it can be done because I've seen it before and I've seen tags that look the same in this thread, but I can not seem to reproduce this in the way I want to.

What I'm looking for is the following:

Imagine this being a unitframe:

hit immo dmg crit
=================
-----------------
What I am looking for is a dogtag that shows these words above my unitframe colored out grey, when the debuff for hit is applies (being shadowpriests or moonkin imp FF) I want the word hit to get a red color instead, so I can see this debuff is applied. Kind of similar to the debuff list dogtag posted here, but still different. I've been playing around with the original debuff list tag, but I can't seem to create what I'd love to see on mine.

Any chance someone could offer me some help on this?
It'd be practically impossible, since iFF doesn't show up on the target, FF does. Misery would be easy to code, and if you were confident that any FF without Misery was iFF (i.e. If you don't have a Spriest, that you definitely had a moonkin and that he was putting up FF), you could use

(if HasAura("Misery") or HasAura("Faerie Fire") then "Hit":Red else "Hit":Grey end)
Luckily, a Feral's FF has a different name, so the only time you'd have to really worry is if a Resto or a Moonkin without iFF talented were to put up FF.

United States Online
Reply With Quote
Old 04/06/09, 1:29 PM   #561
Emy
Glass Joe
 
Gnome Warlock
 
Trollbane (EU)
So, based on what you just suggested about Feary Fire (and since we raid with 1 moonkin and 1 Shadowpriest each raid) I just put up Feary Fire and Misery, and at least one will be up at all times.

Here is what I came up with (note: this is based on something I noticed on a screenshot from a UI, I can't remember the name but credit goes to him!).

[if IsEnemy and ~Dead and ~IsPlayerOrPet and InCombat then 
     (if HasAura("Curse of the Elements") or HasAura("Earth and Moon") or HasAura("Ebon Plague") 
               then "DMG":Color("07A9B0") 
               else "DMG":Color("D00000") 
     end) 

     (if NumAura("Improved Scorch") > 4 or NumAura("Winter's Chill") > 4 then "MCRIT":Color("07A9B0") 
         elseif NumAura("Improved Scorch") > 1 or NumAura("Winter's Chill") > 1 then "MCRIT":Yellow 
         elseif NumAura("Improved Scorch") = 0 or NumAura("Winter's Chill") = 0 then "MCRIT":Color("D00000") 
     end) 

     (if HasAura("Faerie Fire") or HasAura("Misery") then " HIT":Color("07A9B0") else "HIT":Color("D00000") 
     end) 

     (if HasAura("Immolate") then "IMMO":Color("07A9B0") 
                else "IMMO":Color("D00000") end) 
end]
This should work, going to test!

[edit]
WORKS! YAY!
Added a space behind all words so it won't get clustered. Thanks for the starting line, rest came from there
[/edit]

Last edited by Emy : 04/06/09 at 1:36 PM.

Offline
Reply With Quote
Old 04/11/09, 2:09 PM   #562
YttriumIRL
Glass Joe
 
YttriumIRL's Avatar
 
Blood Elf Mage
 
Frostwhisper (EU)
I am rather new to DogTagging and as a result, I am proceeding to fail on seemingly the simplest of DogTags.
My target is to get my bars to look like the below, but if my health is at 100%, I want it all hidden.

17832/18941 | 100%

[(Status or FractionalHP(known=true) ' | ' PercentHP:Percent):Hide(HP = MaxHP)]
This is what I have currently, it shows what I want it to show, but it does not hide when I am at full HP. I have tried a few others too but to no avail. Any ideas?


Originally Posted by Creamsickle View Post
I need a dogtag for player and target unitframes to show exact HP when I mouseover only, otherwise only show Percentage. Thank you!
[if IsMouseOver then
    HP
elseif HP then
    PercentHP:Percent
end]
Here you go.

EDIT: Thank you very much Bobcat it works a charm

Last edited by YttriumIRL : 04/11/09 at 6:52 PM.

Offline
Reply With Quote
Old 04/11/09, 5:44 PM   #563
Bobcat
Glass Joe
 
Bobcat's Avatar
 
Night Elf Hunter
 
Ravencrest
Originally Posted by YttriumIRL View Post
I am rather new to DogTagging and as a result, I am proceeding to fail on seemingly the simplest of DogTags.
My target is to get my bars to look like the below, but if my health is at 100%, I want it all hidden.

17832/18941 | 100%

[(Status or FractionalHP(known=true) ' | ' PercentHP:Percent):Hide(HP = MaxHP)]
This is what I have currently, it shows what I want it to show, but it does not hide when I am at full HP. I have tried a few others too but to no avail. Any ideas?
This should do it:

[Status or MissingHP>0 ? (FractionalHP(known=true) ' | ' PercentHP:Percent)]

Offline
Reply With Quote
Old 04/13/09, 8:19 AM   #564
Zyrqueda
Glass Joe
 
Gnome Mage
 
Zirkel des Cenarius (EU)
Originally Posted by Dankz View Post
Torment the Weak

Trying to write a dog tag that would would let me know when a boss does or doesn't have a snare. Here's a list of snares that work on Bosses:

Warriors: Thunder Clap
Paladins: Judgements of the Just
Druids: Infected Wounds
Death Knight: Icy Touch

In regards to the Palidan's Judgements of the Just, from what I can tell it doesn't show an actual debuff, its just included every time they judge. So it might be imposable to include that.

I's appreciate a little help to get me started.d
This works fine for me:
[if IsFriend and HasMP then
    FractionalMP
elseif IsEnemy then
    (if (Classification(unit="target") = "Boss") or ((Classification(unit="target") = "Elite") and (Level(unit="target") > Level(unit="player"))) then
        (if HasAura("Erde und Mond") then
            "SP":Green
        elseif HasAura("Fluch der Elemente") then
            "SP":Yellow
        else
            "SP":Red
        end) (if HasAura("Elend") then
            " SH":Green
        elseif HasAura("Feenfeuer") then
            " SH":Yellow
        else
            " SH":Red
        end) (if HasAura("Frostfieber") or HasAura("Donnerknall") or HasAura("Infizierte Wunden") then
            " TtW":Green
        else
            " TtW":Red
        end)
    end)
end]
image:



Though i put this piece of information within my target's powerbar, it just shows on bosses and elites.
first: Spellpower-debuffs (Earth and Moon, CoE)
second: Spellhit-debuffs (Misery, Fearie Fire)
third: snares (Icy Touch, Thunderclap, Infected Wounds)

Just replace the aura-names with the apropriate ones.

Offline
Reply With Quote
Old 04/14/09, 7:45 PM   #565
Mägnus
Glass Joe
 
Mägnus
Human Paladin
 
Quel'Thalas
Hi, I need some help with two Dogtags. The first one is about announcing when my target is below 20% hp, you know, hammer of wrath, I'll like to have it directly on the target frame. Also I want to know when to judge as holy pally, I mean, when Judgements of the Just are fading. I tried everything but I failed .

This is what i got so far:

[Outline][(if IsEnemy and PercentHP < 20 then
"H":Yellow
end)]

[Outline][if InCombat and not HasAura ("Judgements of the pure") then
"J":blue
end]

Last edited by Mägnus : 04/17/09 at 9:05 PM.

Offline
Reply With Quote
Old 04/21/09, 2:02 AM   #566
Lust
Von Kaiser
 
Human Paladin
 
Laughing Skull
I just started using dogtags a little bit more and I would like to know how to modify the following dogtag to display <YOU> in red when I am the target of my focus.

[Outline][Name(unit='focustarget'):ClassColor(unit='focustarget'):Angle]

Offline
Reply With Quote
Old 04/22/09, 8:36 AM   #567
Gerronimo
Von Kaiser
 
Night Elf Druid
 
Proudmoore
Dogtags for my HoTs only

Anyone know if it's possible to create a dogtag to distinguish between my HoTs and those of other druids?

Reason being I'm trying to recreate the self-only functionality of grid while maintaining Pitbull_LifebloomBar for prettiness and to eventually work in some nice icon displays. So Grid functionality with Pitbull aesthetics.

Earlier in this thread a rogue (not sure who now) used a combination of HasAura and AuraDuration tags to distinguish between self casted buffs and externally casted ones. Since you could only see the duration on your own buffs, the AuraDuration tag would only return a value if you casted it.

I tried this tag out tonight and it shows a HoT counter fine, but since 3.0 and seeing others' durations it no longer distinguishes between mine and friends.

[if HasAura('Rejuvenation') and (AuraDuration('Rejuvenation') >= 5) then 
   AuraDuration('Rejuvenation'):Floor:Green
elseif HasAura('Rejuvenation') and (AuraDuration('Rejuvenation') >= 0) then 
   AuraDuration('Rejuvenation'):Truncate(2,nil):Red
elseif HasAura('Rejuvenation') then 
'swiftmendable'
else ' '
end]
Also- what's the proper way of returning a blank? Instead of my dodgy ' '.

I'll eventually work in icon border highlights and fix the function return to show 2dp when sub-5s, but for now you can get the idea. Any help is much appreciated!

Offline
Reply With Quote
Old 04/22/09, 5:47 PM   #568
Crankshaft
Glass Joe
 
Tauren Druid
 
Black Dragonflight
Originally Posted by Lust View Post
I just started using dogtags a little bit more and I would like to know how to modify the following dogtag to display <YOU> in red when I am the target of my focus.

[Outline][Name(unit='focustarget'):ClassColor(unit='focustarget'):Angle]
[Outline][(if Name("focustarget")=Name("player") then "<YOU>":Red else Name("focustarget"):ClassColor("focustarget"):Angle end]
That should work.

Originally Posted by Gerronimo View Post
Also- what's the proper way of returning a blank? Instead of my dodgy ' '.
If whatever then whatever else nil end


Any workaround yet for tracking only our own debuffs? AuraDuration's no good anymore.

Last edited by Crankshaft : 04/22/09 at 5:50 PM. Reason: Syntax

Offline
Reply With Quote
Old 04/22/09, 6:23 PM   #569
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Crankshaft View Post
Any workaround yet for tracking only our own debuffs? AuraDuration's no good anymore.
None that I'm aware of. You might be able to hack the DogTag library for it, but I found that putting a hot-tracking tag on my unit frames wasn't very useful, as it would substantially slow down tag update time, and I'd never have a good sense of what hots were up. Might be able to get around that with a good processor, but mine's by no means bad.

United States Online
Reply With Quote
Old 04/22/09, 6:56 PM   #570
Gerronimo
Von Kaiser
 
Night Elf Druid
 
Proudmoore
Originally Posted by Crankshaft View Post
[Outline][(if Name("focustarget")=Name("player") then "<YOU>":Red else Name("focustarget"):ClassColor("focustarget"):Angle end]
That should work.

If whatever then whatever else nil end


Any workaround yet for tracking only our own debuffs? AuraDuration's no good anymore.
Cheers. Was a brainfart moment.

I can feel myself slipping closer to Grid with every passing minute.

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[DogTags] - Share yours! Fulnir User Interface and AddOns 164 03/30/08 1:30 AM