#adding throttle

24 messages · Page 1 of 1 (latest)

mild vault
#

could someone please help me add a throttle to this weakaura? https://wago.io/touchofkarma
to ensure it doesn’t tank my fps but still retains its feature of showing the absorb amount on the karma-touched enemy, even without targeting him

#

something similar to this if possible:

white furnace
#

That is a custom option and you're in author mode. Change to user mode if you're not the author

glossy chasm
#

that aura also doesn't have any every-frame-checks

#

there's nothing to throttle there

#

what it does have, is an unfiltered CLEU trigger though

#

how to set that up is explained in the warning of the trigger. in this case you'd add SPELL_ABSORBED, SPELL_AURA_APPLIED, SPELL_AURA_REMOVED to the filter, since that's all the aura uses

mild vault
mild vault
glossy chasm
#

you don't put anything into custom code

#

you change the Event(s) box, it is explained in the tooltip

mild vault
glossy chasm
#

CLEU:SPELL_ABSORBED:SPELL_AURA_APPLIED:SPELL_AURA_REMOVED

#

Like that, as your only thing in the events box

#

Just CLEU (short for COMBAT_LOG_EVENT_UNFILTERED) will run your trigger function on any combat log event. Meaning hundreds of times a second in raid.

#

The code itself will only ever do stuff according to those 3 events anyways, since it checks for those, but just the function being called and anything that exists outside of those 3 if checks is already a completely unnecessary performance drain

mild vault
#

and before

#

think it helped, did it?

glossy chasm
#

Less total time spent in it, since it runs the trigger func less often

#

So that makes sense yes

#

The total peak (on the right) is gonna be roughly the same all the time, since when it does stuff it does the same as beforen