I've been working on a textbox to display my debuffs on target
I've gotten the box and gave them all a new line to appear on, but if a spell isn't cast the line is empty, and I'd like the buffnames / timers to grow up.
Simplified visual example:
[(if HasAura("Spell1") then "Spell1 " AuraDuration("Spell1")]
[(if HasAura("Spell2") then "Spell2 " AuraDuration("Spell2")]
[(if HasAura("Spell3") then "Spell3 " AuraDuration("Spell3")]
If I cast all 3 spells it works beautifully, tho, if I only cast spell1 and spell3 it'll display an empty line in the middle.
As such:
Spell1 Spell1Duration
Spell3 Spell3Duration
I'd like it to grow in such a way that if I cast spell1 and spell3 but not spell2 it'll display this way:
Spell1 Spell1Duration
Spell3 Spell3Duration
I.E. every new (if HasAura) should just take the next possible line, preferrably growing upwards, instead of their 'assigned' line...
Is there a way to get this done within one dogtag?