Hi,
I'm trying to mess with unit auras and code below does nothing for me.
I'm talking classic wow.
Can i do that somehow?
I tried with hooksecurefunc but that works on target and player... not on pet... at least I couldn't find anything.
Question is: can I track pet auras as an event?
Thank you
Code:
local Pet()
print("function)
end
local Target()
print("function)
end
local f = CreateFrame("Frame")
frame:RegisterUnitEvent("UNIT_AURA", "pet")
frame:SetScript("OnEvent", Pet)
local f = CreateFrame("Frame")
frame:RegisterUnitEvent("UNIT_AURA", "target")
frame:SetScript("OnEvent", Target)
THIS WORKS ... but there is nothing to track pet auras similar to this (or?)
hooksecurefunc("TargetFrame_UpdateAuras", Target)