Im trying to make a WA group that tracks how many thirsty patrons that are still active on the first boss in cinderbrew meadery. Since they have no nameplate i tried the multi target option, which works, but after 1 minute the wa stops being triggered even tho the buff is still active on targets. How can i make it stay triggered until all the buffs are gone? 🙂
#Multi Target Trigger question
53 messages · Page 1 of 1 (latest)
Multi-target uses combat log events to guess at the status of things.
The trouble is that combat log events alone can often be missing important updates. Like a buff application occurs in your combat log, but you never get the removal. IIRC WA works around this by removing states that haven't updated for a minute.
If combat log events really are good for this use case then you'd need to recreate the trigger in code.
I would think it's the best way to do it ye, initial thought was to just use a simple nameplate checker for the buff but the mob in question does not have one. Boss is just perma channeling with no buff/debuff to track for this either. Players picks up beer glasses that gives a buff that clears buff from mob, but it is lost if the player dies so prob not ideal to use that.
Would this custom trigger code be advanced? can't say that i know how to write that stuff from scratch.
There might be a way to enable the nameplates too. Could look in to that.
Otherwise, it's not that complex but depends on your level of experience.
!starterkit
Click this link for lots of useful info and links for anyone wanting to get into making custom Auras:
https://discordapp.com/channels/172440238717665280/413380679410384896/718441153267236865
!cleu
https://warcraft.wiki.gg/wiki/COMBAT_LOG_EVENT
function(event, timestamp, subEvent, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, ...)
You can use this Aura, https://wago.io/CLEU-IN-ETRACE (works fine in all game versions, not just retail), to add the detailed info into the Etrace tool.
For more info on Events and Etrace see #pins message
they do have nameplates, but they're hidden by default
they pop up for a ms when they do their throw stuff
so yeah, you can probably look into forcing them to always show
How would i do this? I know how the friendly nameplates can be turned on/off simply in plater but not sure for these kind of enemy plates
no clue what's special about these nameplates there
look through plater settings or these: https://warcraft.wiki.gg/wiki/Console_variables
Tried to look for something to make them visible but found nothing. Seems like a custom trigger is the play but i couldn't manage to find anything similar and i just don't know where to start, i get that i need a trigger for combat log event but that's about it
I just tested it out with /etrace on, these are forbidden nameplates
it fires FORBIDDEN_NAME_PLATE_UNIT_ADDED for them
which explains why showing them won't work I guess
here's how you'd do the custom trigger:
https://wago.io/SC-wg4zqr
works just fine
Yuge man, big ty!
Just trying to understand the code and learn abit, in function u have "(a,e,n,s)", im assuming a = allstates and e = event but what does n and s stand for?
!watched
Trigger number and triggerstate, since I'm watching 2 combat log Triggers there (spell aura applied and removed of that thing)
I see, so that function could say "function(allstates,event,number,state)" and still work the same or?
Well if you rename the rest appropriately as well then yeah
How you call the parameters is up to you
Could be poop, doggy, piechart, mikerussel
ah so even if my code would look like this, it's still does the same, but my question then is how does n / doggy for example know that it is a trigger number?
well piechart here would be the trigger number
ah yee
wrote wrong
Im thinking it goes on the position in the function, so function(1,2,3,4) 3 is the trigger number and can be called anything
yes
Makes sense
oh and one final question, when u do a[" "] and s[" "] what does that mean?
!vdt
https://github.com/brittyazel/DevTool
Dump tables there with DevTool:AddData(table, "title")
a and s are tables
in Lua that's a way to refer to an entry in the table
in trigger state tables provided by WA (so here: s): if they only have one subtable (a non-cloning trigger), that ones key is always just an empty string ("")
so it means nothing specific, that's just how the place where the data I'm looking at is called
and I got into the habit of keying my own tables like this as well, hence why the allstate table entry I create is also just an empty string ("")
but again, it could also similarly be
if not a["SuperCoolTableEntry"] then
a["SuperCoolTableEntry"] = {
stacks = 1,
show = true,
changed = true,
}
return true
end
Do i interpret this correct, if we are not using a allstates subtable entry then we make one?
!tsu
Trigger State Updater is an advanced custom trigger type that allows for the creation of clones, as well as generally being a very flexible custom trigger for almost all situations. While it is complex, the wiki aims to be thorough so please do use it.
https://github.com/WeakAuras/WeakAuras2/wiki/Trigger-State-Updater-(TSU)/
This wiki article explains TSUs very well
Are my notes somewhat correct?
yes