I'm attempting to create the raid status DogTags that I had prior to 2.4. I'm running into trouble, though. The tag should display any non-paladin buffs (abbreviated in a way of my choosing) that the target is missing, but when I try to throw multiple buffs into the tag, it breaks. Here's what I'm talking about. This works fine:
[[~HasAura("Prayer of Fortitude") and ~HasAura("Power Word: Fortitude")] and "F":Color("ffffff")]
It displays an "F" if the target is missing fortitude, just like I want it to. However, when I try to combine Fort and another buff (I'm using mark of the wild here as an example):
[[~HasAura("Prayer of Fortitude") and ~HasAura("Power Word: Fortitude")] and "F":Color("ffffff")] [[~HasAura("Gift of the Wild") and ~HasAura("Mark of the Wild")] and "M":Color("cc0066")]
This doesn't work. If the target does not have Fortitude or mark of the wild, it will display the "F" and "M" correctly. If the target has fortitude, however, it will display nothing, which is obviously not correct. Lumping both tags together into a single tag changes nothing. So I'm wondering if I'm doing something wrong, or if I should go to the library forum and put in a bug report.
I'm wondering if the tag parser is getting to the Fortitude tag and then stopping after it finds the fortitude buff for some reason - I haven't gotten a chance to test this with no fortitude and mark or gift on the target. I just tested to see if the ordering of the tag made any difference in what is displayed. It does not. Whether I put Fort or Mark as the first tag, there is no change. Based on this, I'm assuming that if the target had just MotW and not Fortitude, it would not display anything either.
[[~HasAura("Divine Spirit")?~HasAura("Prayer of Spirit")]?Text("Sp"):Color("ffff00")]
working fine under 2.0. So, that's the train of thought I was still using last night. I never invested much time into learning more than I needed to about the old system, but my tags worked, so it's kind of irrelevant to me whether I was doing it "correctly" or not.