#When Ability is cast question
36 messages · Page 1 of 1 (latest)
!customactivation
Required for Activation = custom
function(trigger)
return trigger[1] and (trigger[2] or trigger[3])
end
https://github.com/WeakAuras/WeakAuras2/wiki/Aura-Activation-and-Deactivation#custom
You’d run a 2nd trigger that’s for casting marrowrend and set the custom trigger activation function as
function(trigger)
if trigger[2] then
return false
end
end
Or
function(trigger)
return not trigger[2]
end
Alpha 0% doesn’t remove/untrigger an aura, it just makes it have 0% opacity while still remaining on screen
Unsure where put all this information.
This is the current WA
!WA:2!1v1sZTrrqyl7ctHWhSvOmo8WLifjfHdPWgIjffV8Qiv2GIKzxfC40Qz3zK2HS7mJNzw9ihieFkN1DUOZahuv8hWh48wQO4gx8pbDKlqp7UsUcy7dE7UNVUNVUNUBvOwPOs4s4NF7XuFoZHhl9jfMGWFFSstWpany5luOSLLdB2PJIObim)aU8ioLP9QuTrRQ2t958qmVpZPpvqcoBUAvCxsGLj8TpvlPD7sKQTVLmx8pT0dfeBuSeT75Qypspct7e3PdDWe3k770Y1P1(2TgJjEGXwaw5bvRFuThw3ofQ3beuOoyHRhjjGR2ohvTEDBgkIOkAfZOApriAirEQsqcdpeRkolwrQoa5RDYS0EIKe1ecpsZLL(0DbTsF0zgEL6cfREd77TZU3DppWrBsu7rXS8CO4TsE1FFCkSkCWAPDswZov9CaR7fh0wSHXqxcJiP(ob8(nzTN(cQJvWN9d7JgQsE9KTMUianGCPDY6jBmYyslr(pUDsjX1RKxMlFKK3vsuQYVxAgDBX1U4ID55j2n(8pB0IWT1Y)nlPCrXgqvG2J0klBEaht(5LMbpSejdf(TWZfLZ(PZf5XpRj59FRLwEKIe2jTfizv4bsH0q1stcgdpg2KUGxQpzZK1McQEaD7kbQGF(BkkPjd0UQaeW7hL3qnk1M5F34Mcr5fAUD4YiK2v4QPre3io21ChTpplgxqaX1sTGI1Cap1)ykwhyTpOollo0beCQXNjE3Rk8HKUi)HUDc5CzWzPamn)0odHmuY1Wn3cmA1OzJQtZgb(U8eixDE(CP3bM4tJqHUcjiyQQfswtcvhdkX7CvKAb6vgNEQppKl)QvG)gLJMPfRxtsFs5VjgHHYdQCRwIRFjXltWRrCKhr(cVdZtdX2xfnY0kmn9O(Cj(yjsC6X5czfREap9cjTfRN9yCXsIKvNUGSMP4ZADWHv(6MpSv9dBunhEgtQKMEfkuyLl8WH(eYnf3(QOgEimPt9D1bqdAampmu82xc20(p309nPVWDswBKP3esbICs2hxfCvV0z5k5L6ch8f)62B)LlT0sRCE(jZZ05UrGTCInCojgjjLRfhgw(4aQMmn)yEw11lGq7gOhAfYr4AEAuiSYAt7O4qnTOfmy6VzIBrB)qKszKSmSXiiwhM63pFtC6I5Gzzv3Asys2ur9CQyxTAJ)lsklySmDy0ak5v2nMINCI3hw)euDj9J7nHYYkqaIIJHT0yQruvuA2kac7zR0iPUOxhkJQckAbF0ahx0fkhK37y9eopQWKogg5On9Hqhl3Vx2gKTk8l)2nO4zwCgPStaLeIlFF7JTrHIa0kIsaTNVldwbzBwKy33mVou8AZ)TeZW39Pkeu5XbEaz7q7wuszMRGemfg(HkstrwcmcXOz51Ejr1oJGugwryD1bVCYAwmGhtXMnwaI0UcigM8xDQbAA16PwrikRwYpaoK80KFm5zjNcF)FwMGPkZpWCi4)wR(p)1PZjCWShtiI9nVSABZnfus5D37SZ9UZhuQ3F8O)9p
Do i need to add trigger - spell - Marrowrend count >=1 then add theses triggers?
You’d add trigger > combat log > spell > cast success > Marrowrend
Then you’d set the Trigger Combination at the top to Custom Activation and then you’d use either of the 2 functions I posted earlier
ok i have done add trigger > combat log > spell > cast success > spell i.d 195182 Marrowrend.
then i have done Trigger Combination at the top to Custom Activation
then i paste in the custom function(trigger)
if trigger[2] then
return false
end
is that correct?
first two images work - <4 Dancing Rune Weapon time left - i cast Marrowrend and the weakaura is removed then the Dancing Rune Weapon time left comes back and gives me a bone shield inf.
Right
first 2 images is what i want the WA to do
And the latter 2?
Can you show a screenshot of your triggers?
I’ll have a look at this more tomorrow unless someone else will have a look before then. Curious where the inf. is coming from because it shouldn’t be from any of these triggers
cheers
to get rid of the inf, change the text in display tab from %p to %1.p
!WA:2!1vvtVXrrtyVXcS0ioKSbC(aiEJdj6nGue2KesqWlS7M1Yg2yBMznoiu0S9mDp70jZ2DNU7X2BUHpLti0QWhxGd7zGdRe)b8VGwR4kx8b(b4)aq1ZmR38HTL8oDxDvvx1t)uvvAPYDlJlJFYvhqd5mpEQmKuYnKNWLF(0WFdr4hKQ0e8Dr7CIjBOSti7TwuKIOlneXcJ5Y15uMoOEJvB1WDuiNNG5BZ82MkiX7nEBdChsCn7n1ExTK2PdrQ(1Rilw(plkjDlF9dsvKg7Gc1EcssYk42bGaxs32J6I0HXeLxmF71y7PY(unut3coElcC7ltqj649vPbz7xxsIO746TEJMnRLYO6arcQhr6YqDjkNDv5xGY5ql8sJalg6xVQxlFVwvDBneIP1eejsZLL)49qPsuMzuS68U3AHfVXnRP7jiU2dwCaMeaEOfiqUCJMRV0gn7NYkspNRyETNC6bzwxNdIlVWUyWknLZkF9rDimIKgMNCdSjx1KTr9uMZ6yUOzEZC9d5Ddq6eEhZ5hveHBuVEdpV9baYFIFBlo9Kn(8IGF())NykpOEMpQ0K3PV1iTef(W2MznNz0H(yvaCABoNtUxZyeBayxBZRBEdXPScFUqT9Gj6yot)dDX5LlC7BSWTwSI5sodXu1dszzpvbHafI3vuo)BRCWbciAO42rzkXz)p9vDOrv0FZc3VcIHRW4AyZI3VIoMWCKeDQKvrltjoeg2(V4uOmVx4U7YXKFBQdagjrYqjFfWZaV(l7lK8osIsLt0F33AQt0xrsIY4UMzGNpfsBFsiXdakHlPdyL6JM1m3iyBaGvDKaOIFYffL1KD0(QyeWRVxrLq)mz2FQD5fUMqCYNrN6zLuLkvA6dYKc0mcEtkwh)TIkhANFexcSCFWAFnTlPyFjX78sQuOqcPdkSNFucNlJhi5Ai4BzJGvxB1ghPzysiTlkXxiHfwyP0GmfMu0)Cj3xxKCJYKTnxI3uIe7UzXIrfoNPTS(9AT8k1)I12OvZvwTXKJ8OpMCzXvpUCa3dkiPH(6y4TjgAv0t82hHUzqVFw1ww6kUYXJBphSio3r4T8fbRM2nGi3ppHNqfeNotckfOOqfAy2lvTQW2r5T7gdlI5p(GOlh7BjtTfx64v6WNHPnZjbwMvP(hICItUKK(4kFzkcdEcvPvlX7D8(6LbY9Y0Bl4ccsG44Ih3tWKOOG1(mn1nZuKZJ55I38idH8LUw)Hpco9lbkx44uPG0Nh72jo0OEMzIGwG2QqG4rKdZ)4RaM1RSxXMcgCPL)0)4cx4ZMAQPME)ItgdaJnJadIeNY7rPijPYsPjjv2mMQjJkoMNNNbXeANyDVAjCeEPA27Aw3UPjAQtnOpx4SgLJBycsPSRc0OeyeIDP4KqBYQfdlZMDg)IIOmOAnR)ITUX4mcOAaeVMW2(dMnnEKzST3PDS1kWuZZ(Q)7Fl3P4viaeer74u7XCE3sIxFSf2Q)7qviiFXXhK)YTKe6iBVOaV6UnAS6anpCR8MINT0V)NZtXhuJZiv8IPKeCL74UPOmeV1lCj0o112uCyK1pEAlvCA3TT1e9CrjIy00lMsXdFuWh08rOMs6hULKYSxaj(GhsiIQw4s7AN1flrzT4v30vPrsTtnkm5Wjic(OIDgazfMMdcdPSCQaSZPpIrZxEtZ3TKzUAmiG3JGu24HW6OJNz04XPznjGl36l1UwDYa5NwRlIYaBnp18dZy(rZpz(zy53)IskRcUX1w4wx79lV1FDV)7d
this does what you want it to do but I don't think this is the most optimal way to go about it.
ok thanks for the help