Hello there. (WeakAuras 4.0.0)
I'm new to WA and I'm trying to make a WA (icon) to show Shield Slam ability CD/readiness AND to show Sword and Board proc instead of Shield Slam icon if the buff present (I don't want to have a separate icon for that).
Actually it works, but doesn't show the remaining time of Sword and Board buff.
The string:
I have 3 triggers:Code:!WA:2!1rvtVTrXB8ATu1QvnOgxAQsPc5gjIOCiknLgeiqvzZF7MuLAB2DtBbbYE2Dh7DAwpZWmZ6exrjPMl9SpWhaFMtw8jiFcgzH6hGCMt58FK4zgBN2c09WopZ882VNxluPyNIjftEzPHKygnGLlIX34CIdQ1QLeRki6nLyeIgNYe1zeQkAZYvdl7FCmJLLW2NwoPnovGIvegvUUVuHekxpcLOCJAbhYu3(kbPDBSqsxwmL8vEQECSVKJZYorMhH7IPQG8wTihmQXMBee2iiCd)q(85sCJ2ykwqIdsz7xJ203klFXnNcGs1fS2cSuw6tcmM7w(uuhS0DSaJYSVufUpkiLGZskfKH6m2yu5mon7Bj3or6o4ShV4pK7LdXqepd1dlg)wq4eP9ygaod)1fya)(b1lVZodtWrq4ecrPyRY7uVYU7miNon6DxwFPFvpN(91Z3uxuFf911FO(Q6f0xRPUK(M6BmAIh8XOKE6fbWOxYOZJ0Z5JYfO1gy(BdZRFAW(mrsjenPKhdjsm2sabOn0SwBj3rje5tZPqnQlEneThFEKLoCcCEilb)BN7uO4Ifuu2JGkfumjNUhgZ3asjXkFeuEthiXzTSnb6ZdXNePauOWPdHeGpUTPb4lxqp3y4AekEV2cwon5LxJFtf(avd7VwmrhKQbVHI0b3GlWXeJVC4l(VKroLWJYO4bNXEPpMZVS9MmfbP)nzzmXdkuOGZjtEDgg92y3WA8RyFeLRyGPiXpMKOs92aUE6eFroaNyF8fJN0K)Tt75p2Y)P5sfPvp951ZjGWY82qlJyRBDGVbtbn0tE5kcYZk9n5OeiVGkfgo(mE2gHA7gUZ2vlZl(g4FM)M6(Nm7QvetP9XceV)JNsmbvDHKwugU50eXBmDYNF7Qvl73WRwyyTh6V993kK)rVR0)KBf(pY98Pe(g5sEDueqEgEr(TExgmPh0tsIBOsH5Xuy6O3BfQZITxnUDgB)kc8pMJPX9Q)ERUYA3Dsc2WyK53mz7BUysEJJYvkgTwxSagjhAEEhmTTk9Qw5NLghyUmPNWzR79N)FZ3FT19(9pW(5CmmzC)zs00ZiCQvLGyug2XcSWus8EuyHIJLZoeGEERd9GQawKgLIjTtvyVmgkPINeskl43jptrC9mJllOrU(XziP0qfPaltvgYHc7uIjC8mBChd9LqLRg3U8090jfYkcy01ituWM(LlxT)SvTn9EgJ1PG)R79gQyXDNmUEXUF)sKe9cRLtsg9GQTIR3PA0)72sFugpf54VVPjhparjMbbgDD9fRaRGUZXyKehOe2C5fgNygPb2nm7NfsmGYezFJmgePVJxheHAvulVGwPZ1Dbs3)5lrGETiTDfeQbF40rTmrf4hyWWzOXQeBq)Dl7hNIJ3BD9LC63fjiiOX2ZS(ZVlklh7iItr02WIUL1hw3z1vUBFUGbqt1tZxw)tGENx)8r2f37knkRpSG(OpDM06xye7WMW5kG4va3SeJV0x916NFc(aozs0gcDV6dlEh9rw3anKF(unTAOFU(xa23EQMhndlFHrM1TG4cGm)S(qNOmcDpCsQ(i3re6KXdWbU6wnlk9)SvwDLvl29pEYFd
1. Shield Slam on cooldown
2. Shield Slam NOT on cooldown
3. Sword and Board present
Conditions:
1. if trigger 1 active, then alpha 50
2. if trigger 2 (not on CD) but spell usable = false (e.g. due to lack of rage), then alpha 50
3. and 4. are about changing alpha depending on CD remaining and is not interesting
5. if trigger 3 active, then icon source from trigger 3 (Sword and Board buff).
And it shows Shield Slam CD (changing alpha), shows if it ready, and shows Sword and Board icon instead of Shield Slam if I got the proc, but doesn't show Sword and Board remaining time. Any idea hot to do it?
UPDATE:
I made a separate text for trigger 3 (Sword and Board buff) and set its display text equals to "%3.p" and set it for the 5th condition. Now it shows the duration of Sword and Board too. I guess the thread can be closed.
Quote