I wanted a tag to show what my target is casting,
excepted if this was a deaden. So basically I tried this:
[CastName ~= Text(Deaden)]
The problem is, it's not working and the text "persists" after a cast. For example, if I target player Lambda and he start casting a Soulwell, the text "Ritual of Souls" will stay in the frame as long as I don't select someone else and he don't cast anything else.
Do anyone see what I'm doing wrong here ?
Something else: I would like to have a tag displayed on my raid frames, but only if my current target has a given name. For instance, I would like to modify the following tag to be shown only if my actual target is Naj'Entus:
[CurHP:IsLess(8500)?Text(DANGER)]
Do anyone know how to do that ?
[Edit] I may as well share some usefull tags, while I'm at it...
Here are the basic versions of the tags I use on
my UnitFrame to show whenever I can Life Tap of Dark Pact without "overgaining" mana:
[MissingMP#player:IsGreater(1800)?Text(TAP)]
[[MissingMP#player:IsGreater(1800)?CurMP#pet:IsGreater(1800)?Text(PACT)]:Red]
You will have to change 1800 by the amount of mana you would gain from those spells. I'm actually using a much trickier version of this, using a custom tag to replace 1800 by the correct value depending of my stuff. I'd gladly share it but I didn't really understand how (and if) you are supposed to share such custom files using the wowace repository ?