TellMeWhen

TellMeWhen

24M Downloads

[CF 1520] Condition/Notification can only accept one unit - How to use with raid wide buffs

tmw-issue-import opened this issue ยท 3 comments

commented

Hey there,

 

I'm currently using TMW to track the number of atonements on the raid. This is working as I'd expect, however using [stacks] as the text output was always showing 0, so I'm using [RaidStacks("Atonement")] and this works perfectly.

 

What I want to do, is when reaching more than 10 stacks of atonement on the raid is to have a notification on the icon, lets say activation border. The issue is that I can't add a condition to check this because conditions can only accept one unit.

 

I also tried making a second icon and using a meta icon and using stack requirements on the second icon, this does not work. I can only assume because it always thinks stacks = 0 and I can't see a way to make stack requirements use RaidStacks instead.

 

Any ideas how I can make this work?

-Thanks

 

Edit: The import string for the icon:

 

^1^T^SShowTimer^B ^SUnit^Splayer;~`party;~`raid ^SSort^N-1 ^SType^Sbuff ^SName^SAtonement ^SEnabled^B ^SSettingsPerView^T ^Sicon^T ^STextLayout^S,ZS0IeuiUr]E ^STexts^T ^N1^S[Duration(gcd=true):TMWFormatDuration] ^N2^S[RaidStacks("Atonement")] ^t^t^t^SStates^T ^N1^T ^t^N2^T ^SAlpha^N0.4 ^t^N3^T ^t^N4^T ^t^t^t^N82302^S~`~| ^Sicon^^

^1 ^T^N1^T ^SDefaultText^S[Duration(gcd=true):TMWFormatDuration] ^SAnchors^T ^N1^T ^Sy^N-3 ^Spoint^STOP ^SrelativePoint^STOP ^t^t^SStringName^STimer ^t^N2^T ^SDefaultText^S[Stacks:Hide(0)] ^SAnchors^T ^N1^T ^Sy^N2 ^Spoint^SBOTTOM ^SrelativePoint^SBOTTOM ^t^t^SStringName^SStacks ^t^SGUID^S,ZS0IeuiUr]E ^Sn^N2 ^SName^SStacks~`&~`Timer ^t^N82302^S~`~| ^Stextlayout^S,ZS0IeuiUr]E ^^

 


Posted by CurseForge user KesaraED | Imported from CurseForge issue #1520 | Raw

commented

There are currently no ways to do what you're asking. The best you could do is color the text differently once it reaches your threshold:

 

[RaidStacks("Atonement") > 10 ? Green RaidStacks("Atonement")]


Posted by CurseForge user Cybeloras

commented

Thanks for the reply,

 

I've tried this and it will show in green once there are 10 stacks, however it's not showing any text at all until it hits that threshold.

 

Edit, had to change to:

 

[(RaidStacks("Atonement") > 10 ? Green) RaidStacks("Atonement")]


Edited Jul 21, 2018

Posted by CurseForge user KesaraED

commented

Whoops, sorry.


Posted by CurseForge user Cybeloras