Working on a totem aura

hello,

been working on a weakaura to display enemy totem uptime. The problem im running into is that some of these totems; for example healing tide totem or tremor totem do not grant a buff.

I can create an icon that pops up as soon as a specific totem is placed. Since there is no buff on enemy players I can only set up a duration. Lets say 10 seconds. But this would not account for the case that these totems get destroyed before they actually expire and the aura would still show the full set duration of 10 seconds even tho this totem might not even be active anymore.

How would I track totems that do not grant a buff? I assume I need a custom event trigger for this. How would that look like? I found API functions like:

DestroyTotem(slot)

PLAYER_TOTEM_UPDATE

Probably not what I need but thats what ive found, anyone here that can help me out?

Since neither of these have any unit arguments, I would assume they are only used for your own totems. You can use /etrace and check if you see any of those events happen, but I expect not.

If it can be found anywhere, it’s probably as a combat log event. Those are not shown in the etrace tool, but you can add them with something like this. This can get spammy and start lagging the interface real quick though.

/run EventRegistry:RegisterFrameEventAndCallback("COMBAT_LOG_EVENT_UNFILTERED", function() EventRegistry:TriggerEvent("CombatLogEvent",  CombatLogGetCurrentEventInfo()) end)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.