#Cast trigger frame glow

18 messages · Page 1 of 1 (latest)

empty ember
#

Hi all, I'm looking to add functionality to the following weakaura to add a glow when a player successfully casts an indicated spell (in this case, Combustion, so I can differentiate an SKB combustion buff vs a real combustion cast). Any thoughts? I've tried to simply add a combat log cast trigger, but couldnt get it to work (not sure if that just not the correct way to do it, or I just suck and messed it up).
https://wago.io/tdOwtYbH2

Wago.io is a database of sharable World of Warcraft addon elements

nocturne solar
#

Don't use that Aura.
You'll need a custom trigger, catching the combat log event in question and adding a valid unit to the state.

#

!starterkit

desert otterBOT
nocturne solar
#

!CLEU

desert otterBOT
empty ember
#

I'm pretty WA stupid, so its hard for me to create them from scratch, but can reverse engineer fairly well. is there a similar WA that you would suggest looking at to that I can use to build this one better?

#

or likewise a building block i can use?

#

Ive tried to follow the custom code block youtube in the past and didnt get very far...

nocturne solar
#

!WA:2!1vvZUTTrq4O6dbGOiivhCARtbisbsTrZHM4whGcyuyktfRczjxkQ6uuuqVK7qXTMAxIDxAlLIErOh6z9iOZ9KEe6HEMWOpb(rWpbzwszzRw7f2sZUZSZpF73mQwZ6dRtRt)ZVqkY1Pmoi723VDRoUErIuH87xdxzFjLPYsjJ9Hr6GyHCirhKfOzdHa6yozilkqNibvIiLo(cvcHko)N6ghRa9tFWCcpkripsW46WgUD8D9YSVFhwTRw2JJYvAXqJf9ZOen4bNbC9LKC8uIMfDmJQtC2d3kjrAMGR2XtPjsDtjvemivC(jtnFgOhNbEhXgbPxvUpwsW4yoDA)oT8B6T3HUZl1u5hhSoo3HXzARWy8lvY6xMWOqajnT0VQtMOLSbdaP6rpxUq8FCmEmSkRVuLhwMU9YJJzJMh0yVE(b983ZZVWk8aGKQtwAZrsaTXR3rUTB7KJHn0anGCIkdstBrvwfpD0h8zX58Y0BtmnW6udQxyhCR)uICze8M(T2)A5oyDUQnlSS0V7VLLnUyX29Xy6oIP0QnV5IBzt40Rn1E3DTF5l3zNx)v26eGxErZkversTn58YJW3p7CBg3(49cAPbjMOVb5wzhcddraBZTSPILgFReWK4BMVLjs3ujRgTRxM4zVRD()trOeiNUYPaNADxYlXWF(MG9lOp)TvUTHiGhQL5WlwrrucHpaO3PURZo8RvvqZrWaFarLBVQgdN(aKHTWFl197lLwkibDUKFJzMIc)FEfVRKvpVSYYRAAIsGOtlS8WUuqzvr4uzpPrB3(FBjJBb1SFJgU96nJcHiJ1h9I8a32h1SF7P58fmCRSpY0GCg4xT)qbf(RhK9S7VxEOGgyiaNCf27dsoj9hrkacbNoLWzdlrJDkEuZInC4co83arb90sGpqN8WlUgVklkPcIeCQAIXgt(vSTZqcJJ3Ty7IV(HfFtXofVgfFY)9eNybxN94Ms27S)HCcfDkX23Fg2(5bdmZn(01l24cCBij60bixLtDsfeAthf7DW6EdZt1mlhSviA9IVZYlkLOugPqnjfHtJ4etq6HM)jlg)92QXFRntwgdtg7OresoQsrTSNF)4wkmGenoioviKjzF(9ByMeIygaDTSnUtRQe8mgtNHtzaA5yZ)4dNFlZRBl)vK(WIh702TP)mTi6SQ3PpU2jbpJr96aNBV9KZfs6Xss2KJximVCuk(IHq6AxvnNVP5it5g2RHNRBNxLZOZDYoTXXTI97UPti(mgZgyjhVaiUaz)496Mvod3AEf(1O8xFQvR2AZmV7Sfkz8Qkc3znvbPXv)SItxF)Uhwx9Q9HZQF2)(23p

#

Adjust the spellID and duration

empty ember
#

❤️

#

If you were going to track several spells, how would you do that? just ORs on the spell ID? got it =]

#
function(allstates, _, _, _, _, sourceGUID, sourceName, _, _, _, _, _, _, spellID)
    if UnitExists(sourceName) and spellID == 1 or spellID == 2 then
...
empty ember
nocturne solar
#

Once you're getting more than a couple of spells you'd want to make a table in Init like

aura_env.spells = {
  [190319] = true,
  [42650] = true,
  [31884] = true,
  [288613] = true,
  [193530] = true,
  [265187] = true,
}

Then in the trigger you can handle all of them with if aura_env.spells[spellID]

empty ember
#

Id like to start experimenting with custom options for it too, so that way I can check spells on and off i want to see/dont want to see

#

but that may be a project for a different day