Looking for feedback on my first public WA please. Performance, Readability, Display,
etc. Open to all kinds of feedback.
Wago.io is a database of sharable World of Warcraft addon elements
24 messages · Page 1 of 1 (latest)
Looking for feedback on my first public WA please. Performance, Readability, Display,
etc. Open to all kinds of feedback.
Wago.io is a database of sharable World of Warcraft addon elements
That is indeed a way to display cast time.
Display
is subjective
Performance
you calculate it on trigger update, which is just an empty buff trigger
Cast time changes when your Haste changes, or for some spells depending on some class buffs/debuffs (which I don't know for Warlock)
The way to do this properly is via a custom trigger that listens to those Event(s), grab the cast time in there, and then put it in some state field and use a dynamic text replacement to show it.
That's the event you need: https://warcraft.wiki.gg/wiki/UNIT_SPELL_HASTE
Thanks! What exactly is going to cause the UNIT_SPELL_HASTE event to fire?
I pulled up etrace and it seems like it fires any time my spell haste is affected by something, for better or worse
Something like this is what you're describing?
As it says on the wiki: when your haste changes.
And when your haste changes, so does your cast time. So that's obviously the time you should recalculate it.
!starterkit Not exactly.
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
The WA GitHub wiki is linked somewhere in there. It explains custom triggers.
And you shouldn't listen to UNIT_AURA. If you have buffs that affect the cast time, instead make a buff trigger for those and watch that trigger:
!watched
it says Needs summary for me.
Here, someone requested basically exactly this thing in this discord months ago and I made it for them: https://wago.io/qtr9BHjWk
It updates the displayed cast time on haste update, and when they gain or lose the one buff that affects their cast time (heart of the wild in this case)
It's a very simple "legacy"/non-TSU custom trigger. You could get more fancy with it, but it does the job.
Huh, indeed it does. But what I mentioned is when it fires.
Thanks for the resources, I'll read over it and try again later!
Cool if I dump some screenshots in here for my own use later?
Uh, idk. Why not just store them on your PC? This is meant as a place to discuss your aura, and some contextless screenshots would kinda derail that.
Then again, no rules against it. I personally don't care.