DogTag is not PitBull specific. In any addon you might want to integrate the PvP icon (or other icons) into an arbitrary string, instead of relying on custom frames, and trying to align these frames with arbitrary text.
I realize it's not addon specific and only a library but so far I had only seen Pitbull and Cowtip as using it. As OttoDeFe pointed out there's a few other addons that use it that I was unaware of. Thanks.
Am I missing something with all this PVPIcon talk? Pitbull already has a PVP icon so why is it needed in Dogtag as well? I know other addons could use Dogtags but aside from Pitbull/Cowtip what else is there?
I think you're asking for more than Pitbull was designed for. Your best bet is to get a separate addon designed to track your HoT's. Try HotCandy, HotMon. I found them in the WowAce addon list but I'm sure there are more out there.
I've recently switched from X-Perl and have found Pitbull to be much better. There are a few features that I absolutely loved in X-Perl and cannot duplicate, though they seem possible. Something that does this, but tags that actually exist:
[if Casting then
I tried using CastEndDuration and CastStopDuration, but nothing would appear at all until the person started casting, which is obviously a problem if you want to know the name of, say, a rogue.
So...is this possible? If yes then how can I do it?
I don't think there's any actual [Casting] or [IsCasting] tag. All of the casting tags are time related (when it started, how long, delay time etc...).
[CastStartDuration? CastName! Name]
Unless there's a way you can be casting but not have a start duration this tag should do what you're asking for. Let me know how it goes.
I was hoping to get some help making a tag that will do the following.
For my target's health I'd like it to show a percent for every mob/player *unless* that player is me, or I am in a group with that player, in which case I'd like it to show their max HP when they are full, and their missing HP when they are not.
I had a working tag for this in an older version of dogtag by using SureHP and never installing mob health which would just give me a percent for everyone but me and group members. However it seems like mobhealth is integrated into dogtag now? I'm always getting a value for HP using various tags.
Is there a check that will see if the HP of a unit is known to me?
Any help would be appreciated.
Pitbull now comes with LibMobHealth which tracks health on units, like MobHealth does.
The new SureHP is [HP(known=true)]
You can try this tag and see if it does what you want:
[IsFriend? (IsMaxHP? MaxHP! (-MissingHP))! PercentHP:Percent]
Only problem is I can't figure out why the % sign isn't showing. PercentHP:Percent by itself works fine but in this tag the % wont' show up.
Using PitBull, focusing on party and raid frames ATM.
I have all the strings inside a text field called "Buffs". When I tried to add another field called "HoTs", nothing happened. Am I suppose to gain another text field just like "buffs" to enter custom strings?
So, the steps become:
Party (or Raid)->Texts->Add Text field
1. Under Buffs: all my static auras (Mark, Gift, Thorns, etc), as well as HoTs duration >6sec, >3 for Lifebloom
2. Under HoTs: all my HoTs, with alpha manipulation (HoTs flashes if < 6sec, Lb flashes if < 3sec)
Almost but won't work because under HoTs you have both flashing and nonflashing. You need a 3rd text field and to split your flashing/nonflashing tags up. Something like this:
1. Buffs: ....
2. Static HoTs: all your HoTs when >= 6sec, Lb >= 3s
3. Flashing HoTs: all your HoTs when < 6s, Lb < 3s (Alpha tag goes in this field only)
I was able to get Lifebloom to show stacks:
L(1), L(2), L(3)
Would still like to know how to let it flash when duration is <3sec
Or, is it possible to add the count down?
L(1:6) L(1:5) L(1:4)...
Are you doing this in Pibtull or Cowtip?
You can't have flashing and non flashing text on the text field. To get it to flash when < 3s you need 2 separate text entries. So in Pitbull you need to add 2 new texts fields called say 'LB Flash' and 'LB Static' and in Cowtip you'd have to put them on separate lines.
Then for LB Flash you use the tag you have above but only the part for < 3s.
For LB Static you use the other half of the tag for the static portion.
I'm a druid too so if I get a chance to login today I'll test it and post some tags.
Ok guess there's no maintenance today. I tested it and these 2 tag sequences work. Shows L(#) static if 3s or more left, and flashes if under 3s left.
I'm sure Ellipsis will correct me but in case I'm right...
Since Alpha applies to the entire text you'll need 2 separate texts. One for the flashing condition, one for the nonflashing.
[Alpha((CurrentTime * 3):Sin:Abs)] [HasAura("Lifebloom")?(AuraDuration("Lifebloom") < 6)? "LB":Color("33aacc")]
[HasAura("Lifebloom")?(AuraDuration("Lifebloom") >= 6)? "LB":Color("33aacc")]
Put both texts on top of each other. When Lifebloom has < 6s left it should flash (Text1) otherwise it will be solid (Text2).
And yes you can detect how many Lifebloom stacks. Eg:
[(NumAura("Lifebloom") < 3)? "NEED MORE LIFEBLOOM!"]